STLport-4.6.2\stlport\stl\debug\_vector.h(144):fatal error

Problems building or running the engine, queries about how to use features etc.
User avatar
snipexv
Halfling
Posts: 66
Joined: Thu Jan 27, 2005 3:20 pm

STLport-4.6.2\stlport\stl\debug\_vector.h(144):fatal error

Post by snipexv »

Hey,
During the humble beginnings tutorial, when I add the skyplane .cpp and .h files and build I get the following errors :

STLport-4.6.2\stlport\stl\debug\_vector.h(144):fatal error
C1190: managed targeted code requires '#using <mscorlib.dll>'
and '/clr' option

and

STLport-4.6.2\stlport\stl\debug\_vector.h(144):fatal error C3630:
error when processing the token '__value'


I'm using VS .NET 2003 and I read in one of the forums entries that I should use STLport anyways, but to make the VC 7.1 version. When I made STLport the library(lib) folder was there, but there wasn't an include folder. What am I supose to include in VC++ .Net, I'm currently inlcuding the 'stlport' folder. Is this where I went wrong or is it something else. Thank you, snipxv

One other thing. The sample skyplane runs fine, so one thing I suspect is an incorrect link. I followed the tutorial directions for setting up the project properties and double check them to find them exact. Does using a different version of STLport change that?
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8

Post by haffax »

Never seen this error before with Ogre. but you probably chose the wrong project type. You must not use the managed extensions. Create your project as a Win32 application.

If you did, look if you somewhere defined a class with __gc directive or if you used some other managed extensions inside your application. Remove them.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
snipexv
Halfling
Posts: 66
Joined: Thu Jan 27, 2005 3:20 pm

Post by snipexv »

Hey,
Thanks for your reply. I went and played with it some more and when I got rid of STLport and rebuilt Ogre that problem was fixed, but, now I have a new problem. I can compile my "space" tutorial but after I've selected my display display driver the skybox will start, but then will immediately close. I seem to have done the tutorial steps correctly, does this problem sound familiar. I've haven't looked into it much yet, but I thought someone might be able to save me some time. Thanks!