Page 1 of 1

Compiling error : SDL2 library not found

Posted: Wed Oct 09, 2013 4:57 pm UTC
by One

Greetings folks,

In my attempts to compile the source for my MacBook Pro - I keep coming up with the same unfound library error message:

unvbuild-0.20.0/Debug/librendererGL3.dylib normal x86_64
...
ld: library not found for -lSDL2
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have already homebrew'd sdl2 and have also downloaded the SDL2 Framework into my /Library/Frameworks

When I Cmake the build it includes the SDL2_Library variable "/Library/Frameworks/SDL2.framework" So I'm at a loss for what's wrong.

Do I have to include a search/link path within Xcode project?

Any help would be great.

One


Re: Compiling error : SDL2 library not found

Posted: Sat Oct 12, 2013 5:30 am UTC
by Ishq