frogg / STUPRO

Satellite-based terrain visualization for environmental monitoring and presentation of relevant observations
Other
6 stars 3 forks source link

Projekt kompiliert nicht mehr wegen Linkerfehler #139

Closed Marukyu closed 8 years ago

Marukyu commented 8 years ago

Beim Link-Schritt für libKronosPlugin.so tritt folgender Fehler auf:

Linking CXX shared library libKronosPlugin.so
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `qt_noop()':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:11: multiple definition of `Kronos::instance'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:(.bss+0x0): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `qt_noop()':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:11: multiple definition of `Kronos::getInstance()'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0x0): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `Kronos::Kronos(QObject*)':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:20: multiple definition of `Kronos::Kronos(QObject*)'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0xcc): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `Kronos::Kronos(QObject*)':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:20: multiple definition of `Kronos::Kronos(QObject*)'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0xcc): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `Kronos::onStartup()':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:32: multiple definition of `Kronos::onStartup()'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0x20e): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `Kronos::onShutdown()':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:38: multiple definition of `Kronos::onShutdown()'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0x24c): first defined here
../../src/CMakeFiles/KronosPlugin.dir/Kronos.cxx.o: In function `Kronos::isInitialized()':
/home/marukyu/projects/STUPRO/src/Kronos.cxx:44: multiple definition of `Kronos::isInitialized()'
CMakeFiles/KronosPlugin.dir/Kronos.cxx.o:Kronos.cxx:(.text+0x28a): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [src/libKronosPlugin.so] Error 1
make[1]: *** [src/CMakeFiles/KronosPlugin.dir/all] Error 2
make: *** [all] Error 2