On Tue, Mar 17, 2015 at 7:57 PM, Pedro Neves <[email protected]> wrote:
> Hi: > > I've upgraded the qt on my system to version 5.4.1. When trying to build > subsurface, I get the following error: > > linking subsurface > .obj/qthelper.o: In function `getUserAgent()': > -------------------------/subsurface/qthelper.cpp:458: undefined reference > to `SubsurfaceSysInfo::buildCpuArchitecture()' > -------------------------/subsurface/qthelper.cpp:461: undefined > reference to `SubsurfaceSysInfo::currentCpuArchitecture()' > .obj/usersurvey.o: In function `UserSurvey::UserSurvey(QWidget*)': > -------------------------/subsurface/qt-ui/usersurvey.cpp:27: undefined > reference to `SubsurfaceSysInfo::buildCpuArchitecture()' > -------------------------/subsurface/qt-ui/usersurvey.cpp:30: undefined > reference to `SubsurfaceSysInfo::currentCpuArchitecture()' > .obj/usersurvey.o: In function `UserSurvey::getVersion()': > -------------------------/subsurface/qt-ui/usersurvey.cpp:44: undefined > reference to `SubsurfaceSysInfo::buildCpuArchitecture()' > -------------------------/subsurface/qt-ui/usersurvey.cpp:47: undefined > reference to `SubsurfaceSysInfo::currentCpuArchitecture()' > collect2: error: ld returned 1 exit status > Makefile:625: recipe for target 'subsurface' failed > make: *** [subsurface] Error 1 > As you can see, this is a Subsurface class issue, not related to Qt. are you compilling from qmake, from cmake? >From your command below, it seems that it's cmake, I just want to be sure. 1 - make sure you are in the latest master 2 - do a grep -rIs SybsyrfaceSysInfo and check that those functions do exist in the source code ( hint, they do. ) 3 - try to fix qmake if necessary if all that fails, you also have a script that should download everything and compile it correctly in the scripts folder. Tomaz > > ------------------------------------- > qmake -v > > QMake version 3.0 > Using Qt version 5.4.1 in /usr/lib/x86_64-linux-gnu on Debian/Sid > > Any hints? > > Cheers: > > Pedro > > _______________________________________________ > subsurface mailing list > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > >
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
