PlaneShift
Development => Development Deliberation => VisualC++ => Topic started by: ouch 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.
-
Trunk CS+CEL, latest revision.
-
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...
-
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?
-
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.
-
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?
-
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.
-
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?
-
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).
-
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.
-
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.
-
I was trying debug,debug,debug and no joy -- Release,release, release worked.