×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

[SOLVED] Error compiling

3 months 2 weeks ago 3 months 2 weeks ago by pcxz.
pcxz
Gold Boarder
Gold Boarder
Posts: 189
More
Topic Author
[SOLVED] Error compiling #49839
For several days kstars has not been compiled,
fails with this error:

<code>
[ 99%] Built target kstars
CMakeFiles/kstars_ui_tests.dir/test_ekos.cpp.o: in the function "KStarsUiTests::manipulateEkosProfiles()::{lambda()#3}::operator()() const":
/opt/Astronomia/indi_ekos_build/Projects/kstars/Tests/kstars_ui/test_ekos.cpp:198: undefined reference a "bool QTest::qCompare<QString, char [20]>(QString const&, char const (&) [20], char const*, char const*, char const*, int)"
/opt/Astronomia/indi_ekos_build/Projects/kstars/Tests/kstars_ui/test_ekos.cpp:202: undefined reference a "bool QTest::qCompare<QString, char [14]>(QString const&, char const (&) [14], char const*, char const*, char const*, int)"
collect2: error: ld returned 1 exit status
Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/build.make:258: recipe for target 'Tests/kstars_ui/kstars_ui_tests' failed
make[2]: *** [Tests/kstars_ui/kstars_ui_tests] Error 1
CMakeFiles/Makefile2:1407: recipe for target 'Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/all' failed
make[1]: *** [Tests/kstars_ui/CMakeFiles/kstars_ui_tests.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
[pcxz@kstars]$
</code>

----
Celestron C8 Fastar XLT U.S.A. (Carbon tube), seeker 9x50 (used as a guide scope), Wedge, Meade DSI (used as a guide cam), Canon EOS 500D Full mod, Canon EOS 1000D, RaspBerryPI3 with remote management through EKOS.

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

3 months 2 weeks ago
knro
Administrator
Administrator
Posts: 8000
Karma: 51
[SOLVED] Error compiling #49864
Most likely related to some Qt version issue.. I asked Eric to look into it.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

3 months 2 weeks ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 874
Karma: 13
More
[SOLVED] Error compiling #49875
Sorry for not spotting the issue at first push. Code was indeed qCompare'ing a QString with a const char pointer. Depending on the Qt version, it's possible an implicit cast was possible. Pushed tentative fix as D27524.

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
The following user(s) said Thank You pcxz

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

1 month 3 weeks ago
mastria
Fresh Boarder
Fresh Boarder
Posts: 17
More
[SOLVED] Error compiling #51801
I believe the same kind of error is occurring again, now with kstars/Tests/fitsviewer/testfitsdata.cpp on line 62 (maybe on other lines too).

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

Time to create page: 0.280 seconds