ETL LInux compile problems


15-10-2008 09:37:55

I just downloaded ETL via subversion and tried to build it.

The library itself built without problems :).

The sample program however had issues. The CMake configuration sets up the CEGUI include path as <whatever>/include/CEGUI. This worrks fine for your modules. However, the OGRE headers that you include try to include things like <CEGUI/CEGUIBase.h>. gcc version 4.2.3 seems to take issue with this and says it can't find the headers. Looks like its searching for the CEGUI directory under <whatever>/inlcude/CEGUI.

I really like the ETM add on so I expect to be at least as pleased once I start playing with ETL. Great work - thank you.


15-10-2008 11:17:11

Hm, that can't be right. Standard OGRE headers don't include CEGUI at all, since it's not an Ogre dependency. So in the (new) sample only my own files include CEGUI, and they dont' prepend a directory to those includes. At that matter, I'm successfully building and running the sample on Linux, as it's right now my primary playground for developing ETL.
So, if you could investigate further and find out what's going on, I'd be very grateful. :)

Having said that, I would advise you to wait a week or two before diving into ETL. I'm currently back on developing, and I think in the next two weeks it might actually come close to a beta stage, so it would be much more usable. Right now it has some quirks and bugs and incomplete features that I'm in the process of fixing.


16-10-2008 02:48:05

Well, not part of the Ogre core perhaps, however...

Scanning dependencies of target ETSample
[ 70%] Building CXX object build/sample/CMakeFiles/ETSample.dir/main.o
[ 75%] Building CXX object build/sample/CMakeFiles/ETSample.dir/Application.o
[ 80%] Building CXX object build/sample/CMakeFiles/ETSample.dir/GUIManager.o
In file included from /tools/src/etl/sample/GUIManager.cpp:10:
/tools/include/OGRE/OgreCEGUIRenderer.h:32:29: error: CEGUI/CEGUIBase.h: No such file or directory
/tools/include/OGRE/OgreCEGUIRenderer.h:33:33: error: CEGUI/CEGUIRenderer.h: No such file or directory
/tools/include/OGRE/OgreCEGUIRenderer.h:34:32: error: CEGUI/CEGUITexture.h: No such file or directory
make[2]: *** [build/sample/CMakeFiles/ETSample.dir/GUIManager.o] Error 1
make[1]: *** [build/sample/CMakeFiles/ETSample.dir/all] Error 2
make: *** [all] Error 2


16-10-2008 03:35:49

Ah right, didn't think of the CEGUIRenderer. Ok thanks, I'll see to fixing this.