gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
60 stars 50 forks source link

How to build and install? #119

Open jwwalker opened 2 years ago

jwwalker commented 2 years ago

cmake seems to work, but make and make install don't appear to do anything.

Using macOS 11.5.2, Xcode 13 beta 5.

gdraheim commented 2 years ago

The "cmake" variant is regularly checked. However it uses a subdirectory "build" and "cmake .." to ensure that none of the older automake/testing stuff can interfere with the cmake build.

snakebyte69 commented 2 years ago

I'm getting an error when Building on a Mac running macOS Monterey

[ 30%] Built target pkgconfig-sdl [ 31%] Linking C executable zzcatsdl ld: library not found for -lSDL2 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: [SDL/zzcatsdl] Error 1 make[2]: [SDL/CMakeFiles/zzcatsdl.dir/all] Error 2 make[1]: [all] Error 2 make: [build] Error 2

ryandesign commented 4 months ago

Then I guess you don't have libsdl2 installed. Either install libsdl2 or tell zziplib not to build the libsdl2-requiring parts by adding the flag -DZZIPSDL=OFF when you run cmake.