I believe my linker settings are correct, and the only things a forum search suggests are an improperly installed STLport (I'm on VC++ 7.0), or a version of OGRE for the wrong compiler. I did confirm that I'm actually using Visual Studio .NET 2002 and that this is the version of OGRE I'm using, but I suspect I've done something wrong with STLport. I ran the installer here. Once I got the unresolved externals, I added /LIBPATH:"C:\STLport-4.6.2\lib" and stlport_vc7_stldebug.lib even though the SettingUpAnApplication on the wiki doesn't say to (I started guessing when I realized it wasn't working) , which are visible in my build log, but without them the output is identical. My build log is here. Hopefully it's just something stupid that I'm overlooking.
Thanks.
I've got 14 unresolved externals.
-
- Gnoblar
- Posts: 5
- Joined: Sat Oct 01, 2005 4:49 am
-
- OGRE Community Helper
- Posts: 766
- Joined: Mon May 16, 2005 12:09 am
http://www.ogre3d.org/wiki/index.php/BuildFAQ
This suggests your libraries are mismatched. Basically you are compiling with different settings (ie /MD, /MT, /MDd...) than the libraries you are linking against. Since you are using ogremain_d.dll and you are using /MDd, are you *sure* you downloaded and are linking against the 7.0 sdk? What is the file name?
Your linker says it can't find the symbols, but apparently is opening the files that the symbols are supposed to be in. That is suspicious.
Why does your build log include this line?
That is also suspicious. Studio 8 == 2005
This suggests your libraries are mismatched. Basically you are compiling with different settings (ie /MD, /MT, /MDd...) than the libraries you are linking against. Since you are using ogremain_d.dll and you are using /MDd, are you *sure* you downloaded and are linking against the 7.0 sdk? What is the file name?
Your linker says it can't find the symbols, but apparently is opening the files that the symbols are supposed to be in. That is suspicious.
Why does your build log include this line?
Code: Select all
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
-
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
-
- Gnoblar
- Posts: 5
- Joined: Sat Oct 01, 2005 4:49 am
-
- Gnoblar
- Posts: 5
- Joined: Sat Oct 01, 2005 4:49 am
Actually, it turned out that I still had the 2005 betas installed, but I don't see why they'd cause a conflict. I've removed them and still get the same errors. Do you really think installing Visual Studio will help? I was kind of hoping that would be a last resort. I still have doubts that I correctly installed/am linking to STLport.
-
- OGRE Community Helper
- Posts: 766
- Joined: Mon May 16, 2005 12:09 am
-
- Gnoblar
- Posts: 5
- Joined: Sat Oct 01, 2005 4:49 am
Of course, this is true. It looks like I'll have to reinstall VC++, and, failing that, compile ogre from source.discipline wrote:Your errors say it can't find ogre symbols. If you had problems with STL then it should say it can't find std symbols (ie std::string). You could try compiling ogre from source. The directions are in the wiki.
I appreciate everyone's suggestions.