Unable to complete software build on r8551 (Bug #2012)
Description
Hi all,
As the subject says. Compilation went smoothly but the problem started when linking the libs, in particular opencv_world:
- ... huge link command here....
/usr/bin/c++ -fPIC -Wall -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -O3 -DNDEBUG -DNDEBUG @/home/jcb/src/svn-trees/opencv/opencv/release/modules/world/world_objects.rsp -shared -Wl,-soname,libopencv_world.so.2.4 -o ../../lib/libopencv_world.so.2.4.9 CMakeFiles/opencv_world.dir/src/precomp.cpp.o CMakeFiles/opencv_world.dir/src/world_init.cpp.o -L/opt/intel/ipp/lib/intel64 ../../3rdparty/lib/libzlib.a -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l ../../3rdparty/lib/libzlib.a ../../3rdparty/lib/liblibjpeg.a ../../3rdparty/lib/liblibpng.a ../../3rdparty/lib/liblibtiff.a ../../3rdparty/lib/liblibjasper.a -Wl,-Bdynamic -lQtOpenGL -lQtGui -lQtCore -lQtTest -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -ldl -lm -lpthread -lrt -lGLU -lGL -lSM -lICE -lX11 -lXext -ltbb -Wl,-Bstatic -lippvm_l -lippcc_l -lippcv_l -lippi_l -lipps_l -lippcore_l -Wl,-Bdynamic -lQtOpenGL -lQtGui -lQtCore -lQtTest ../../3rdparty/lib/libzlib.a -Wl,-rpath,/opt/intel/ipp/lib/intel64::::::::::::::: - And finally the error message:
c++: error: ../highgui/CMakeFiles/opencv_highgui.dir/__/__/release/modules/highgui/src/moc_window_QT.cxx.o: No such file or directory
c++: error: ../highgui/CMakeFiles/opencv_highgui.dir/__/__/release/modules/highgui/qrc_window_QT.cxx.o: No such file or directory
make2: *** [lib/libopencv_world.so.2.4.9] Error 1
Notice that the missing files do actually exist at:
./release/modules/highgui/CMakeFiles/opencv_highgui.dir/src/moc_window_QT.cxx.o
./release/modules/highgui/CMakeFiles/opencv_highgui.dir/qrc_window_QT.cxx.o
But that double "double score" dir spec kind of puzzles me....
Thanks in advance.
jcb!
Associated revisions
Fixed build of opencv_world with QT on linux #2012
History
Updated by Andrey Kamaev almost 13 years ago
Hi,
1) opencv_world is still experimental. So do not enable it if you are not going to debug build scripts yourself.
2) please, provide full cmake output.
- Category set to build/install
Updated by Juan Carlos Borrás almost 13 years ago
Indeed excluding _world from the build made the process run smoothly. Now I am a happy OpenCV user...
Do you still want the full output of the failed build?
Updated by Andrey Kamaev almost 13 years ago
Do you still want the full output of the failed build?
Yes, please. It might be helpful.
Updated by Juan Carlos Borrás almost 13 years ago
Let be it....
- File jcb_build.all added
- File jcb_build.out added
- File jcb_build.err added
Updated by Juan Carlos Borrás almost 13 years ago
Oh, BTW the build above was for svn's rev. 8560, but the error in _world still persists.
If you want me to repeat the tests just ask.
Updated by Vadim Pisarevsky almost 13 years ago
try to build OpenCV without Qt support, I think, the problem is caused by it.
- Assignee set to Andrey Kamaev
Updated by Andrey Kamaev almost 13 years ago
Most probably I've fixed a QT problem. Could you check build of opencv_world on the latest trunk?
- Target version set to 3.0
Updated by Juan Carlos Borrás almost 13 years ago
Build process finished with error status 0.
FWIW the build process comprised the generation of libopencv_world.so
You can tag the issue as closed/fixed any time.
Updated by Andrey Kamaev almost 13 years ago
Ok, thanks for your help.
- Status changed from Open to Done
Updated by Andrey Kamaev over 12 years ago
- Target version changed from 3.0 to 2.4.3