I am trying to build "qprompter" on my windows machine but the following errors show up:
error: undefined reference to Presage::completion(std::string)'
error: undefined reference toPresage::predict()'
I have installed QScintilla-2.9.1 and Presage(at c:/presage) from presage-0.9.2~beta20150909-32bit-setup.exe and linked the library.
-------------------------------
here is qprompter.pro
--------------------------------
CONFIG += release
HEADERS = mainwindow.h
SOURCES = main.cpp \
mainwindow.cpp
RESOURCES = qprompter.qrc
QT += widgets
LIBS += -lqscintilla2 -Lc:/presage/lib/ -lpresage
INCLUDEPATH = c:/presage/include
DEPENDPATH = c:/presage/include
My machine spec is:
OS: WIndows 8(64bit)
Qt 5.4.1 MinGW32bit(MinGW491)
Please help me why this error message is coming up
Issue solved