txikomb
11-09-2006 23:05:05
Hi guys,
I have already finished a demo of my program and I wanted now to build a release version. The debug version works and compiles smoothly, no probs at all. However, when I try to compile de release version I get the next erros, all of them in the OSMScene files:
The problems is the BOOL type (with its values TRUE and FALSE). "bHandled" is a BOOL variables btw. Have you got any idea??
I tried to include either "mapinsl.h", "mqoai.h" or "windef.h" (the files that supposedly declare this type) but the results are more complex and I get more abstract errors that give me a hint about that's not the solution. I guess it should be something related to the project configuration, but what? O_O
If u could help me, it would be really appreciated. Thanks a lot in advance guys!!
I have already finished a demo of my program and I wanted now to build a release version. The debug version works and compiles smoothly, no probs at all. However, when I try to compile de release version I get the next erros, all of them in the OSMScene files:
c:\Ogre Tutorials\Demo_oSceneLoader\include\OgreOSMScene.h(75): error C2061: syntax error : identifier 'BOOL'
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(176): error C2065: 'BOOL' : undeclared identifier
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(176): error C2146: syntax error : missing ';' before identifier 'bHandled'
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(176): error C2065: 'bHandled' : undeclared identifier
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(176): error C2065: 'FALSE' : undeclared identifier
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(183): error C3861: 'bHandled': identifier not found, even with argument-dependent lookup
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(223): error C3861: 'bHandled': identifier not found, even with argument-dependent lookup
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(507): error C2061: syntax error : identifier 'BOOL'
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(604): error C2065: 'TRUE' : undeclared identifier
C:\Ogre Tutorials\Demo_oSceneLoader\src\OgreOSMScene.cpp(604): error C3861: 'bHandled': identifier not found, even with argument-dependent lookup
c:\Ogre Tutorials\Demo_oSceneLoader\include\OgreOSMScene.h(75): error C2061: syntax error : identifier 'BOOL'
The problems is the BOOL type (with its values TRUE and FALSE). "bHandled" is a BOOL variables btw. Have you got any idea??
I tried to include either "mapinsl.h", "mqoai.h" or "windef.h" (the files that supposedly declare this type) but the results are more complex and I get more abstract errors that give me a hint about that's not the solution. I guess it should be something related to the project configuration, but what? O_O
If u could help me, it would be really appreciated. Thanks a lot in advance guys!!