PlaneShift

Development => Development Deliberation => VisualC++ => Topic started by: aersixb9 on January 15, 2008, 09:42:41 am

Title: Missing .lib files in PS build
Post by: aersixb9 on January 15, 2008, 09:42:41 am
I'm at the step of the compilation guide for MSVC for PS where you're supposed to build planeshift and 'copy some dlls into the planeshift directory'...anyways, my linker is complaining about cal3d-vc9.lib (which I cannot seem to locate anywhere...I'm on windows...) and it can't seem to find libcurl.lib either, and I'm not sure where it is. Maybe I'll try building curl again...anyways, does anyone know what to do?
Title: Re: Missing .lib files in PS build
Post by: Caarrie on January 15, 2008, 09:46:22 am
What version of msvc are you using?
Title: Re: Missing .lib files in PS build
Post by: acraig on January 15, 2008, 09:52:42 am
curl is used for grabbing data from an http server.  It's only used in the new updater at the moment.  The cal3d should have been part of the Crystal Space library package download ( unless you are building cal3d yourself. )
Title: Re: Missing .lib files in PS build
Post by: aersixb9 on January 15, 2008, 10:31:18 am
What version of msvc are you using?

The new version, 2008 express C++
Title: Re: Missing .lib files in PS build
Post by: aersixb9 on January 15, 2008, 10:32:40 am
I tried copying the crystal space dlls to the planeshift directory, but that didn't solve the problem...I also tried setting up vs support, but that also did not work! I am still getting the same errors!
Title: Re: Missing .lib files in PS build
Post by: Caarrie on January 15, 2008, 10:51:08 am
1. dont double post and 2. try the 2005 version there might be some libs missing for the updated version since that lib package was made before the 2008 version came out.
Title: Re: Missing .lib files in PS build
Post by: ThomPhoenix on January 15, 2008, 01:33:06 pm
You have to use another version of CS, aersixb9. The version PS uses isn't compatible with MSVC 9. You should make a new checkout of Trunk instead of 1.2 and use that one.
Title: Re: Missing .lib files in PS build
Post by: Lanarel on January 15, 2008, 01:58:24 pm
But would that explain curl and cal3d missing? They should both be installed with the crystal win libs.
Title: Re: Missing .lib files in PS build
Post by: Xordan on January 15, 2008, 02:00:13 pm
curl isn't part of the win32 libs, you have to download that yourself.
Title: Re: Missing .lib files in PS build
Post by: Lanarel on January 15, 2008, 02:40:17 pm
Ah yes you are right of course. Maybe a path in the msvc environment to the location of curl and cs is not set correctly?
Title: Re: Missing .lib files in PS build
Post by: ThomPhoenix on January 15, 2008, 05:08:37 pm
If he uses the old MSVC9-less version of CS and the winlibs, then it makes sense why it wouldn't find cal3d-vc9.lib, since that CS has no VC9 support and thus no xxx-vc9.lib files.