Building RobWork on OS X 10.6 (snow leopard)

15 views
Skip to first unread message

Palm

unread,
Nov 6, 2009, 2:29:55 PM11/6/09
to RobWork
Ok, i finally had a bit more time to sit down and look at this build.

I'm using boost 1.40.0 build from macports, and it looks like i may
have to go out of my packaging system for this one, because i'm
getting a lot of build errors pertaining to boost.
Perhaps robwork is made for boost 1.38, because i'm getting deprecated
header warnings from boost.

I'm also getting these:
/opt/local/include/boost/spirit/home/phoenix/stl/container/
container.hpp:14:0 /opt/local/include/boost/spirit/home/phoenix/stl/
container/container.hpp:14:3: error: #error "PHOENIX_LIMIT is set too
low"

As well as about 1700 other boost-related errors when trying to build.

Any hints on what version to use and how to install it to work?

Jimmy Jorgensen

unread,
Nov 6, 2009, 4:17:45 PM11/6/09
to rob...@googlegroups.com

I have used both 1.34 and 1.39 without any problems.

lpell...@gmail.com

unread,
Nov 6, 2009, 5:00:01 PM11/6/09
to rob...@googlegroups.com
I have mainly been using 1.38 and therefore do not know if there are any interface changes in 1.40 which might break something. If possible I will suggest you try this version af boost.

I will see if I can find the time to try out boost 1.40 next week, even though I suspect it might be a mac related problem.

- Lars-Peter

Palm

unread,
Nov 6, 2009, 10:22:28 PM11/6/09
to RobWork
I have a couple of gimp addons that depends on boost, and they work
fine on snow leopard with boost 1.40, but i'll try building a 1.38 and
see if that helps

Palm

unread,
Nov 10, 2009, 2:12:08 AM11/10/09
to RobWork
1.38 does get much better results, i only have a couple of boost-
related errors now, and i haven't looked much into it yet.

The main problem is with xerces, there's a lot of code calling xerces-
function and it seems hard/impossible to compile the core robwork
package without xerces.

We need to use this for our project this week, so i hope we can come
up with a solution to this problem fairly quickly (preferably without
me having to run it in a VM :)

Cheers
Anders

On Nov 6, 11:00 pm, lpelleki...@gmail.com wrote:

Lars-Peter Ellekilde

unread,
Nov 10, 2009, 5:33:25 AM11/10/09
to rob...@googlegroups.com
Perhaps we have some Xerces dependencies which are not taken care of in the CMakeFiles and therefore is still included. I will try to look into it this afternoon.

With respect to Xerces 3.0 I will haven't found the time to try it out, but it is still high on my todo list.

Best regards
Lars-Peter

Med venlig hilsen

Lars-Peter Ellekilde
Adjunkt, Mærsk Mc-Kinney Møller Instituttet

Tlf. 6550 3548
Fax 6550 3681
Email l...@mmmi.sdu.dk
Web http://www.sdu.dk
Adr. Niels Bohrs Allé 1, 5230 Odense M

SYDDANSK UNIVERSITET
_______________________________________________________________
Campusvej 55 * 5230 * Odense M * Tlf. 6550 1000 * www.sdu.dk

Lars-Peter Ellekilde

unread,
Nov 10, 2009, 7:29:23 AM11/10/09
to rob...@googlegroups.com
Hi
I can see that we have one xerces dependency which is not disabled by setting USE_XERCES to OFF. To fix this I have created a new CMakeLists.txt file. You you replace the CMakeLists.txt file in
the directory RobWork/src/rwlibs/task/ with the one attached.

- Lars-Peter
CMakeLists.txt
Reply all
Reply to author
Forward
0 new messages