Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373087 - media-libs/opencv-2.2.0-r10: build fails if dev-cpp/eigen:3 is installed
Summary: media-libs/opencv-2.2.0-r10: build fails if dev-cpp/eigen:3 is installed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 08:15 UTC by Bogdan B
Modified: 2011-07-10 17:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan B 2011-06-26 08:15:56 UTC
media-libs/opencv has the option to enable usage of dev-cpp/eigen for computations via the eigen use flag. however, this requires dev-cpp/eigen:2. If dev-cpp/eigen:3 is installed beforehand, the build of media-libs/opencv fails, even with the eigen use flag disabled.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-cpp/eigen:3
2. emerge media-libs/opencv
Actual Results:  
[35m[1mScanning dependencies of target opencv_traincascade
[ 57%] [32mBuilding CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/oneway.o
[0m[0m[ 57%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/traincascade.o
[0m[ 57%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/cascadeclassifier.o
[0m[ 57%] [32mBuilding CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.o
[0m[ 58%] [32mBuilding CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/stardetector.o
[0m[ 58%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/boost.o
[0m[ 58%] [32mBuilding CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/brief.o
[0m[ 58%] [32mBuilding CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.o
[0mIn file included from /var/tmp/paludis/media-libs-opencv-2.2.0-r10/work/OpenCV-2.2.0/modules/features2d/src/matchers.cpp:45:0:
/usr/include/eigen3/Eigen/Array:8:4: error: #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
[ 59%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/features.o
[0mmake[2]: *** [modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.o] Error 1
make[1]: *** [modules/features2d/CMakeFiles/opencv_features2d.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/haarfeatures.o
[0m[ 59%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/lbpfeatures.o
[0m[ 59%] [32mBuilding CXX object modules/traincascade/CMakeFiles/opencv_traincascade.dir/imagestorage.o
[0m[31m[1mLinking CXX executable ../../bin/opencv_traincascade
[0m[ 59%] Built target opencv_traincascade
make: *** [all] Error 2

Expected Results:  
It should build without trying to use eigen at all, if use flag is disabled.
Comment 1 Pacho Ramos gentoo-dev 2011-07-01 19:04:29 UTC
Please attach full build.log
Comment 2 Pacho Ramos gentoo-dev 2011-07-10 17:18:47 UTC
(In reply to comment #1)
> Please attach full build.log

Please reopen when you provide needed info, thanks