Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

LNK2019 : Unresolved External Symbols referenced in function_main

$
0
0
Please help me with a problem I’ve been facing I have been trying to add a library into my project. My project file looks like this :     QT += core gui     greaterThan(QT_MAJOR_VERSION, 4): QT += widgets           TARGET = sdk2     TEMPLATE = app                       SOURCES += main.cpp\     mainwindow.cpp           HEADERS += mainwindow.h \     ../../../../../SDKstudy/Runtime5.1/include/fgrab_struct.h \     ../../../../../SDKstudy/Runtime5.1/include/fgrab_prototyp.h \     ../../../../../SDKstudy/Runtime5.1/include/fgrab_define.h           INCLUDEPATH += $$PWD/../../../../../SDKstudy/Runtime5.1\include     DEPENDPATH += $$PWD/../../../../../SDKstudy/Runtime5.1\include                 INCLUDEPATH += C:\Users\Alok\SDKstudy\Runtime5.1\dll\mE4AD1-CL     DEPENDPATH += C:\Users\Alok\SDKstudy\Runtime5.1\dll\mE4AD1-CL                 FORMS += mainwindow.ui                       LIBS += -L$$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64/ -lfglib5           INCLUDEPATH += $$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64     DEPENDPATH += $$PWD/../../../../../SDKstudy/Runtime5.1/lib/visualc2005_amd64 When i try to run the code i get the following error main.obj:-1: error: LNK2019: unresolved external symbol _Fg_Init referenced in function _main Can you please help me resolve this Many thanks

Viewing all articles
Browse latest Browse all 2113

Trending Articles