Quantcast

Linux v1.10 build with opencv (-qt4)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Linux v1.10 build with opencv (-qt4)

ben simons
Hi,

We're running gentoo linux, and just built Equalizer v1.10. During the build, there was this error:

[ 89%] Creating eqPly kd-Tree for rockerArm.ply
/bin/sh: line 1: 17713 Segmentation fault      ../../bin/eqPlyConverter /touro/dev/equalizer/v1.10/examples/eqPly/rockerArm.ply
examples/eqPly/CMakeFiles/rockerArm.ply.le64.bin.dir/build.make:58: recipe for target 'examples/eqPly/CMakeFiles/rockerArm.ply.le64.bin' failed
make[2]: *** [examples/eqPly/CMakeFiles/rockerArm.ply.le64.bin] Error 139
CMakeFiles/Makefile2:17249: recipe for target 'examples/eqPly/CMakeFiles/rockerArm.ply.le64.bin.dir/all' failed
make[1]: *** [examples/eqPly/CMakeFiles/rockerArm.ply.le64.bin.dir/all] Error 2

It turns out eqPlyConverter (which is run during the build) would Segv (see above). Darren Lee traced it and found eqPlyConverter linked with opencv. The current version of opencv (media-libs/opencv-2.4.9:0/2.4) builds with qt4 by default. To successfully compile, opencv can be emerged without qt4. Then Equalizer builds successfully.

ie: if you're running gentoo linux, put this line  in /etc/portage/package.use

>=media-libs/opencv-2.4.9 -qt4

and then "emerge opencv" again  (this will build opencv without qt4).  
Another alternative might be to build equalizer without opencv - but then there's no opencv.. (?)

HTH,
ben.
Loading...