Ticket #21014 (closed defect: fixed)
OpenCV 1.0.0 does not build on snow leopard
Description
Currently, OpenCV does not compile on SnowLeopard for architecture x86_64.
First it returns errors for dummy.cpp of the form: dummy.cpp:1: error: CPU you selected does not support x86-64 instruction set
These errors are caused by the -march=prescott setting. I can get around those errors by adding
-march=nocona -mtune=generic
to the configure.cxxflags-append section of the Portfile.
However, I get a lot of errors in the
window_carbon.cpp file, like
Command output: window_carbon.cpp:296: error: 'SetWindowBounds' was not declared in this scope
:296: error: 'SetWindowBounds' was not declared in this scope
I think this problem will be much harder to solve, when I understand it correctly there is no 64bit carbon, only 64 bit cocoa.
Any input would be appreciated.


