/usr/bin/ld: warning: libicui18n.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) makefile:44: recipe for target 'DenseOpticalFlow' failed [closed]

asked 2016-02-07 01:06:29 -0500

santhoshkelathodi gravatar image

I am trying to compile a simple program to load an image in code block and eclipse. I am getting the following compilation error

I tried reinstalling qt by using the command as suggested by some people in some other groups.

sudo apt-get install qt5-default qttools5-dev-tools

But no use. Anyone got a solution for this?


12:06:56 * Build of configuration Release for project DenseOpticalFlow * make all Building file: ../main.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include/opencv -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp" Finished building: ../main.cpp

Building target: DenseOpticalFlow Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "DenseOpticalFlow" ./main.o -lopencv_core -lopencv_highgui -lopencv_imgcodecs /usr/bin/ld: warning: libicui18n.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) makefile:44: recipe for target 'DenseOpticalFlow' failed /usr/bin/ld: warning: libicuuc.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libicudata.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_clone_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference touenum_next_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to u_strToLower_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_getStandardName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_setAttribute_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_setMillis_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_strcoll_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_setSubstChars_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_getTimeZoneDisplayName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_openCountryTimeZones_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_fromUnicode_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_open_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_getDefaultName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucol_open_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_inDaylightTime_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_getSortKey_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_getAvailableName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_get_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ...

(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2016-02-07 04:50:42.061714

Comments

this is a qt problem, not an opencv one.

berak gravatar imageberak ( 2016-02-07 01:26:11 -0500 )edit