Author Topic: Missing .lib files in PS build  (Read 3018 times)

aersixb9

  • Traveller
  • *
  • Posts: 25
  • Prospective
    • View Profile
Missing .lib files in PS build
« 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?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Missing .lib files in PS build
« Reply #1 on: January 15, 2008, 09:46:22 am »
What version of msvc are you using?

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
Re: Missing .lib files in PS build
« Reply #2 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. )
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

aersixb9

  • Traveller
  • *
  • Posts: 25
  • Prospective
    • View Profile
Re: Missing .lib files in PS build
« Reply #3 on: January 15, 2008, 10:31:18 am »
What version of msvc are you using?

The new version, 2008 express C++

aersixb9

  • Traveller
  • *
  • Posts: 25
  • Prospective
    • View Profile
Re: Missing .lib files in PS build
« Reply #4 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!

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Missing .lib files in PS build
« Reply #5 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.

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Missing .lib files in PS build
« Reply #6 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.
We're not evil. We're simply amazing.

Lanarel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 782
    • View Profile
Re: Missing .lib files in PS build
« Reply #7 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.

Xordan

  • Moderator
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Missing .lib files in PS build
« Reply #8 on: January 15, 2008, 02:00:13 pm »
curl isn't part of the win32 libs, you have to download that yourself.

Lanarel

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 782
    • View Profile
Re: Missing .lib files in PS build
« Reply #9 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?

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Missing .lib files in PS build
« Reply #10 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.
We're not evil. We're simply amazing.