autotools build fix/ogre render samples fix
Posted: Fri Jun 22, 2007 11:44
i have provided a link to a patch that fixes the build system in trunk and fixes some other issues. the problem was that the new tree stuff hadnt been added to any Makefile.am files. the object files for the tree code wasnt being linked, and the headers were not being installed. i fixed all this in the patch.
another thing i did in the patch was upgrade the ogre cegui samples to use ois 1.0. i added some macros into acinclude.m4. essentially what happens is when the user wants to build the samples with ogre enabled, it checks for ois using the pkg-config m4 macros. after configure determines if everything is needed to build the ogre renderer samples, it will then check if OIS was found. if it was not, then the entire ogre renderer samples build will be disabled.
i had to make a small change to:
WindowRenderSets/Falagard/src/FalTree.cpp, and
Samples/datafiles/schemes/TaharezLook.scheme.
the scheme file was loading a font which caused problems with one of the demos (it complained the font was being loaded twice, i think it was the FontDemo). the change did not affect the other demos.
ois patch:
http://www.puresimplicity.net/~ldb/ois.patch
makefile patch:
http://www.puresimplicity.net/~ldb/makefile.patch
patch to fix small bug in samples taharezlook.scheme:
http://www.puresimplicity.net/~ldb/taharazlook.scheme.patch
another thing i did in the patch was upgrade the ogre cegui samples to use ois 1.0. i added some macros into acinclude.m4. essentially what happens is when the user wants to build the samples with ogre enabled, it checks for ois using the pkg-config m4 macros. after configure determines if everything is needed to build the ogre renderer samples, it will then check if OIS was found. if it was not, then the entire ogre renderer samples build will be disabled.
i had to make a small change to:
WindowRenderSets/Falagard/src/FalTree.cpp, and
Samples/datafiles/schemes/TaharezLook.scheme.
the scheme file was loading a font which caused problems with one of the demos (it complained the font was being loaded twice, i think it was the FontDemo). the change did not affect the other demos.
ois patch:
http://www.puresimplicity.net/~ldb/ois.patch
makefile patch:
http://www.puresimplicity.net/~ldb/makefile.patch
patch to fix small bug in samples taharezlook.scheme:
http://www.puresimplicity.net/~ldb/taharazlook.scheme.patch