iut-ibk / DynaMind-ToolBox

DynaMind-ToolBox
www.dance4water.org
GNU General Public License v2.0
9 stars 6 forks source link

Linker error with qt4 #288

Closed csaf4370 closed 9 years ago

csaf4370 commented 9 years ago

Just tried out the latest version (aa361de4210dc11aa771868514832cd177e0f4c2), but without the flag USEQT5 i get the following linker errors (excerpt):

../../DynaMind-Viewer/libQGLViewer.a(qglviewer.o): In function `QGLViewer::saveStateToFile()':
qglviewer.cpp:(.text+0x11da5): undefined reference to `QString::arg(QString const&, int, QChar) const'
qglviewer.cpp:(.text+0x11e4b): undefined reference to `QArrayData::deallocate(QArrayData*, unsigned long, unsigned long)'
qglviewer.cpp:(.text+0x11fc1): undefined reference to `QFileDevice::flush()'
qglviewer.cpp:(.text+0x11fc9): undefined reference to `QFileDevice::close()'
qglviewer.cpp:(.text+0x1200b): undefined reference to `QArrayData::shared_null'
qglviewer.cpp:(.text+0x120a4): undefined reference to `QString::arg(QString const&, int, QChar) const'
qglviewer.cpp:(.text+0x12188): undefined reference to `QString::arg(QString const&, int, QChar) const'
qglviewer.cpp:(.text+0x121d2): undefined reference to `QString::fromUtf8_helper(char const*, int)'
../../DynaMind-Viewer/libQGLViewer.a(qglviewer.o): In function `QGLViewer::restoreStateFromFile()':

i think the includes point to a wrong qt-include/library.

csaf4370 commented 9 years ago

works now as expected.