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

ld: library not found for -lminizip #80

Open
m-bob opened this issue Jan 28, 2023 · 4 comments
Open

ld: library not found for -lminizip #80

m-bob opened this issue Jan 28, 2023 · 4 comments

Comments

@m-bob
Copy link

m-bob commented Jan 28, 2023

Attempting to build on Mac 12.6.2 (Monterey). I can create a Makefile, which is what I want as I prefer to avoid Xcode.

But the make command fails.

There are lots of easily-correctable problems when building assimp. One has to replace calls to vsprintf with vnsprintf and sprint with snprintf.

But the Glitter executable still won't link. The linker fails with the message above (ld: library not found for -lminizip).

I'm at a loss ...

@Polytonic
Copy link
Owner

I pushed up some updated submodules. Looks like a newer version of assimp was needed for whatever compiler Apple is shipping with Xcode these days. Try grabbing the latest and giving it a go?

@Polytonic
Copy link
Owner

make                                                                   master
[  3%] Built target LinearMath
[  7%] Built target glfw
[ 54%] Built target assimp
[ 74%] Built target BulletCollision
[ 83%] Built target BulletDynamics
[ 83%] Built target Glitter
[ 89%] Built target Bullet3OpenCL_clew
[ 90%] Built target Bullet2FileLoader
[ 91%] Built target Bullet3Dynamics
[ 92%] Built target Bullet3Collision
[ 93%] Built target Bullet3Geometry
[ 94%] Built target BulletInverseDynamics
[ 98%] Built target BulletSoftBody
[100%] Built target Bullet3Common

I was able to build under macOS 13.2 (M1 Max).

Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@m-bob
Copy link
Author

m-bob commented Jan 30, 2023 via email

@Polytonic
Copy link
Owner

To clarify, I built using make (as demonstrated in my log output above).

My compiler is installed by way of Xcode developer tools. I’m sure it’d build fine under gcc or similar.

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

2 participants