Unable to complete software build on r8551 (Bug #2012)


Added by Juan Carlos Borrás almost 13 years ago. Updated over 12 years ago.


Status:Done Start date:2012-06-03
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:build/install
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Hi all,
As the subject says. Compilation went smoothly but the problem started when linking the libs, in particular opencv_world:

Linking CXX shared library ../../lib/libopencv_world.so
  1. ... 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:::::::::::::::
  2. 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!


jcb_build.all - All messages from the build process (1.1 MB) Juan Carlos Borrás, 2012-06-05 03:30 pm

jcb_build.out - stdout output from the build process (1.1 MB) Juan Carlos Borrás, 2012-06-05 03:30 pm

jcb_build.err - stderr output from the build process (45.8 kB) Juan Carlos Borrás, 2012-06-05 03:30 pm


Associated revisions

Revision 5a41c650
Added by Andrey Kamaev almost 13 years ago

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

Also available in: Atom PDF