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

How to build and install? #119

Open
jwwalker opened this issue Aug 24, 2021 · 3 comments
Open

How to build and install? #119

jwwalker opened this issue Aug 24, 2021 · 3 comments

Comments

@jwwalker
Copy link

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
Copy link
Owner

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
Copy link

snakebyte69 commented Nov 5, 2021

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
Copy link

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.

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

4 participants