Compiling error : SDL2 library not found

Get support for Unvanquished.
Post Reply
One
Posts: 3
Joined: Mon May 06, 2013 4:40 pm UTC
Location: Kenai, Alaska

Compiling error : SDL2 library not found

Post 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

User avatar
Ishq
Project Head
Posts: 1152
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Compiling error : SDL2 library not found

Post by Ishq »

Post Reply