[MacPorts] #21014: OpenCV 1.0.0 does not build on snow leopard

MacPorts noreply at macports.org
Sun Feb 21 10:02:57 PST 2010


#21014: OpenCV 1.0.0 does not build on snow leopard
-------------------------------------------+--------------------------------
  Reporter:  grundmann.matthias@…          |       Owner:  ryandesign@…           
      Type:  defect                        |      Status:  closed                 
  Priority:  Normal                        |   Milestone:                         
 Component:  ports                         |     Version:  1.8.0                  
Resolution:  fixed                         |    Keywords:  LP64                   
      Port:  opencv                        |  
-------------------------------------------+--------------------------------

Comment(by ryanlei750328@…):

 Replying to [comment:50 ryandesign@…]:
 > Updated and fixed in r64069.

 Cheers and many thanks! The revision log says:
 "ensure 32-bit-only system libs like '''quicktime''' and '''carbon'''
 don't get used when building 64-bit", and
 "ensure '''python''' stuff doesn't get built",
 but somehow it's finally fixed.

 May I ask two OpenCV questions:

 == 1. Is there any way to get ''Logitech QuickCam Vision Pro for Mac'' to
 work with OpenCV on Snow Leopard? ==
 I used to do with the "make_framework.sh" script which successfully
 detects ''iSight'' via the following configurations:
 {{{
 HighGUI configuration ================================================

     Windowing system --------------
     Use Carbon / Mac OS X:    yes
     Use gtk+ 2.x:             no
     Use gthread:              no

     Image I/O ---------------------
     Use ImageIO / Mac OS X:   yes
     Use libjpeg:              no
     Use zlib:                 no
     Use libpng:               no
     Use libtiff:              no
     Use libjasper:            no
     Use libIlmImf/OpenEXR:    no

     Video I/O ---------------------
     Use QuickTime / Mac OS X: yes
     Use xine:                 no
     Use gstreamer:            no
     Use ffmpeg:               no
     Use dc1394 & raw1394:     no
     Use dc1394_v2 & raw1394:  no
     Use v4l:                  no
     Use v4l2:                 no
     Use unicap:               no
 }}}
 Now that quicktime and carbon are dropped, how can we handle
 image/video/camera I/O and GUI? Both the Macports and CMake ways.

 == 2. Can someone contribute to the Mac_OS_X_OpenCV_Port page on
 willowgarage? ==
 I mean the section '''Building using the new CMake build system''' of the
 page [http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port
 Mac_OS_X_OpenCV_Port].
 The instructions are not enough and are often outdated. I've struggling
 with the latest SVN using CMake. Basically I need some detailed help on
 "ccmake settings" and "what to do in Xcode" and "prerequisites for
 image/video support". Currently I have the following errors:
 {{{
 highgui/ffmpeg/avcodec.h: No such file or directory
 highgui/cvcap_ffmpeg.cpp:90:31: error: ffmpeg/avformat.h: No such file or
 directory
 highgui/cvcap_ffmpeg.cpp:152: error: 'CODEC_ID_H264' was not declared in
 this scope
 }}}
 Installing ffmpeg-devel from Macports or building ffmpeg from SVN does not
 solve this problem. For the latter, I did move the headers to
 /usr/local/include/ffmpeg and the libraries to /usr/local/lib, but I still
 got a "file not found" error.

 Thanks again.

-- 
Ticket URL: <http://trac.macports.org/ticket/21014#comment:51>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list