compile problem

danx0r

06-09-2008 21:52:03

I'm getting the following error compiling ogre. generate_code seems to have completed without error, but the scons compile complains about missing MEMCATEGORY_GENERAL.

This is with recent ogre from svn, but I get the same error with 1.6. Any help appreciated.

-danx0r


-> scons PROJECTS=ogre
scons: Reading SConscript files ...
module_dir: C:\bench\python-ogre\pogre
BASE_DIR: C:\bench\python-ogre
Building ogre
scons: done reading SConscript files.
scons: Building targets ...
cl /nologo /nologo -Zm200 /W3 /wd4675 /TP /MD /Zc:forScope /EHs /c /Ox /Ob2 /Oi /Ot /Oy /GS- /GR -DBOOST_PYTHON_MAX_ARITY=19 /TP /IC:\bench\python-ogr
e\prereqs\boost\boost_1_34_1 /IC:\bench\python-ogre\ogre\OgreMain\include /IC:\Python25\include /IC:\bench\python-ogre\prereqs\boost\boost_1_34_1 /c g
enerated\ogre_1.7\buildpch.cpp /Fogenerated\ogre_1.7\buildpch.obj /Ycpython_ogre_precompiled.h /Fpgenerated\ogre_1.7\buildpch.pch
buildpch.cpp
cl /nologo /nologo -Zm200 /W3 /wd4675 /TP /MD /Zc:forScope /EHs /c /Ox /Ob2 /Oi /Ot /Oy /GS- /GR -DBOOST_PYTHON_MAX_ARITY=19 /TP /IC:\bench\python-ogr
e\prereqs\boost\boost_1_34_1 /IC:\bench\python-ogre\ogre\OgreMain\include /IC:\Python25\include /IC:\bench\python-ogre\prereqs\boost\boost_1_34_1 /c g
enerated\ogre_1.7\AliasTextureIterator.pypp.cpp /FoC:\temp\build_dir_2.5\ogre_1.7\AliasTextureIterator.pypp.obj /Yupython_ogre_precompiled.h /Fpgenera
ted\ogre_1.7\buildpch.pch
AliasTextureIterator.pypp.cpp
cl /nologo /nologo -Zm200 /W3 /wd4675 /TP /MD /Zc:forScope /EHs /c /Ox /Ob2 /Oi /Ot /Oy /GS- /GR -DBOOST_PYTHON_MAX_ARITY=19 /TP /IC:\bench\python-ogr
e\prereqs\boost\boost_1_34_1 /IC:\bench\python-ogre\ogre\OgreMain\include /IC:\Python25\include /IC:\bench\python-ogre\prereqs\boost\boost_1_34_1 /c g
enerated\ogre_1.7\AlignedMemory.pypp.cpp /FoC:\temp\build_dir_2.5\ogre_1.7\AlignedMemory.pypp.obj /Yupython_ogre_precompiled.h /Fpgenerated\ogre_1.7\b
uildpch.pch
AlignedMemory.pypp.cpp
cl /nologo /nologo -Zm200 /W3 /wd4675 /TP /MD /Zc:forScope /EHs /c /Ox /Ob2 /Oi /Ot /Oy /GS- /GR -DBOOST_PYTHON_MAX_ARITY=19 /TP /IC:\bench\python-ogr
e\prereqs\boost\boost_1_34_1 /IC:\bench\python-ogre\ogre\OgreMain\include /IC:\Python25\include /IC:\bench\python-ogre\prereqs\boost\boost_1_34_1 /c g
enerated\ogre_1.7\AllocatedObjectMemCategory_0.pypp.cpp /FoC:\temp\build_dir_2.5\ogre_1.7\AllocatedObjectMemCategory_0.pypp.obj /Yupython_ogre_precomp
iled.h /Fpgenerated\ogre_1.7\buildpch.pch
AllocatedObjectMemCategory_0.pypp.cpp
generated\ogre_1.7\AllocatedObjectMemCategory_0.pypp.cpp(12) : error C2065: 'MEMCATEGORY_GENERAL' : undeclared identifier
generated\ogre_1.7\AllocatedObjectMemCategory_0.pypp.cpp(12) : error C3203: 'CategorisedAllocPolicy' : unspecialized class template can't be used as a
template argument for template parameter 'Alloc', expected a real type
scons: *** [C:\temp\build_dir_2.5\ogre_1.7\AllocatedObjectMemCategory_0.pypp.obj] Error 2
scons: building terminated because of errors.
->

danx0r

06-09-2008 23:34:45

I'm now trying the automatic build. I previously tried this on Linux and in both cases I get an error because http://downloads.sourceforge.net/boost/ ... _37.tar.gz doesn't exist.

andy

07-09-2008 00:36:15

Please use the Google mailing list for compile/build issues as this willget you a quicker response.

Regards
Andy

danx0r

18-09-2008 20:25:39

just fyi I posted some pretty concise concrete questions about my build problems on Windows at groups.google.com/python-ogre about 2 weeks ago, and I haven't had a single response yet.

I thiink this project could benefit from a somewhat more robust community. Is there an IRC channel for developers yet for instance?

-danx0r

andy

19-09-2008 02:06:59

I thought we'd fixed your install issues, and my focus has been on getting the 1.6.0RC1 release out(only a limited set of free hours in a week)

This issue you raised on the google list didn't have enough details for me to comment against (admittily I didn't get back to you about it) - Perhaps you could expand on.. errors regarding kernel32.lib, as well as other files
If you have compile specific issues do report them on the google list and by all means send a ping email there if you haven't had a response in a timely fashion.

regards
Andy