×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Error build source

  • Posts: 220
  • Thank you received: 14

Error build source was created by Teseo

Hi.

[code]
[ 97%] Built target test_skypoint
[ 98%] Built target kstars
CMakeFiles/testfitsdata.dir/testfitsdata.cpp.o: in the function "TestFitsData::testLoadFits()":
/opt/Astronomia/indi_ekos_build/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:62: undefined reference a "bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)"
/opt/Astronomia/indi_ekos_build/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:63: undefined reference a "bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)"
/opt/Astronomia/indi_ekos_build/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:66: undefined reference a "bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)"
collect2: error: ld returned 1 exit status
Tests/fitsviewer/CMakeFiles/testfitsdata.dir/build.make:133: recipe for target 'Tests/fitsviewer/testfitsdata' failed
make[2]: *** [Tests/fitsviewer/testfitsdata] Error 1
CMakeFiles/Makefile2:1795: recipe for target 'Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all' failed
make[1]: *** [Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all] Error 2
make[1]: *** Waiting for unfinished processes ....
[ 99%] Built target kstars_ui_tests
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
[code]

Thanks.
Last edit: 3 years 11 months ago by Teseo.
3 years 11 months ago #51742

Please Log in or Create an account to join the conversation.

  • Posts: 150
  • Thank you received: 15

Replied by Picard on topic Error build source

I confirm this issue....
3 years 11 months ago #51769

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Error build source

Can you confirm with latest git pull?
3 years 11 months ago #51771

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic Error build source

Hi
Latest git Ubuntu 18.04
[ 99%] Linking CXX executable testfitsdata
CMakeFiles/testfitsdata.dir/testfitsdata.cpp.o: In function `TestFitsData::testLoadFits()':
/home/steve/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:62: undefined reference to `bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)'
/home/steve/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:63: undefined reference to `bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)'
/home/steve/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:66: undefined reference to `bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int)'
collect2: error: ld returned 1 exit status
Tests/fitsviewer/CMakeFiles/testfitsdata.dir/build.make:133: recipe for target 'Tests/fitsviewer/testfitsdata' failed
make[2]: *** [Tests/fitsviewer/testfitsdata] Error 1
CMakeFiles/Makefile2:1795: recipe for target 'Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all' failed
make[1]: *** [Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Last edit: 3 years 11 months ago by alacant.
3 years 11 months ago #51779

Please Log in or Create an account to join the conversation.

  • Posts: 150
  • Thank you received: 15

Replied by Picard on topic Error build source

Hi Jasem,

i confirm also that doesn't work.
3 years 11 months ago #51782

Please Log in or Create an account to join the conversation.

  • Posts: 139
  • Thank you received: 31

Replied by Marc on topic Error build source

commit 1f7493a630957aa16820e8377fd5a1c90af7b12a builds with no problems (Fedora 31). This is the last one so far.
- Marc
3 years 11 months ago #51788

Please Log in or Create an account to join the conversation.

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Re:Error build source

Thanks for reporting, will check.

-Eric
3 years 11 months ago #51824

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic Re:Error build source

Hi everyone.
ubuntu 18.04; still locked out with the error. Has anyone a tip to get it to build?
Cheers
3 years 11 months ago #51880

Please Log in or Create an account to join the conversation.

  • Posts: 150
  • Thank you received: 15

Replied by Picard on topic Re:Error build source

is it possible to dosen't build kstars_ui_tests ?
3 years 11 months ago #51905

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic Re:Error build source

Hi
AFAICT:
make kstars -j4
does it and completes successfully.

But I'm not sure if anything is missing with just this.
HTH
Last edit: 3 years 11 months ago by alacant.
3 years 11 months ago #51963

Please Log in or Create an account to join the conversation.

  • Posts: 150
  • Thank you received: 15

Replied by Picard on topic Error build source

Hi,

i'm always the issue:
[ 99%] Linking CXX executable test_skypoint
CMakeFiles/testfitsdata.dir/testfitsdata.cpp.o : Dans la fonction « TestFitsData::testLoadFits() » :
/home/christian/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:62 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
/home/christian/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:63 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
/home/christian/Projects/kstars/Tests/fitsviewer/testfitsdata.cpp:66 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
collect2: error: ld returned 1 exit status
Tests/fitsviewer/CMakeFiles/testfitsdata.dir/build.make:133: recipe for target 'Tests/fitsviewer/testfitsdata' failed
make[2]: *** [Tests/fitsviewer/testfitsdata] Error 1
CMakeFiles/Makefile2:1795: recipe for target 'Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all' failed
make[1]: *** [Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all] Error 2
[ 99%] Building CXX object Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/test_ekos_focus.cpp.o
make[1]: *** Attente des tâches non terminées....
[ 99%] Built target test_skypoint
[100%] Building CXX object Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/test_ekos_simulator.cpp.o
[100%] Building CXX object Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/qrc_kstars.cpp.o
[100%] Building CXX object Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/kstars_ui_tests_autogen/mocs_compilation.cpp.o
[100%] Linking CXX executable kstars_ui_tests
[100%] Built target kstars_ui_tests
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

I used (from scratch):
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release ..
make -j4

I have the binary of kstars in the kstars directory but like it stop compilation, i cannot do a make install.

Before that, i haven't ever problem to compile kstars.
Last edit: 3 years 11 months ago by Picard.
3 years 11 months ago #51996

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic Error build source


Hi
Workaround here .
HTH
The following user(s) said Thank You: Picard
3 years 11 months ago #52000

Please Log in or Create an account to join the conversation.

Time to create page: 0.306 seconds