cmake problem

tdev

06-07-2009 12:48:27

with latest svn head:

CMake Error in libs/my-gui/MyGUIEngine/CMakeLists.txt:
Cannot find source file "MyGUI_PointerInfo.h". Tried extensions .c .C .c++
.cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

i guess some refactoring was done and some files were deleted and the cmake file list was not updated?

edit: removing "MyGUI_PointerInfo.h" form the list fixes the problem
edit2: but then fails to link:

1> Creating library MyGUIEngine.lib and object MyGUIEngine.exp
1>MyGUI_PointerManager.obj : error LNK2019: unresolved external symbol "public: __thiscall MyGUI::ImageSetPointer::ImageSetPointer(void)" (??0ImageSetPointer@MyGUI@@QAE@XZ) referenced in function "private: static void __cdecl MyGUI::GenericFactory<class MyGUI::ImageSetPointer>::createFromFactory(class MyGUI::IObject * &)" (?createFromFactory@?$GenericFactory@VImageSetPointer@MyGUI@@@MyGUI@@CAXAAPAVIObject@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ManualPointer::deserialization(class MyGUI::xml::Element *,struct MyGUI::Version)" (?deserialization@ManualPointer@MyGUI@@UAEXPAVElement@xml@2@UVersion@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ManualPointer::setImage(class MyGUI::StaticImage *)" (?setImage@ManualPointer@MyGUI@@UAEXPAVStaticImage@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ManualPointer::setPosition(class MyGUI::StaticImage *,struct MyGUI::types::TPoint<int> const &)" (?setPosition@ManualPointer@MyGUI@@UAEXPAVStaticImage@2@ABU?$TPoint@H@types@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ImageSetPointer::deserialization(class MyGUI::xml::Element *,struct MyGUI::Version)" (?deserialization@ImageSetPointer@MyGUI@@UAEXPAVElement@xml@2@UVersion@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ImageSetPointer::setImage(class MyGUI::StaticImage *)" (?setImage@ImageSetPointer@MyGUI@@UAEXPAVStaticImage@2@@Z)
1>MyGUI_PointerManager.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MyGUI::ImageSetPointer::setPosition(class MyGUI::StaticImage *,struct MyGUI::types::TPoint<int> const &)" (?setPosition@ImageSetPointer@MyGUI@@UAEXPAVStaticImage@2@ABU?$TPoint@H@types@2@@Z)
1>C:\data\ror-sf\branches\ror_ogre_head\build\libs\my-gui\bin\Release\MyGUIEngine.dll : fatal error LNK1120: 7 unresolved externals

Altren

06-07-2009 15:24:55

Fixed

tdev

06-07-2009 16:00:42

Fixed
thank you!