stlport problem despite Visual C++ .NET 2003

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
moramatte
Gnoblar
Posts: 11
Joined: Mon Jun 06, 2005 1:40 pm

stlport problem despite Visual C++ .NET 2003

Post by moramatte »

When I try to run my first application (tutorial 1), I get a message saying that stlport_vc7_stldebug46.dll cannot be found.

I am using VC .Net 2003.
Any suggestions?

User avatar
DaesDemon
Goblin
Posts: 209
Joined: Thu Jan 22, 2004 3:59 pm
Location: Toulouse (France)

Post by DaesDemon »

Normally with VS2003 you shouldn't need the STL port as the std lib included in VS2003 is correct.

So it seems that you make a link to a stl port library but you shouldn't.

Try to verify your linked library and remove stlport from them.

I can think only that for now, but i am not at the top of my abilities (Sunday morning 8) )
Every Night and every Morn
Some to Misery are born.
Every Morn and every Night
Some are born to Sweet Delight,
Some are born to Endless Night.

moramatte
Gnoblar
Posts: 11
Joined: Mon Jun 06, 2005 1:40 pm

Post by moramatte »

I have no references to stlport anywhere in my project.
I can run the sample projects just fine, and i can build my own.
But when I try to run it, this pops up :(

User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 6
Contact:

Post by haffax »

This can also come from one of the dependencies of your project. Open your executable with Dependency Walker ( http://www.dependencywalker.com/ ) and see what dll wants to have the stl runtime.

Maybe you just downloaded the wron sdk or wrong dependency package? Very likely actually, since it looks for a vc2002 stlport.
team-pantheon programmer
creators of Rastullahs Lockenpracht

moramatte
Gnoblar
Posts: 11
Joined: Mon Jun 06, 2005 1:40 pm

Post by moramatte »

Dependencywalker says that it is Ogremain_D.dll that is using stlport.
This is strange since it is the SDK for VC .net 2003 that I am using.
(OgreSDKSetup1.0.2_VC71.exe)
More suggestions?

User avatar
LordMyth
Gremlin
Posts: 181
Joined: Thu Jan 06, 2005 10:19 pm
Location: Belgium
Contact:

Post by LordMyth »

You probably have an OGRE lib that is built with stlport... try building OGRE yourself if you use the SDK or so.
Have a kiss from me!
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB

moramatte
Gnoblar
Posts: 11
Joined: Mon Jun 06, 2005 1:40 pm

Post by moramatte »

I don't want to build it myself :)
How come the sample projects run fine?

nfz
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1263
Joined: Wed Sep 24, 2003 4:00 pm
Location: Halifax, Nova Scotia, Canada

Post by nfz »

Its strange that Dependency walker is saying that Ogremain_d.dll is using stlport. I'm the one that built the OgreSDKSetup1.0.2_VC71.exe and I used VC .NET 2003 with no stlport library. All the dependancies come with the SDK(you don't need to download them seperately) and I verified that none of them were built with stlport. If Ogremain_d.dll is using stlport then its not the one from the VC7.1 SDK. Make sure the .dll's are from the VC7.1 SDK. Maybe you copied the wrong dll's from another ogre build you had on your machine.

Post Reply