Menu

#6 Undefined reference to presage predict on qprompter compile

v0.9.2
closed-fixed
None
5
2016-02-23
2016-01-03
E Seng On
No

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 

Discussion

  • E Seng On

    E Seng On - 2016-01-03

    Issue solved

     
  • Matteo Vescovi

    Matteo Vescovi - 2016-02-23
    • status: open --> closed-fixed
     

Log in to post a comment.