Page 3 of 5

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 22:45
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.

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 22:51
by Reg312
seem i used static variant of theora
theora_static.png
theora_static.png (14.64 KiB) Viewed 6195 times

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 23:20
by vexed
Try this one

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 23:38
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

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 23:39
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)

Re: Compiled Waroze but game crashes!

Posted: 08 Jan 2012, 23:47
by Reg312
rebuild succeeded.
it works

but i did not tested running of compiled wz

Re: Compiled Waroze but game crashes!

Posted: 10 Jan 2012, 02:56
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:

Re: Compiled Waroze but game crashes!

Posted: 10 Jan 2012, 03:35
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

Re: Compiled Waroze but game crashes!

Posted: 10 Jan 2012, 04:31
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.

Re: Compiled Waroze but game crashes!

Posted: 10 Jan 2012, 04:40
by vexed
Hmm ?
My process:
Install git, pull down repo, make devpkg (all libs / headers), load up solution file, compile, and then run.

Re: Compiled Waroze but game crashes!

Posted: 10 Jan 2012, 12:04
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?

Re: Compiled Waroze but game crashes!

Posted: 12 Jan 2012, 04:04
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.

Re: Compiled Waroze but game crashes!

Posted: 12 Jan 2012, 22:22
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.

Re: Compiled Waroze but game crashes!

Posted: 13 Jan 2012, 04:09
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.

Re: Compiled Waroze but game crashes!

Posted: 13 Jan 2012, 04:13
by Reg312
vexed wrote:
Are you running it within MSVC, or standalone ?
[/quote]

tried run by both ways with same result.