This is where I work, and yesterday if you haven’t already seen it on the news, we had our official opening of the new lab. It is now the biggest robotics research facility in the UK and potentially Europe! Here is an extract from a BBC report, via robot-house.co.uk. The TACTIP project mentioned is my research project…
So why all this Ogre3D, Kinect, OpenCV and Mac OS X? this is why, I have been preparing work for Chris Dickinson. You can see it Friday 18th at Bristol’s watershed venue.
Using eclipse or visual studio I am used to using post build scripts to move or edit any files after building my code. Xcode does not make this quite as easy as just an option in project settings. It can be done though. In a recent post I talked about rpath and install_name_tool to correct any libs packaged in to the mac application bundle. Until now I would use a separate script outside of Xcode to make these changes once I had built my app. XCode offers a run script build phase, but this doesn’t run post build, so changing files that don’t exist yet with inevitably fail. There is a way round this to automate all processes in one go.
To install opencv through macports its the usual sudo port install opencv. If you already have an old version of opencv you will get the following error;
---> Computing dependencies for opencv
---> Building opencv
Error: opencv 2.3.1a cannot be built while opencv 2.2.0 is installed and active.
Error: Please deactivate opencv 2.2.0 first.
Error: Target org.macports.build returned: incompatible opencv version active
Log for opencv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/opencv/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>