Hi, I am trying to get QT creator to run in these environments to compile a simple SDL app. I have SDL installed in the correct location, and am compiling with the following .pro:
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
SOURCES += main.cpp
CONFIG -= x86_64
CONFIG += x86
INCLUDEPATH += /Library/Frameworks
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
LIBS += -framework Cocoa -framework SDL
OBJECTIVE_SOURCES += SDLMain.m
HEADERS += SDLMain.h
The compiler error I get is:
ld: framework not found SDL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sdltest] Error 1
Suggesting that the framework was not found. Any info or help would be appreciated.
EDIT: this issue is for OSX at the moment.
↧