[MacPorts] #21014: OpenCV 1.0.0 does not build on snow leopard
MacPorts
noreply at macports.org
Tue Sep 1 21:53:32 PDT 2009
#21014: OpenCV 1.0.0 does not build on snow leopard
------------------------------------------+---------------------------------
Reporter: grundmann.matthias@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port:
------------------------------------------+---------------------------------
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.
--
Ticket URL: <http://trac.macports.org/ticket/21014>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list