View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0006388 | Spring engine | Linux | public | 2020-05-07 11:53 | 2020-11-02 18:59 | ||||
Reporter | ThinkSome | ||||||||
Assigned To | abma | ||||||||
Priority | low | Severity | trivial | Reproducibility | always | ||||
Status | resolved | Resolution | unable to reproduce | ||||||
Product Version | 104.0 +git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006388: Build issues on Fedora 31: Z_BEST_COMPRESSION/Z_DEFLATED not declared in this scope | ||||||||
Description | /home/user/spring/rts/Sim/Path/Default/PathEstimator.cpp: In member function ?bool CPathEstimator::WriteFile(const string&, const string&)?: /home/user/spring/rts/Sim/Path/Default/PathEstimator.cpp:1026:82: error: ?Z_DEFLATED? was not declared in this scope 1026 | zipOpenNewFileInZip(file, "pathinfo", nullptr, nullptr, 0, nullptr, 0, nullptr, Z_DEFLATED, Z_BEST_COMPRESSION); | ^~~~~~~~~~ /home/user/spring/rts/Sim/Path/Default/PathEstimator.cpp:1026:94: error: ?Z_BEST_COMPRESSION? was not declared in this scope 1026 | zipOpenNewFileInZip(file, "pathinfo", nullptr, nullptr, 0, nullptr, 0, nullptr, Z_DEFLATED, Z_BEST_COMPRESSION); | ^~~~~~~~~~~~~~~~~~ | ||||||||
Steps To Reproduce | Environment: Install F31 via https://framagit.org/specing/fedora/-/blob/master/kickstart + dnf install gcc-c++ cmake boost-devel DevIL-devel freetype-devel libunwind-devel glew-devel libvorbis-devel libXcursor-devel openal-devel SDL2-devel p7zip git curl jsoncpp libcurl-devel jsoncpp-devel minizip-devel vim ccmake ../spring/ -DAI_TYPES=NATIVE -DCMAKE_INSTALL_PREFIX="$HOME/install/spring/104.0.1_p1474" -Wno-dev | ||||||||
Additional Information | grep -r Z_BEST_COMPRESSION /usr/include/ /usr/include/zlib.h:#define Z_BEST_COMPRESSION 9 grep -r Z_DEFLATED /usr/include/ /usr/include/zlib.h:#define Z_DEFLATED 8 /usr/include/zlib.h: The method parameter is the compression method. It must be Z_DEFLATED in | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | Irrelevant | ||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2020-07-06 13:34 |
zlib.h should be included via https://github.com/spring/spring/blob/develop/rts/lib/minizip/zip.h#L50 so, without more details i can't help here. is there maybe an other zlib.h available which breaks compile? |
abma (administrator) 2020-11-02 18:59 |
no feedback -> closing |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-07 11:53 | ThinkSome | New Issue | |
2020-07-06 13:34 | abma | Status | new => feedback |
2020-07-06 13:34 | abma | Note Added: 0020459 | |
2020-11-02 18:59 | abma | Assigned To | => abma |
2020-11-02 18:59 | abma | Status | feedback => resolved |
2020-11-02 18:59 | abma | Resolution | open => unable to reproduce |
2020-11-02 18:59 | abma | Note Added: 0020542 |