Search found 2 matches

by lxx_13253530485
Fri Jul 30, 2021 1:30 am
Forum: Plugins
Topic: getPickedPoints
Replies: 11
Views: 8902

Re: getPickedPoints

Thank you very much!

you are right! My problem is due to relative path.

I did't write "include( CMakePolicies NO_POLICY_SCOPE )" in my cmakeLists.txt, so my plugin project didn't have ccPickingHub source files. Now it's back to normal.
by lxx_13253530485
Thu Jul 29, 2021 6:21 am
Forum: Plugins
Topic: getPickedPoints
Replies: 11
Views: 8902

Re: getPickedPoints

ccPickingHub* ph = m_app->pickingHub(); ph->addListener(this, true, true, ccGLWindow::POINT_PICKING); When I use addListener(),vs does not recognize this external symbol at compile time. Do I need to add a library ? This is a part of my cmakeList: # we need includes from the main CC source dir incl...