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.
->
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.
->