Open ThiagoCM opened 7 years ago
referência indefinida para stands for undefined reference for
Hi @ThiagoCM , sorry for my long delayed feedback. It seems to be a linking error from your Qt application. The vehicle_counting project does not use Qt inside.
Has anyone tried with RaspberrypI zero? I see this error. Any clues plz
^ CMakeFiles/simple_vehicle_counting.dir/build.make:230: recipe for target 'CMakeFiles/simple_vehicle_counting.dir/package_tracking/cvblob/cvlabel.cpp.o' failed make[2]: [CMakeFiles/simple_vehicle_counting.dir/package_tracking/cvblob/cvlabel.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/simple_vehicle_counting.dir/all' failed make[1]: [CMakeFiles/simple_vehicle_counting.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 (venv) pi@raspberrypi:~/myproject/simple_vehicle_counting/build $ vi Makefile (venv) pi@raspberrypi:~/myproject/simple_vehicle_counting/build $
Hi. This might be a newbie question/problem, but I'm not finding any help online so far.
So, I'm just trying to make the project at
And then I'm receiving
/usr/bin/ld: warning: libicui18n.so.56, needed by ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.56, needed by ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.56, needed by ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
u_strToLower_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_getStandardName_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_getAlias_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
uenum_next_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida parau_strToUpper_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_setSubstChars_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucal_getTimeZoneDisplayName_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_fromUnicode_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida parau_errorName_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
uenum_close_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucal_getDSTSavings_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_openTimeZoneIDEnumeration_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucal_setMillis_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucol_close_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucol_getSortKey_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_get_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucol_open_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_compareNames_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucal_clone_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_open_56' ~Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucol_setAttribute_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_openCountryTimeZones_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_open_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_openTimeZones_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_countAliases_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_inDaylightTime_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucal_close_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_getAvailableName_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_getDefaultName_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucal_getDefaultTimeZone_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_toUnicode_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucol_strcoll_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida paraucnv_close_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para
ucnv_getMaxCharSize_56' ~/Qt/5.8/gcc_64/lib/libQt5Core.so.5: referência indefinida para `ucnv_countAvailable_56' collect2: error: ld returned 1 exit status CMakeFiles/simple_vehicle_counting_bin.dir/build.make:138: recipe for target 'simple_vehicle_counting' failed make[2]: [simple_vehicle_counting] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/simple_vehicle_counting_bin.dir/all' failed make[1]: [CMakeFiles/simple_vehicle_counting_bin.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2Any tips? Thanks in advance.