[MacPorts] #21014: OpenCV 1.0.0 does not build on snow leopard
MacPorts
noreply at macports.org
Wed Sep 2 06:59:23 PDT 2009
#21014: OpenCV 1.0.0 does not build on snow leopard
------------------------------------------+---------------------------------
Reporter: grundmann.matthias@… | Owner: stante@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: LP64 | Port: opencv
------------------------------------------+---------------------------------
Comment(by grundmann.matthias@…):
Replying to [ticket:21014 grundmann.matthias@…]:
> 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.
>
Added some patched portfiles, that remove quicktime and carbon support.
Compiles and Installs in 64bit on snowleopard.
--
Ticket URL: <http://trac.macports.org/ticket/21014#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list