Page 1 of 1

Can't compile 1.2.01 - LzmaDec.h not found

Posted: Mon Apr 27, 2009 19:03
by kmieciu
I can't compile 1.2.01 on linux. Error is:

Code: Select all

[ 33%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/i_main.o
In file included from /home/vktgz/tgz/gzdoom/src/w_wad.h:26,
                 from /home/vktgz/tgz/gzdoom/src/sdl/i_main.cpp:56:
/home/vktgz/tgz/gzdoom/src/files.h:7:21: error: LzmaDec.h: Nie ma takiego pliku ani katalogu
In file included from /home/vktgz/tgz/gzdoom/src/w_wad.h:26,
                 from /home/vktgz/tgz/gzdoom/src/sdl/i_main.cpp:56:
/home/vktgz/tgz/gzdoom/src/files.h:261: error: ‘CLzmaDec’ does not name a type
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/i_main.o] B??d 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] B??d 2
make: *** [all] B??d 2
Error is in zdoom target, lzma targed builds fine. I can compile zdoom 2.3.1 without any problems.
("Nie ma takiego pliku ani katalogu" means "No such file or directory")

Re: Can't compile 1.2.01 - LzmaDec.h not found

Posted: Mon Apr 27, 2009 21:44
by Rachael
Have you tried the latest SVN?

# svn checkout http://mancubus.net/svn/hosted/gzdoom/trunk

Try that, instead of the release.

Re: Can't compile 1.2.01 - LzmaDec.h not found

Posted: Tue Apr 28, 2009 18:52
by kmieciu
SVN version compiles but does not work - crashes with Integer divide by zero (signal 8). I'm going back to 1.2.00

Re: Can't compile 1.2.01 - LzmaDec.h not found

Posted: Tue Apr 28, 2009 19:01
by Rachael
Go back to the SVN version, and add this file:

http://sp.drdteam.org/GZDoom-r323-modif ... hanged.zip

Overwrite your existing files with it. It has a few of ZDoom's newer changes ported over, including fixing the divide by zero error.

It is a custom release though, use GZDoom's default v_video.cpp and m_options.cpp if you don't want these customizations. The customizations came from here: Anamorphic widescreen suggestion. It also does not have the improved resource handling. This build has been created as a temporary "standby" release of GZDoom until Graf gets a little more time to update and patch things up.