c++ - CGAL Qt linker error -


i have problem compile project cgal , qt in visualstudio 2013. try demo app of polyhedron in cgal demos , after try move scene own qt project.

errors like:

error lnk2001: unresolved external symbol "public: static struct qmetaobject const cgal::three::viewer_interface::staticmetaobject" (?staticmetaobject@viewer_interface@three@cgal@@2uqmetaobject@@b) ...\scene_polyhedron_item.obj

error lnk2001: unresolved external symbol "public: static class qcolor const cgal::three::scene_item::defaultcolor" (?defaultcolor@scene_item@three@cgal@@2vqcolor@@b) ...\scene_polyhedron_item.obj

  • qt: 5.5
  • cgal: 4.8.beta-1
  • visualstudio: 2013 x64

linker input :

  • c:\qt\5.5\msvc2013_64\lib\qt5core.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5gui.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5opengl.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5openglextensions.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5widgets.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5svg.lib
  • c:\qt\5.5\msvc2013_64\lib\qt5xml.lib
  • cgal_qt5-vc120-mt-4.8.lib
  • c:\qt\5.5\msvc2013_64\lib\qtmain.lib

moc_* files generated every build

thanks advice.

problem in preprocesor constant of lib ... set export, have import.

so working, jus


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -