This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robotsoftware:mobotware:mobotware-ros [2011/11/23 22:42] claes |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Compile MobotWare with ROS Electric ====== | ||
- | DONT DO IT IT WILL FUCK UP YOUR COMPUTER!!!!!!!!!!!!! | ||
- | First remove | ||
- | libcv-dev | ||
- | libhighgui | ||
- | if you haven´t removed them, they will be removed automatically when you install ROS. | ||
- | |||
- | Then [[robotsoftware: | ||
- | |||
- | Execute these commands | ||
- | sudo ln -s / | ||
- | sudo ln -s / | ||
- | | ||
- | Update | ||
- | / | ||
- | so it look like this | ||
- | < | ||
- | # Package Information for pkg-config | ||
- | |||
- | prefix=/usr | ||
- | exec_prefix=${prefix} | ||
- | libdir=${exec_prefix}/ | ||
- | includedir_old=${prefix}/ | ||
- | includedir_new=${prefix}/ | ||
- | |||
- | Name: OpenCV | ||
- | Description: | ||
- | Version: 2.3.1 | ||
- | # | ||
- | Libs: -L${exec_prefix}/ | ||
- | Cflags: -I${includedir_old} -I${includedir_new} | ||
- | </ | ||
- | |||
- | Change following make files:(This is only the first file that has to be updated. Try to find a solution so it can all be written in one file so you don´t have to change it.) | ||
- | |||
- | |||
- | / | ||
- | Remove | ||
- | < | ||
- | | ||
- | -lcv | ||
- | </ | ||
- | From the LDFLAGS | ||
- | <sxh java; highlight: [1]; title: Changes in ulmsserver makefile> | ||
- | LDFLAGS = -g3 -O0 -L../../lib -lurob4o -lugen4o -lumap4o -lcxcore -lcv -ldl -rdynamic \ | ||
- | -lcurses -lreadline -lpng -liau_mat | ||
- | #-lcxcore -lcv | ||
- | # -L/usr/lib `pkg-config opencv-2.3.1 --libs` | ||
- | </ | ||
- | Insert | ||
- | < | ||
- | in LDFLAGS | ||
- | <sxh java; highlight: [1]; title: Changes in ulmsserver makefile> | ||
- | LDFLAGS = -g3 -O0 -L../../lib -lurob4o -lugen4o -lumap4o -L/usr/lib `pkg-config opencv-2.3.1 --libs` -ldl -rdynamic \ | ||
- | -lcurses -lreadline -lpng -liau_mat | ||
- | #-lcxcore -lcv | ||
- | # -L/usr/lib `pkg-config opencv-2.3.1 --libs` | ||
- | </ |