Compiled Waroze but game crashes!

For code related discussions and questions
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

When you build all the libraries, you pick if you want static versions or dynamic (dll). Currently, I have them all using static, except for SDL (1.2.15 is out BTW).
Anyway, you usually pick "Release static build" for all the libs.
Then you copy those libs to the devpkg, and then when you build warzone, it should look there for them.
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

seem i used static variant of theora
theora_static.png
theora_static.png (14.64 KiB) Viewed 5757 times
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

Try this one
Last edited by vexed on 09 Jan 2012, 00:03, edited 1 time in total.
Reason: see other post
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

vexed wrote:Try this one
it works, bullt ok
thank you for helping :)
you attached 1 library, theora includes some another libs, which i used from my theora build, not from devpkg
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

Oh.. heh, forgot.

Here are all the libs.

(note, they may be old, I haven't gotten the time to update them to the newest versions of each yet)
Attachments
libsx86.7z
(1.08 MiB) Downloaded 251 times
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

rebuild succeeded.
it works

but i did not tested running of compiled wz
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: Compiled Waroze but game crashes!

Post by i-NoD »

Reg312 wrote:rebuild succeeded.
it works

but i did not tested running of compiled wz
3 pages of try'n'fix and you didn't run it when you finally build it? :wheee:
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

be patient, i'm new in building wz and open-source projects ;)
if someone can say or give link how get built wz to work is will be helpful
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: Compiled Waroze but game crashes!

Post by i-NoD »

Reg312 wrote:be patient, i'm new in building wz and open-source projects ;)
if someone can say or give link how get built wz to work is will be helpful
Umm... I'm a bit lost...
You got that Warzone2100.exe, right? Simply run it with correct datadir param.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

Hmm ?
My process:
Install git, pull down repo, make devpkg (all libs / headers), load up solution file, compile, and then run.
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

first run failed, some dll's not found, building zlib and libpng15
update: it just run, switches to fullscreen mode and then just crash
where i can see error messages?
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

Reg312 wrote:first run failed, some dll's not found, building zlib and libpng15
update: it just run, switches to fullscreen mode and then just crash
where i can see error messages?
What do you mean ?
Are you running it within MSVC, or standalone ?
It should output all STDOUT/STDERR to the logs though.
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: Compiled Waroze but game crashes!

Post by i-NoD »

Reg312 wrote:first run failed, some dll's not found, building zlib and libpng15
update: it just run, switches to fullscreen mode and then just crash
where i can see error messages?
IIRC MSVC builds logs all messages by default into standard win debugging system. You could launch game in debug mode with MSVC or you can use WinDbg (which requires more mastery than MSVC) to intercept them. Alternatively you could tweak wz-debug subsystem, so it would redirect messages into logs file, like mingw builds.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Compiled Waroze but game crashes!

Post by vexed »

i-NoD wrote:
Reg312 wrote:first run failed, some dll's not found, building zlib and libpng15
update: it just run, switches to fullscreen mode and then just crash
where i can see error messages?
IIRC MSVC builds logs all messages by default into standard win debugging system. You could launch game in debug mode with MSVC or you can use WinDbg (which requires more mastery than MSVC) to intercept them. Alternatively you could tweak wz-debug subsystem, so it would redirect messages into logs file, like mingw builds.
Already did this, all build systems will write out all STDERR/STDOUT to log files.
/facepalm ...Grinch stole WarzoneπŸ™ˆπŸ™‰πŸ™Š contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Compiled Waroze but game crashes!

Post by Reg312 »

vexed wrote:
Are you running it within MSVC, or standalone ?
[/quote]

tried run by both ways with same result.
Post Reply