'_Bool' : undeclared identifier

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
VeSCeRa
Gnoblar
Posts: 11
Joined: Tue May 31, 2005 11:46 am
Location: Istanbul / TURKEY

'_Bool' : undeclared identifier

Post by VeSCeRa » Wed Jun 01, 2005 8:11 pm

-------------------Configuration: Demo_Gui - Win32 Release--------------------
Compiling...
Gui.cpp
D:\dev\msdev\VC98\INCLUDE\limits(130) : error C2065: '_Bool' : undeclared identifier
D:\dev\msdev\VC98\INCLUDE\limits(130) : error C2990: 'numeric_limits' : non-template class has already been defined as a template class
D:\dev\msdev\VC98\INCLUDE\limits(75) : see declaration of 'numeric_limits'
D:\dev\msdev\VC98\INCLUDE\iostream(16) : error C2653: 'ios_base' : is not a class or namespace name
D:\dev\msdev\VC98\INCLUDE\iostream(16) : error C2146: syntax error : missing ';' before identifier '_Ios_init'
D:\dev\msdev\VC98\INCLUDE\iostream(16) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Demo_Gui.exe - 5 error(s), 0 warning(s)

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 181
Contact:

Post by jacmoe » Wed Jun 01, 2005 8:14 pm

I just searched this forum for you - found 17 matches for numericlimits. :wink:
And here is one of them:
http://www.ogre3d.org/phpBB2/viewtopic. ... ericlimits
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

VeSCeRa
Gnoblar
Posts: 11
Joined: Tue May 31, 2005 11:46 am
Location: Istanbul / TURKEY

Post by VeSCeRa » Wed Jun 01, 2005 8:15 pm

ok i have also found this :)
Are you using Visual C++ 6 or Visual C++.Net 2002?
If so, you will need to use STLport, which is a standards-compliant version of the C++ Standard Template Library (STL); unfortunately versions of the STL which shipped with versions of Visual C++ before .Net 2003 are not standards compliant. The OGRE project provides a precompiled version of STLport which will work with VC6 and VC.Net 2002; go to the downloads area to get it and install it in the folder of your choice. After installing:

Load the Samples.dsw (VC6) or Samples.sln (VC7) file

Open Microsoft Visual C++ and select Tools | Options... from the menu bar to bring up the options dialog
Go to the include folders list: in VC6 this is on the 'Directories' tab, in VC++.Net it is under Projects|VC++ Directories in the tree on the left
Insert the directory <path_to_STLport-x.x.x>\stlport is at the TOP of your include folders list. Crucially, it MUST be above all Microsoft include folders.
Insert the directory <path_to_STLport-x.x.x>\lib into your library folder list.
Once you have your development environment configured, just perform a Batch Build of the solution / workspace to build all the samples.

Post Reply