[ 90%] Built target ncnn
Scanning dependencies of target p2pnet
Scanning dependencies of target yolov2
Scanning dependencies of target mobilenetv2ssdlite
[ 90%] Building CXX object benchmark/CMakeFiles/benchncnn.dir/benchncnn.cpp.o
[ 91%] Building CXX object examples/CMakeFiles/yolov2.dir/yolov2.cpp.o
[ 91%] Building CXX object examples/CMakeFiles/p2pnet.dir/p2pnet.cpp.o
[ 91%] Building CXX object examples/CMakeFiles/mobilenetv2ssdlite.dir/mobilenetv2ssdlite.cpp.o
[ 91%] Linking CXX executable benchncnn
[ 91%] Built target benchncnn
Scanning dependencies of target nanodetplus_pnnx
[ 91%] Building CXX object examples/CMakeFiles/nanodetplus_pnnx.dir/nanodetplus_pnnx.cpp.o
[ 91%] Linking CXX executable mobilenetv2ssdlite
[ 91%] Linking CXX executable yolov2
[ 91%] Linking CXX executable p2pnet
/usr/bin/ld: warning: libicui18n.so.58, needed by //home/linkpi/anaconda3/lib//libQt5Core.so.5, not foundusr /(bin/ld: warning:try usinglibicui18n.so.58 ,- rpathneeded orby -/rpath/-home/linklinkpi)/
anaconda3//usrlib//binlibQt5Core.so.5/ld: warning: libicuuc.so.58, needed by /,/ homenot/ linkpifound/ anaconda3(/trylib /libQt5Core.so.5using, -notrpath foundor -(rpathtry- linkusing)
-/rpath or -rpath-link)
/usr/bin/usrld/:bin /warningld:: libicudata.so.58, needed by //home/linkpi/anaconda3/warninglib/:libQt5Core.so.5 ,libicuuc.so.58 ,not neededfound (try using -rpath or -rpath-link)by
////homehome//linkpilinkpi//anaconda3anaconda3//liblib//libQt5Core.so.5libQt5Core.so.5: ,undefined notreference foundto ( tryu_errorName_58' /using/ home-/rpath linkpior/ anaconda3-/rpathlib-/linklibQt5Core.so.5): undefined reference to
ucal_setMillis_58'
//home
//linkpiusr//anaconda3bin//libld/:libQt5Core.so.5: undefined reference to ucnv_getAlias_58' // homewarning/:linkpi /libicudata.so.58anaconda3,/ libneeded/ libQt5Core.so.5: undefined reference to
ucal_inDaylightTime_58'
//byhome/ linkpi///anaconda3home//liblinkpi/libQt5Core.so.5: undefined reference to u_strToLower_58' ///anaconda3home//liblinkpi//libQt5Core.so.5anaconda3,/ lib/libQt5Core.so.5: undefined reference to
ucnv_getStandardName_58'not
/found/ home(/trylinkpi /usinganaconda3 /-rpathlib/libQt5Core.so.5 :or undefined- rpathreference- linkto ) u_strToUpper_58/'/ home///linkpihome//anaconda3linkpi//libanaconda3//libQt5Core.so.5:lib/libQt5Core.so.5 :undefined undefinedreference referenceto to
`ucnv_setSubstChars_58u_errorName_58''
////homehome//linkpilinkpi//anaconda3anaconda3//liblib//libQt5Core.so.5libQt5Core.so.5:: undefinedundefined referencereference toto ``ucal_setMillis_58ucnv_getMaxCharSize_58''
///home/linkpi/anaconda3/lib/libQt5Core.so.5: /undefined homereference/ linkpito/ anaconda3 /ucal_getTimeZoneDisplayName_58lib' //home/linkpi/anaconda3/lib/libQt5Core.so.5: /undefined libQt5Core.so.5reference: toundefined
referenceucnv_fromUnicode_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: toundefined referenceucnv_getAlias_58 'to /
/ucnv_open_58home'/
linkpi//home/linkpi/anaconda3/lib/libQt5Core.so.5/:anaconda3 /undefinedlib/ libQt5Core.so.5reference: toundefined referenceucnv_getDefaultName_58 ' /to/ home
/ucal_inDaylightTime_58linkpi'
//anaconda3//homelib//linkpilibQt5Core.so.5/:anaconda3 undefined reference to ucal_getDefaultTimeZone_58' //home//liblinkpi//libQt5Core.so.5anaconda3:/ libundefined/ libQt5Core.so.5: undefined reference to
ucal_clone_58'
/reference/home /tolinkpi / anaconda3u_strToLower_58/'lib /libQt5Core.so.5: undefined reference to
ucal_getDSTSavings_58'
////homehome//linkpilinkpi//anaconda3anaconda3//lib/libQt5Core.so.5: undefined reference to ucol_strcoll_58lib'/ libQt5Core.so.5/:/ homeundefined/ linkpireference/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_close_58to'/ucnv_getStandardName_58/'home ///linkpihome/linkpi/anaconda3//lib/anaconda3libQt5Core.so.5/:lib /libQt5Core.so.5: undefined reference to
ucnv_countAvailable_58'
//home/linkpi/undefinedanaconda3/ libreference/ libQt5Core.so.5to: undefined reference to
ucal_openCountryTimeZones_58'
//home/linkpiu_strToUpper_58/'anaconda3
//lib//homelibQt5Core.so.5/: undefinedlinkpi/anaconda3/ libreference/ libQt5Core.so.5to: undefineducol_open_58 'reference //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference toto ``ucnv_setSubstChars_58ucnv_compareNames_58'' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined/ /referencehome /tolinkpi /
anaconda3ucal_close_58'/
lib///libQt5Core.so.5home:/ undefinedlinkpi /referenceanaconda3 /tolib / libQt5Core.so.5ucnv_getMaxCharSize_58: undefined reference to
ucnv_getAvailableName_58'
//'home
//linkpi//homeanaconda3//linkpilib//libQt5Core.so.5: undefined reference to ucal_openTimeZoneIDEnumeration_58' anaconda3///homelib//linkpilibQt5Core.so.5/:anaconda3 /undefined libreference to
/ucal_getTimeZoneDisplayName_58'libQt5Core.so.5
:/ undefined reference to ucal_open_58' //home/linkpi/anaconda3/lib//libQt5Core.so.5home:/ linkpi/undefinedanaconda3 /referencelib /tolibQt5Core.so.5 :
ucol_setAttribute_58undefined'
/reference/ hometo/ linkpi ucnv_fromUnicode_58/'anaconda3 //lib//homelibQt5Core.so.5/:linkpi undefined reference to
ucal_openTimeZones_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to uenum_close_58' //home//linkpi/anaconda3anaconda3//liblib//libQt5Core.so.5libQt5Core.so.5: undefined reference to
ucnv_countAliases_58'
//:home /undefinedlinkpi /referenceanaconda3 /tolib / libQt5Core.so.5ucnv_open_58:' undefined /reference/ hometo/linkpi /
anaconda3ucol_close_58/'lib
//libQt5Core.so.5/:home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_getSortKey_58' //home/linkpi /anaconda3undefined/ libreference/ libQt5Core.so.5to: undefined reference to
ucal_get_58'
//home/ linkpi/ucnv_getDefaultName_58anaconda3'/ lib///libQt5Core.so.5home: undefined reference to
uenum_next_58'
//home//linkpilinkpi//anaconda3anaconda3//liblib//libQt5Core.so.5libQt5Core.so.5: undefined reference to ucnv_toUnicode_58' : undefined reference to
ucal_getDefaultTimeZone_58'
//collect2: error: ld returned 1 exit status
home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_clone_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_getDSTSavings_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_strcoll_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_close_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_countAvailable_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_openCountryTimeZones_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_open_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_compareNames_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getAvailableName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_openTimeZoneIDEnumeration_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_open_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_setAttribute_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_openTimeZones_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to uenum_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_countAliases_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_getSortKey_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_get_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined referenceexamples/CMakeFiles/mobilenetv2ssdlite.dir/build.make:100: recipe for target 'examples/mobilenetv2ssdlite' failed to
uenum_next_58'make[2]: *** [examples/mobilenetv2ssdlite] Error 1
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_toUnicode_58' collect2: error: ld returned 1 exit status CMakeFiles/Makefile2:311: recipe for target 'examples/CMakeFiles/mobilenetv2ssdlite.dir/all' failed make[1]: *** [examples/CMakeFiles/mobilenetv2ssdlite.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... examples/CMakeFiles/yolov2.dir/build.make:100: recipe for target 'examples/yolov2' failed make[2]: *** [examples/yolov2] Error 1 CMakeFiles/Makefile2:348: recipe for target 'examples/CMakeFiles/yolov2.dir/all' failed make[1]: *** [examples/CMakeFiles/yolov2.dir/all] Error 2 [ 91%] Linking CXX executable nanodetplus_pnnx /usr/bin/ld: warning: libicui18n.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libicuuc.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libicudata.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
u_errorName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_setMillis_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getAlias_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_inDaylightTime_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
u_strToLower_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_getStandardName_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
u_strToUpper_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_setSubstChars_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getMaxCharSize_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_getTimeZoneDisplayName_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_fromUnicode_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_open_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getDefaultName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_getDefaultTimeZone_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_clone_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_getDSTSavings_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_strcoll_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_countAvailable_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_openCountryTimeZones_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_open_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_compareNames_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_close_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_getAvailableName_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_openTimeZoneIDEnumeration_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_open_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_setAttribute_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_openTimeZones_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
uenum_close_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_countAliases_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_close_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_getSortKey_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_get_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to uenum_next_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_toUnicode_58'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/p2pnet.dir/build.make💯 recipe for target 'examples/p2pnet' failed
make[2]: *** [examples/p2pnet] Error 1
CMakeFiles/Makefile2:274: recipe for target 'examples/CMakeFiles/p2pnet.dir/all' failed
make[1]: *** [examples/CMakeFiles/p2pnet.dir/all] Error 2
/usr/bin/ld: warning: libicui18n.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.58, needed by //home/linkpi/anaconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to u_errorName_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_setMillis_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_getAlias_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_inDaylightTime_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to u_strToLower_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getStandardName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to u_strToUpper_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_setSubstChars_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_getMaxCharSize_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_getTimeZoneDisplayName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_fromUnicode_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_open_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_getDefaultName_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_getDefaultTimeZone_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_clone_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_getDSTSavings_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_strcoll_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_close_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucnv_countAvailable_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_openCountryTimeZones_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_open_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_compareNames_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_getAvailableName_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_openTimeZoneIDEnumeration_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_open_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_setAttribute_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucal_openTimeZones_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to uenum_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucnv_countAliases_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucol_close_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
ucol_getSortKey_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to ucal_get_58' //home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to
uenum_next_58'
//home/linkpi/anaconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_toUnicode_58'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/nanodetplus_pnnx.dir/build.make💯 recipe for target 'examples/nanodetplus_pnnx' failed
make[2]: *** [examples/nanodetplus_pnnx] Error 1
CMakeFiles/Makefile2:385: recipe for target 'examples/CMakeFiles/nanodetplus_pnnx.dir/all' failed
make[1]: *** [examples/CMakeFiles/nanodetplus_pnnx.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
4条答案
按热度按时间mznpcxlj1#
ubuntu16.04虚拟机,gcc 5.4.0, protoc=2.6.1, opencv3.4.3
6psbrbz92#
这问题跟 ncnn 无关。
看日志,应该是 qt 的依赖库没装好
建议自行百度查一下
t8e9dugd3#
要不你在anaconda外面编一下试试?
fhity93d4#
谢谢大佬,我是交叉编译的,目前编译通过,但是输出目录有点错误,不知道有无影响,编译器是aarch64-linux-himix200-g++和对应的gcc