×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Error build

  • Posts: 224
  • Thank you received: 14

[SOLVED] Error build was created by Teseo

Hi, last nt build, return this error:
<code>
[ 97%] Building CXX object Tests/skyobjects/CMakeFiles/test_skypoint.dir/test_skypoint_autogen/mocs_compilation.cpp.o
libKStarsLib.a(indiproperty.cpp.o): in the function "INDI_P::buildLightGUI()":
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/indi/indiproperty.cpp:279:undefined reference a "INDI::Property::getLight() const"
libKStarsLib.a(indistd.cpp.o): in the function "ISD::GenericDevice::getJSONProperty(QString const&, QJsonObject&, bool)":
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/indi/indistd.cpp:931: undefined reference a "INDI::Property::getLight() const"
libKStarsLib.a(indidbus.cpp.o): in the function "INDIDBus::getProperties(QString const&)":
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/indi/indidbus.cpp:184: undefined reference a "INDI::Property::getLight() const"
libKStarsLib.a(indidbus.cpp.o): in the function "INDIDBus::getLight(QString const&, QString const&, QString const&)":
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/indi/indidbus.cpp:305: undefined reference a "INDI::Property::getLight() const"
collect2: error: ld returned 1 exit status
kstars/CMakeFiles/kstars.dir/build.make:227: recipe for target 'kstars/kstars' failed
make[2]: *** [kstars/kstars] Error 1
CMakeFiles/Makefile2:393: recipe for target 'kstars/CMakeFiles/kstars.dir/all' failed
make[1]: *** [kstars/CMakeFiles/kstars.dir/all] Error 2
make[1]: *** Attesa per i processi non terminati....
[ 98%] Linking CXX executable test_skypoint
[ 98%] Built target testfwparser
[ 98%] Built target testcsvparser
[ 98%] Built target test_skypoint
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
</code>

Thanks.
The following user(s) said Thank You: Eric
Last edit: 4 years 1 month ago by Teseo.
4 years 1 month ago #50521

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

  • Posts: 139
  • Thank you received: 31

Replied by Marc on topic Error build

Yes, me too ...

/usr/bin/ld : libKStarsLib.a(indiproperty.cpp.o) : dans la fonction « INDI_P::buildLightGUI() » :
/home/mdicolo/Src/GitHub/indi/kstars/kstars/indi/indiproperty.cpp:279 : référence indéfinie vers « INDI::Property::getLight() const »
/usr/bin/ld : libKStarsLib.a(indistd.cpp.o) : dans la fonction « ISD::GenericDevice::getJSONProperty(QString const&, QJsonObject&, bool) » :
/home/mdicolo/Src/GitHub/indi/kstars/kstars/indi/indistd.cpp:931 : référence indéfinie vers « INDI::Property::getLight() const »
/usr/bin/ld : libKStarsLib.a(indidbus.cpp.o) : dans la fonction « INDIDBus::getProperties(QString const&) » :
/home/mdicolo/Src/GitHub/indi/kstars/kstars/indi/indidbus.cpp:184 : référence indéfinie vers « INDI::Property::getLight() const »
/usr/bin/ld : libKStarsLib.a(indidbus.cpp.o) : dans la fonction « INDIDBus::getLight(QString const&, QString const&, QString const&) » :
/home/mdicolo/Src/GitHub/indi/kstars/kstars/indi/indidbus.cpp:305 : référence indéfinie vers « INDI::Property::getLight() const »
collect2: erreur: ld a retourné le statut de sortie 1
make[2]: *** [kstars/CMakeFiles/kstars.dir/build.make:196: kstars/kstars] Error 1
make[1]: *** [CMakeFiles/Makefile2:641: kstars/CMakeFiles/kstars.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
[ 99%] Linking CXX executable testcsvparser
[ 99%] Linking CXX executable test_skypoint
[ 99%] Built target testfwparser
[ 99%] Built target testcsvparser
[ 99%] Built target test_skypoint
make: *** [Makefile:141: all] Error 2

- Marc
Last edit: 4 years 1 month ago by Marc.
4 years 1 month ago #50523

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

Sounds like github.com/indilib/indi/commit/c455355a7...32c5830865a8c71e8a18 missing in your install. Update indi and reinstall libraries to get the missing symbol?

-Eric
The following user(s) said Thank You: Marc
4 years 1 month ago #50547

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

  • Posts: 139
  • Thank you received: 31

Replied by Marc on topic Re:Error build

After Saturday night commits, compiling worked again. Problem solved.

- Marc
The following user(s) said Thank You: Eric
4 years 1 month ago #50554

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

Time to create page: 0.140 seconds