Can't compile 1.2.01 - LzmaDec.h not found

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
kmieciu
Posts: 2
Joined: Mon Apr 27, 2009 18:52

Can't compile 1.2.01 - LzmaDec.h not found

Post 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")
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

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

Post by Rachael »

Have you tried the latest SVN?

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

Try that, instead of the release.
kmieciu
Posts: 2
Joined: Mon Apr 27, 2009 18:52

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

Post 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
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

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

Post 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.
Locked

Return to “GZDoom”