PlaneShift

Development => Development Deliberation => VisualC++ => Topic started by: ouch on February 04, 2008, 10:24:18 pm

Title: server crashing at spawn command
Post by: ouch on February 04, 2008, 10:24:18 pm
libcal3d-csvc9.dll crashes when you issue the spawn command on the server. I followed the compile guide all the way through up to this point.

note that I'm useing the latest CS,CEL trunkss and the latest CSwin32lib installs as directed in my previous post.
Title: Re: server crashing at spawn command
Post by: ouch on February 07, 2008, 03:57:24 am
well thanks to the overwhelming support here, I finally figured it out on my own with trial and error... :thumbdown:
Title: Re: server crashing at spawn command
Post by: peeg on February 07, 2008, 05:35:55 am
Maybe you shoud join #planeshift-build on freenode when you have problems. There are usually people hanging around that can help. Be patient though, not everyone's watching his IRC-Client all the day ;)
How did you solve the problem? Share your solution so others that run into the same problem can solve it faster.

Anyway:  ":thumbdown:" seem pretty harsh to me. You didn't provide any real info about your problem like exact error messages or other output. It's very hard to help in that case.
Title: Re: server crashing at spawn command
Post by: ouch on February 07, 2008, 12:33:07 pm
I got it to work compileing the C++ Version 8 of everything as the VC++ version 9 of planeshift seems to have bugs with the compiled VC++ version 9 of crystalspace. Almost everything compiles fine, but planeshift doesn't seem to be able to make the generated crystalspace DLL's work. However the demo apps with crystalspace work just fine reguardless of version so I'm assuming it must be planeshifts problem.
Title: Re: server crashing at spawn command
Post by: acraig on February 07, 2008, 04:05:03 pm
Differences between MSFT Visual C++ versions can be a bit of a pain sometimes. 
Title: Re: server crashing at spawn command
Post by: BlackDogSpark on October 10, 2008, 11:52:29 am
I had the same problem, but then I changed the build to debug with dll for both cs and ps. after that it worked just fine. I did notice that when building cs with release with dll it throws 5 errors. with debug i only got 1 and it were some test app.
Hope this helps others trying to build with VC9.
Title: Re: server crashing at spawn command
Post by: ThomPhoenix on October 10, 2008, 12:13:22 pm
It's very likely a configuration issue, since MSVC 9 (2008) works perfectly here and has done so since its release.
I can do nothing but advise to closely follow the building guide ;)
Title: Re: server crashing at spawn command
Post by: BlackDogSpark on October 10, 2008, 05:30:28 pm
Yes mine work's with debug, but don't know why it wont with release. I'm preatty sure it is only something to do with cs, but hey someone more wise can tell more on that. Oh and I did not try so that I compile cs with debug and ps as release so that might also work. Well anyways ps is unfinished so I think it should be build with debug option.
Title: Re: server crashing at spawn command
Post by: Caarrie on October 10, 2008, 05:35:47 pm
for right now, ps and cs _must_ both be built in debug or release not a mixture of both or you run into issues with getting ps to work correctly.
Title: Re: server crashing at spawn command
Post by: BlackDogSpark on October 10, 2008, 06:10:19 pm
Well mine works only with debug but not with release.
Title: Re: server crashing at spawn command
Post by: Lanarel on October 11, 2008, 04:20:48 am
Your crash was in a cal3d lib. It could be that there is no release compatible version of that library. There is the possibility to create that library yourself, although I do not remember now where to get the code.
Title: Re: server crashing at spawn command
Post by: BlackDogSpark on October 30, 2008, 02:44:21 pm
Ok tryed with my own compiled cal3d lib and still no go. Spawn command crashes the server :@#\