I am trying to compile a C++ program using Qt. When I try to compile I get this output:
symbol(s) not found for architecture x86_64
linker command failed with exit code 1 (use -v to see invocation)
What can I do? Why is this happening? I already tried setting
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
(as suggested in this post OpenCv + mac os x + qt creator = strange linking bug?) in my project file but it did not resolve the issue.
Any ideas?
EDIT:
This is what my project file looks like:
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
SOURCES += main.cpp \
a.cpp \
b.cpp \
c.cpp
HEADERS += \
a.h \
b.h \
c.h