Xcode link statically Glew and curl

Started by
1 comment, last by MikeCyber 6 months, 2 weeks 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

Advertisement

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