Skip to content

Compilation error on Linux #2

@Emeraude

Description

@Emeraude

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions