[MacPorts] #23806: opencv @2.0.0 build failure
MacPorts
noreply at macports.org
Fri Feb 26 20:58:41 PST 2010
#23806: opencv @2.0.0 build failure
---------------------------------------+------------------------------------
Reporter: matteo.soccorsi@… | Owner: stante@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: opencv
---------------------------------------+------------------------------------
Comment(by ryanlei750328@…):
I don't know by whom and how it was fixed. But it works now! Thanks.
{{{
---> Fetching opencv
---> Verifying checksum(s) for opencv
---> Extracting opencv
---> Configuring opencv
---> Building opencv
---> Staging opencv into destroot
---> Installing opencv @2.0.0_0
---> Activating opencv @2.0.0_0
---> Cleaning opencv
}}}
Regarding the "file not found" problems, you can fix the ffmpeg links like
[http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-
koala/ this]:
{{{
sudo mkdir /opt/local/include/ffmpeg
cd /opt/local/include/ffmpeg
sudo ln -s /opt/local/include/libavcodec/avcodec.h avcodec.h
sudo ln -s /opt/local/include/libavformat/avformat.h avformat.h
sudo ln -s /opt/local/include/libswscale/swscale.h swscale.h
sudo ln -s /opt/local/include/libavformat/avio.h avio.h
sudo ln -s /opt/local/include/libavutil/avutil.h avutil.h
}}}
by setting links ffmpeg/xxx.h to /opt/local/include/libxxx/xxx.h.
--
Ticket URL: <http://trac.macports.org/ticket/23806#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list