Kevin, no need to change mine to not have deps, you can force it to install and ignore the deps if you want to use macport's for deps.
Brian,I finally got Homebrew working with only OpenCV 2.3.1 in it. The rest of my needs are satisfied with Macports. I changed William's opencv.rb formula so that it doesn't have any depends in it, shown below:require 'formula'class Opencv < Formulaversion "2.3.1"homepage 'http://opencv.willowgarage.com/wiki/'md5 '827c9f8aa14384c531c73aa165f9b777'def installmakefiles = "cmake . "system makefilessystem "make"system "make install"enddef caveats; <<-EOS.undentThe OpenCV Python module will not work until you edit your PYTHONPATH like so:export PYTHONPATH="#{HOMEBREW_PREFIX}/lib/python2.7/site-packages/:$PYTHONPATH"To make this permanent, put it in your shell's profile (e.g. ~/.profile).EOSendendIt compiles and installs fine. Later I will play with changing options (tbb, eigen, ffmpeg, etc), but this appears to compile most of what I need (python 2.7, QT, etc).My problem now is, when I run some of my code that uses OpenCV, it crashes with "terminate called throwing an exceptionAbort trap: 6" and I have no idea what is going on. The really weird thing is when I switch back to my Diamondback ROS, using this same code (just recompiling to ensure it is using this Homebrew OpenCV) no crash, so I am thinking it is not Homebrew OpenCV but something else.On Sep 2, 2011, at 2:44 PM, Brian Gerkey wrote:On Fri, Sep 2, 2011 at 10:37 AM, Kevin Walchko <kevin.walchko@gmail.com> wrote:
I don't like installing source code I can't easily remove. That is why I put up with macports.
hi Kevin,
That's a fair point. But it's also an indictment of entire source
rosdep approach to pulling in third-party stuff. Can you suggest an
alternative?
We need a way to install code that isn't available (or at least isn't
available at the needed version, or in the needed configuration) from
an OS's package manager.
brian.
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users