Author Topic: so what do we need to compile on VC++ 9?  (Read 3717 times)

ouch

  • Traveller
  • *
  • Posts: 25
    • View Profile
so what do we need to compile on VC++ 9?
« on: February 03, 2008, 02:54:13 am »
I read some posts that we need to get a different crystal space version, but I didn't see which one we actually needed. Or if that is all we needed.

Xordan

  • Moderator
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #1 on: February 03, 2008, 06:34:35 am »
Trunk CS+CEL, latest revision.

ouch

  • Traveller
  • *
  • Posts: 25
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #2 on: February 04, 2008, 11:54:30 am »
yep, everything but crystalspace's "fancycon" compiles. (takeing that up with the CS support people at the moment) now it's just a matter of getting all the crap planeshift's compiled exe's need to work...

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #3 on: February 24, 2008, 10:43:58 pm »
I've tried this, CS and CEL compile ok. Planeshift is a mess though. I assume I should use the latest pre-built CS win Libs i.e. 1.3 003?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: so what do we need to compile on VC++ 9?
« Reply #4 on: February 25, 2008, 07:18:21 am »
I've tried this, CS and CEL compile ok. Planeshift is a mess though. I assume I should use the latest pre-built CS win Libs i.e. 1.3 003?

all sources/packages you use have to come from 1.3 for right now for cs and cel if you are building with msvc 2008, it will be much easier for you to build if you revert back to msvc 2005.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #5 on: February 26, 2008, 12:06:36 am »
Tried MSVC 2005 with about the same results, 7 projects failed to build... I used Planeshift Stable - is there a particular revision number I need to match the cel and cs revisions in the guide?

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #6 on: February 26, 2008, 01:21:48 pm »
For Stable you should be able to just use the latest revision. You need to make sure to have
-CS 28281
-CEL 3072
From branches/release/V1.2.
With CS Winlib 1.2_002
And always make sure that:
-You have your environment variables set.
-You rebuild CS and then CEL before building PS. (If you change CS or CEL config/revision/winlibs, that is)
-Make sure MSVC is correctly set up with all the includes, libraries, etc.
-Do you have the correct Platform SDK.

If you are 100% sure to meet all those requirements and it still fails, visit #planeshift-build on Freenode (IRC) and ask someone to help you with your errors. Alternatively, if no one is around at that time to help, you can post them here.
We're not evil. We're simply amazing.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #7 on: February 26, 2008, 11:48:55 pm »
Well, it's better but I still get "Error   6   fatal error LNK1104: cannot open file 'libcrystalspace_d.lib'" 

and

"Error   12   fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory   c:\development\planeshift\src\updater\download.cpp"


I'm re-checking my VC setup

I have the Windows Server 2003 R2 PSDK installed. Maybe I need sp1 too?
 


Jonerian

  • Hydlaa Resident
  • *
  • Posts: 102
  • Jonerian Cruentis
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #8 on: February 27, 2008, 12:33:44 am »
That doesn't look like anything special to VC.

You need to set the "lib(rary) path" for the .lib
and the "include path" for the .h file

It's somewhere in the project settings (linker part for the lib and preprocessor part for the include).

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #9 on: February 27, 2008, 10:27:19 am »
Make sure you build in the correct modes!
I have it like this:
CS: Debug.
CEL: Debug.
PS: Debug (with static libs)

Alternatively you can use respectively Release, Release, Release (with static libs ).

Select Solution-->Project-->Configuration Manager-->Check settings.
« Last Edit: February 27, 2008, 10:35:19 am by ThomPhoenix »
We're not evil. We're simply amazing.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: so what do we need to compile on VC++ 9?
« Reply #10 on: February 27, 2008, 10:34:10 am »
for now dont worry about any errors with Curl as curl has been removed for the coming release and is only needed for the old updater that does not work.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: so what do we need to compile on VC++ 9?
« Reply #11 on: February 28, 2008, 08:16:51 am »
I was trying debug,debug,debug and no joy -- Release,release, release worked.