libolt
08-02-2008 18:33:09
I'm afraid I'm running into another issue with the latest SVN update. GCC seems to be having trouble finding the definition of the QuickGUI::Panel class even though QuicKGUIPanel.h is included in QuickGUISheet.h
Also I have been working on setting up Visual Studio 2008 on my windows boxes as my default compiler. So naturally I'm trying to make it work with the CMake build system. Well I am getting a very similar error with VC++ as well. This is building via NMake.
If I import the project files into visual studio 2008 everything builds properly.
Cheers,
Mike
/usr/bin/c++ -DQuickGUI_EXPORTS -fPIC -I/home/libolt/builds/quickgui/QuickGUI/src/../include -I/home/libolt/builds/quickgui/QuickGUI/src/-DOGRE_GUI_gtk -I/home/libolt/builds/quickgui/QuickGUI/src/-DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -o QuickGUI/src/CMakeFiles/QuickGUI.dir/QuickGUIProgressBar.o -c /home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp
/home/libolt/builds/quickgui/QuickGUI/src/../include/QuickGUISheet.h:21: error: invalid use of undefined type ‘struct QuickGUI::Panel’
/home/libolt/builds/quickgui/QuickGUI/src/../include/QuickGUIForwardDeclarations.h:54: error: forward declaration of ‘struct QuickGUI::Panel’
/home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp: In member function ‘void QuickGUI::ProgressBar::_modifyBarTexture(float)’:
/home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp:118: warning: converting to ‘int’ from ‘float’
/home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp:120: warning: converting to ‘int’ from ‘float’
/home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp:156: warning: converting to ‘int’ from ‘float’
/home/libolt/builds/quickgui/QuickGUI/src/QuickGUIProgressBar.cpp:158: warning: converting to ‘int’ from ‘float’
make[2]: *** [QuickGUI/src/CMakeFiles/QuickGUI.dir/QuickGUIProgressBar.o] Error 1
make[2]: Leaving directory `/home/libolt/builds/quickgui'
make[1]: *** [QuickGUI/src/CMakeFiles/QuickGUI.dir/all] Error 2
make[1]: Leaving directory `/home/libolt/builds/quickgui'
make: *** [all] Error 2
Also I have been working on setting up Visual Studio 2008 on my windows boxes as my default compiler. So naturally I'm trying to make it work with the CMake build system. Well I am getting a very similar error with VC++ as well. This is building via NMake.
If I import the project files into visual studio 2008 everything builds properly.
Cheers,
Mike