[openrtm-users 02273] Re: Building RTC:stage

Geoffrey Biggs geoffrey.biggs @ aist.go.jp
2011年 10月 17日 (月) 10:13:37 JST


Hi Matthieu,

That's certainly odd. It works fine on mine, which means there's some 
subtle difference between our systems causing the problem.

Can you please check what is in the directory "include/rtcstage/idl" in 
your build directory? There should be three files:

~/src/rtcstage/build $ ls include/rtcstage/idl/
stage_services.hh  stage_servicesDynSK.cc  stage_servicesSK.cc

Can you also please try running this command and sending the output?
$ VERBOSE=1 make

Geoff

On 17/10/11 09:46, Matthieu BOUSSARD wrote:
> Hi Geoffrey,
>
> Here's the result of the Cmake on a clone from git :
>
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/lib/ccache/gcc
> -- Check for working C compiler: /usr/lib/ccache/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/lib/ccache/c++
> -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Found OpenRTM: /usr/include (Required is at least version "1")
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
> found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/libX11.so
> -- Found OpenGL: /usr/lib/libGL.so
> -- Found FLTK:
> /usr/lib/libfltk_images.so;/usr/lib/libfltk_forms.so;/usr/lib/libfltk_gl.so;/usr/lib/libGL.so;/usr/lib/libfltk.so
>
> -- Found Stage: /usr/local/include/Stage-4.0;/usr/include (Required is
> at least version "4")
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /localdisk/mboussar/rtcstage/build
>
> and the result from the make
> Dans le fichier inclus à partir de
> /localdisk/mboussar/rtcstage/include/rtcstage/rtcstage.h:33,
> à partir de /localdisk/mboussar/rtcstage/src/rtcstage.cpp:30:
> /localdisk/mboussar/rtcstage/include/rtcstage/model_proxy.h:33:42:
> erreur: rtcstage/idl/stage_services.hh : Aucun fichier ou dossier de ce
> type
> In file included from
> /localdisk/mboussar/rtcstage/include/rtcstage/rtcstage.h:33,
> from /localdisk/mboussar/rtcstage/src/rtcstage.cpp:30:
> /localdisk/mboussar/rtcstage/include/rtcstage/model_proxy.h:49: erreur:
> expected class-name before ‘,’ token
> /localdisk/mboussar/rtcstage/include/rtcstage/model_proxy.h:56: erreur:
> ‘Geometry2D’ in namespace ‘RTC’ does not name a type
> In file included from /localdisk/mboussar/rtcstage/src/rtcstage.cpp:30:
> /localdisk/mboussar/rtcstage/include/rtcstage/rtcstage.h:89: erreur: ISO
> C++ forbids declaration of ‘ModelLaser’ with no type
> /localdisk/mboussar/rtcstage/include/rtcstage/rtcstage.h:89: erreur:
> invalid use of ‘::’
> /localdisk/mboussar/rtcstage/include/rtcstage/rtcstage.h:89: erreur:
> expected ‘;’ before ‘*’ token
> In file included from /localdisk/mboussar/rtcstage/src/rtcstage.cpp:34:
> /localdisk/mboussar/rtcstage/include/rtcstage/gripper_proxy.h:44:
> erreur: expected class-name before ‘,’ token
> In file included from /localdisk/mboussar/rtcstage/src/rtcstage.cpp:35:
> /localdisk/mboussar/rtcstage/include/rtcstage/laser_proxy.h:56: erreur:
> ISO C++ forbids declaration of ‘ModelLaser’ with no type
> /localdisk/mboussar/rtcstage/include/rtcstage/laser_proxy.h:56: erreur:
> invalid use of ‘::’
> /localdisk/mboussar/rtcstage/include/rtcstage/laser_proxy.h:56: erreur:
> expected ‘;’ before ‘*’ token
> In file included from /localdisk/mboussar/rtcstage/src/rtcstage.cpp:36:
> /localdisk/mboussar/rtcstage/include/rtcstage/position_proxy.h:44:
> erreur: expected class-name before ‘,’ token
> make[2]: *** [src/CMakeFiles/rtcstage.dir/rtcstage.cpp.o] Erreur 1
> make[1]: *** [src/CMakeFiles/rtcstage.dir/all] Erreur 2
> make: *** [all] Erreur 2
>
>
> Matthieu
>
> Geoffrey Biggs a écrit :
>> Hi Matthieu,
>>
>> Did you clean out your build directory after updating from Github?
>> There were some pretty significant changes to the CMake files in the
>> update.
>>
>> If that doesn't make a difference, can you post the CMake output here?
>>
>> Geoff
>>
>> On 14/10/11 09:36, Matthieu BOUSSARD wrote:
>>> Hi Geoffrey,
>>>
>>> Thank you for the update, Actually I still have got some issues. Even
>>> the cmake commands ran perfectly, It looks like the stage_services.hh is
>>> not generated from stage_services.idl. If I generate it manually it's
>>> still not found by the makefile. Am I making a mistake in my include ?
>>>
>>>
>>> Matthieu
>>>
>>>
>>> Geoffrey Biggs a écrit :
>>>> Hi Matthieu,
>>>>
>>>> I've finished updating the component. I haven't had time to test it yet
>>>> beyond confirming that it starts a simulation. You can get it from the
>>>> github repository. Let me know if you have any more problems.
>>>>
>>>> Geoff
>>>>
>>>> On 13/10/11 09:25, Matthieu BOUSSARD wrote:
>>>>> Thank you very much, I'm looking forward to trying it. Will you post a
>>>>> message to confirm once the update finished ?
>>>>>
>>>>> Matthieu
>>>>>
>>>>> Geoffrey Biggs a ���crit :
>>>>>> It looks like the HEAD version of stage has progressed considerably
>>>>>> since the component was released. I will take a look at updating the
>>>>>> component today. In the mean time, checking out the Stage source from
>>>>>> about November last year should give you a version of Stage that the
>>>>>> component will work with.
>>>>>>
>>>>>> Geoff
>>>>>>
>>>>>> On 11/10/11 18:20, Matthieu BOUSSARD wrote:
>>>>>>> Dear Sir,
>>>>>>>
>>>>>>> I'd like to build RTC::stage component but I'm facing the following
>>>>>>> issues :
>>>>>>>
>>>>>>> I couldn't find where is Stg::ModelLaser class defined, thus I
>>>>>>> got the
>>>>>>> following error :
>>>>>>> rtcstage-1.0.0/comp/rtcstage.h:60: erreur: ISO C++ forbids
>>>>>>> declaration
>>>>>>> of ��ModelLaser�� with no type
>>>>>>> rtcstage-1.0.0/comp/rtcstage.h:60: erreur: invalid use of ��::��
>>>>>>> rtcstage-1.0.0/comp/rtcstage.h:60: erreur: expected ��;�� before
>>>>>>> ��*�� token
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Also pose_rel, I believed should is defined in stage.hh , but was
>>>>>>> commented when I downloaded the sources thus the following error.
>>>>>>>
>>>>>>> rtcstage-1.0.0/proxies/fiducial_proxy.cpp:47: erreur: ��class
>>>>>>> Stg::ModelFiducial::Fiducial�� has no member named ��pose_rel��
>>>>>>>
>>>>>>> At the time I only made a directory, ran cmake , then make. I'm
>>>>>>> using
>>>>>>> the following programs :
>>>>>>>
>>>>>>> rtcstage-1.0.0
>>>>>>> rtv-Stage-508538b
>>>>>>> player-3.0.2
>>>>>>> openrtm 1.0.0
>>>>>>>
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Matthieu Boussard
>>>>>>> _______________________________________________
>>>>>>> openrtm-users mailing list
>>>>>>> openrtm-users @ openrtm.org
>>>>>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>>>>>> _______________________________________________
>>>>>> openrtm-users mailing list
>>>>>> openrtm-users @ openrtm.org
>>>>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> openrtm-users mailing list
>>>>> openrtm-users @ openrtm.org
>>>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> openrtm-users mailing list
>>>>> openrtm-users @ openrtm.org
>>>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>>>> _______________________________________________
>>>> openrtm-users mailing list
>>>> openrtm-users @ openrtm.org
>>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>>>
>>> _______________________________________________
>>> openrtm-users mailing list
>>> openrtm-users @ openrtm.org
>>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>> _______________________________________________
>> openrtm-users mailing list
>> openrtm-users @ openrtm.org
>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users


openrtm-users メーリングリストの案内