frogg / STUPRO

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

Unittester baut nicht mehr wegen Postgresql #133

Closed qw3ry closed 8 years ago

qw3ry commented 8 years ago

@cmd-johnson @larissa95 Seit der postgresql-code gemergt ist, baut bei mir der Unit Tester nicht mehr. ich habe pacman -S postgresql-libs postgresql libpqxx installiert. Wenn ich den Unittester rausnehme tut wieder alles.

$ > make
[ 74%] Built target KronosPlugin
[ 85%] Built target paraview_stupro
[ 86%] Automatic moc for target UnitTester
[ 86%] Built target UnitTester_automoc
[ 87%] Linking CXX executable UnitTester
../libKronosPlugin.so: undefined reference to `pqxx::connectionpolicy::connectionpolicy(std::string const&)'
../libKronosPlugin.so: undefined reference to `pqxx::internal::throw_null_conversion(std::string const&)'
../libKronosPlugin.so: undefined reference to `pqxx::transaction_base::exec(std::string const&, std::string const&)'
collect2: error: ld returned 1 exit status
test/CMakeFiles/UnitTester.dir/build.make:548: recipe for target 'test/UnitTester' failed
make[2]: *** [test/UnitTester] Error 1
CMakeFiles/Makefile2:181: recipe for target 'test/CMakeFiles/UnitTester.dir/all' failed
make[1]: *** [test/CMakeFiles/UnitTester.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2