mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Undefined Reference errors when linking


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Undefined Reference errors when linking
Date: Mon, 20 Feb 2012 10:25:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Firefox/10.0.2 SeaMonkey/2.7.2



My project now successfully compiles, linking fails however, with approximately 42 billion error messages like the ones posted at the end.

<snip>

CMakeFiles/PhenoCam.dir/objects.a(exporterMainwindow.cpp.obj):exporterMainwindow.cpp:(.text+0xb1b): undefined reference to `__imp___ZN5QJson6ParserC1Ev' CMakeFiles/PhenoCam.dir/objects.a(exporterMainwindow.cpp.obj):exporterMainwindow.cpp:(.text+0xb40): undefined reference to `__imp___ZN5QJson6Parser5parseERK10QByteArrayPb' CMakeFiles/PhenoCam.dir/objects.a(exporterMainwindow.cpp.obj):exporterMainwindow.cpp:(.text+0x1379): undefined reference to `__imp___ZN5QJson6ParserD1Ev' CMakeFiles/PhenoCam.dir/objects.a(exporterMainwindow.cpp.obj):exporterMainwindow.cpp:(.text+0x1735): undefined reference to `__imp___ZN5QJson6ParserD1Ev' CMakeFiles/PhenoCam.dir/objects.a(selectVideoStep.cpp.obj):selectVideoStep.cpp:(.text+0x9e8): undefined reference to `__imp___ZN5QJson6ParserC1Ev' CMakeFiles/PhenoCam.dir/objects.a(selectVideoStep.cpp.obj):selectVideoStep.cpp:(.text+0xa16): undefined reference to `__imp___ZN5QJson6Parser5parseEP9QIODevicePb' CMakeFiles/PhenoCam.dir/objects.a(selectVideoStep.cpp.obj):selectVideoStep.cpp:(.text+0xc7c): undefined reference to `__imp___ZN5QJson6ParserD1Ev'


Hi Simon,

You might find some clues here:

http://stackoverflow.com/questions/5159353/how-can-i-get-rid-of-the-imp-prefix-in-the-linker-in-vc

Somebody who knows more about cmake and qjson might be able to give more specific advice.

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]