Re: [ros-users] [FreeBSD] compiler command line gets mangled…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rene Ladan
Date:  
To: ros-users
Subject: Re: [ros-users] [FreeBSD] compiler command line gets mangled inrxtools ?
On 27-05-2010 19:10, Brian Gerkey wrote:
> On Thu, May 27, 2010 at 7:40 AM, René Ladan <> wrote:
>>
>> While building ros-boxturtle (revision 9742 and the patch at
>> ftp://rene-ladan.nl/pub/freebsd/ros-boxturtle-9491.diff) on FreeBSD,
>> everything now builds
>> fine until the build stops in rxtools (some messages from gmake are in Dutch):
>
>> Looking inside the build directory, the semicolon before -D_THREAD_SAFE in
>> /home/rene/ros/tools/rxtools/build/CMakeFiles/rxtools.dir/link.txt
>> looks suspicious (-Wl,-rpath
>> -L, and -l arguments omitted for readability, -lboost_thread is one of them):
>>
>> /usr/bin/c++ -fPIC -pthread;-D_THREAD_SAFE -O2 -g -pthread -shared
>
> hi Rene,
>
> The semicolon is almost certainly causing the problem. The semicolon
> is CMake's list separator, which makes me suspect that the problem is
> in CMake code somewhere.
>
> Looks like you're not the only one to encounter this issue with CMake
> on FreeBSD, e.g.:
> http://www.luxrender.net/forum/viewtopic.php?f=22&t=2788 .
>
> Common between that instance and rxtools is the use of wxWidgets. So
> I would guess that there's a bug in CMake's FindwxWidgets.cmake,
> perhaps specific to FreeBSD and/or the version of CMake you're using.
>

Hi Brian,

I'll see if it can be fixed on FreeBSD, it indeed looks like a bug.
Thanks for the explanations.

Rene
--
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)