Advertisement

Xcode link statically Glew and curl

Started by October 09, 2023 11:28 AM
1 comment, last by MikeCyber 1 year, 4 months ago

Hi

I've used successfully in linker flags:

-DGLEW_STATIC -DCURL_STATICLIB

but now I need to support also arm64. Those returned errors and only with dynamic I got it working. (-lCURL and -lGLEW) But I can't ask users to install glew obviously. What do I need to change?

Many thanks

ld: warning: ignoring file /usr/local/Cellar/glew/2.2.0_1/lib/libGLEW.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

What to do? Xcode/intel Mac.

Many thanks

This topic is closed to new replies.

Advertisement