Kanma / MPQExtractor

A command-line tool to extract files from MPQ archives
Other
127 stars 39 forks source link

Build Error on ARM #11

Closed jwhipp closed 3 months ago

jwhipp commented 8 years ago

I am trying to build this on Raspbian on a Pi 2, getting this error:

Linking CXX shared library ../bin/libstorm.so /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status StormLib/CMakeFiles/storm.dir/build.make:5235: recipe for target 'bin/libstorm.so.9.0.0' failed make[2]: * [bin/libstorm.so.9.0.0] Error 1 CMakeFiles/Makefile2:110: recipe for target 'StormLib/CMakeFiles/storm.dir/all' failed make[1]: * [StormLib/CMakeFiles/storm.dir/all] Error 2 Makefile:113: recipe for target 'all' failed make: *\ [all] Error 2

Any ideas on the -lbz2? Seems something is missing bzip2 perhaps but I am not sure what.

clort81 commented 3 years ago

apt install -y libbz2-dev libbz2-1.0