Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on Linux #2

Open
Emeraude opened this issue Mar 31, 2020 · 0 comments
Open

Compilation error on Linux #2

Emeraude opened this issue Mar 31, 2020 · 0 comments

Comments

@Emeraude
Copy link

I'm trying to build the game using the following commands :

swfmake -f loader.xml
swfmake -f swfmake.xml 

Both those commands fail, with errors related to the zlib compression.
Here are more detailed information I got while using the verbose option of the compiler:

> swfmake -v -f swfmake.xml 2>&1 | tail
Typing entity.Item.init
Typing entity.bad.Walker.onHitWall
Typing mode.Editor.onPanDown
Typing entity.bad.Walker.onNext
Typing entity.item.SpecialItem.new
Typing mode.Editor.onPanUp
Time spent : 0.231916
Reading swf file swf/_code.swf
Reading swf file swf/_gfx.swf
Error : zlib_inflat
> swfmake -v -f loader.xml 2>&1 | tail
Typing Loader.musicLoadDone
Typing Loader.gameLoadDone
Typing Loader.loadMusic
Typing Loader.initLoader
Time spent : 0.006399
Reading swf file swf/_loader.swf
Reading swf file swf/_loadercode.swf
merging
Saving swf/loader.swf
Error : zlib_deflate_end

In both those examples the zlib functions are returning -1 but there ain't an error message to explain what's going on.

A workaround I found is to completely disable compression (by editing the makefiles and the swf files included in swfmake.xml) but I don't think it's a solution we should rely on.

Distribution: Debian 10/ArchLinux
Zlib version: 1.2.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant