See also http://opencvlibrary.sourceforge.net/ (down at the moment of writing) 
where it says:
"The current distribution of OpenCV (0.9.7 beta 5) does *NOT* work with GCC 4.0 
or 4.1. Before compiling, you will have to run the configure script as follows: 
CXXFLAGS=-fno-strict-aliasing ./configure . GCC 4.0 will *NOT* (but 4.1 will) 
give *ANY* warning whatsoever that something is wrong (it is a bug of GCC 4.0), 
but it will *NOT* work, so you have been warned. If this option is not used 
with GCC 4.0 or 4.1, the resulting library has lots of errors as evidenced by 
failed tests in the test programs and the test programs segfaulting. 
Alternatively, you can also use the CVS version. The aliasing bugs are fixed in 
the CVS version."

I'll attach a patch when it finishes compiling...

-- 
Lots of warnings when compiling
https://launchpad.net/bugs/57585

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to