Problem installing gazebo (make)

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem installing gazebo (make)

domvito55
Someone knows how to solve this:

###################################################

[ 88%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
In file included from /usr/local/include/FL/fl_utf8.h:75,
                 from /usr/local/include/FL/Fl.H:39,
                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
/usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
make: ** [all] Erro 2

###################################################

Help-me please, I need this with urgency!
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Paul Osmialowski
I have the same and I know the workaround.

Before running cmake (ccmake) set CXXFLAGS to:
export CXXFLAGS=`fltk-config --cflags`

on my system fltk-config --cflags returns:
-I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT

This should be done by cmake scripts for Gazebo, unfortunately it is not.

Paul

On Mon, 19 Apr 2010, domvito55 wrote:

>
> Someone knows how to solve this:
>
> ###################################################
>
> [ 88%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> In file included from /usr/local/include/FL/fl_utf8.h:75,
>                 from /usr/local/include/FL/Fl.H:39,
>                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been declared
> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> make: ** [all] Erro 2
>
> ###################################################
>
> Help-me please, I need this with urgency!
> Thanks
> --
> View this message in context: http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------

_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Scott Biddlestone-2
What version of CMake are you using?

Gazebo uses the FindFLTK.cmake module provided by cmake.

Gentoo had some issues with this:
http://public.kitware.com/mantis/bug_view_page.php?bug_id=7809&history=1

On my Gentoo box I have cmake-2.6.4-r3 and fltk-1.1.9-r1 ( and 2.0
slotted ) and gazebo configures and compiles without manually setting
the CXXFLAGS.
I do remember having problems with fltk awhile back, so you may just
need to sync and update cmake.

Hope that helps,
  Scott


2010/4/27 Paul Osmialowski <[hidden email]>:

> I have the same and I know the workaround.
>
> Before running cmake (ccmake) set CXXFLAGS to:
> export CXXFLAGS=`fltk-config --cflags`
>
> on my system fltk-config --cflags returns:
> -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
>
> This should be done by cmake scripts for Gazebo, unfortunately it is not.
>
> Paul
>
> On Mon, 19 Apr 2010, domvito55 wrote:
>
>>
>> Someone knows how to solve this:
>>
>> ###################################################
>>
>> [ 88%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
>> In file included from /usr/local/include/FL/fl_utf8.h:75,
>>                from /usr/local/include/FL/Fl.H:39,
>>                from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>>                from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
>> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been declared
>> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
>> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
>> make: ** [all] Erro 2
>>
>> ###################################################
>>
>> Help-me please, I need this with urgency!
>> Thanks
>> --
>> View this message in context:
>> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
>> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Paul Osmialowski


On Tue, 27 Apr 2010, Scott Biddlestone wrote:

> What version of CMake are you using?

[ebuild   R   ] dev-util/cmake-2.6.4-r3  USE="emacs qt4 -vim-syntax" 0 kB

>
> Gazebo uses the FindFLTK.cmake module provided by cmake.
>
> Gentoo had some issues with this:
> http://public.kitware.com/mantis/bug_view_page.php?bug_id=7809&history=1
>

As I can see, it should be fixed since cmake 2.6.3!

>
> On my Gentoo box I have cmake-2.6.4-r3 and fltk-1.1.9-r1 ( and 2.0
> slotted ) and gazebo configures and compiles without manually setting
> the CXXFLAGS.

I have the same:
[ebuild   R   ] x11-libs/fltk-2.0_pre6786-r1  USE="cairo jpeg opengl png
xft xinerama zlib -debug -doc" 0 kB
[ebuild   R   ] x11-libs/fltk-1.1.9-r1  USE="games opengl threads xft
xinerama -doc -examples" 0 kB

> I do remember having problems with fltk awhile back, so you may just
> need to sync and update cmake.
I'm syncing my Gentoo every week.

>
> Hope that helps,
>  Scott
>
If you're Gentoo user too, maybe you can give me a clue why can't I use
Gazebo on my Gentoo box? It fails at the start due to assertions caused by
boost functions:
gazebo: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void
boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)'
failed.

I have three slotted versions of boost installed:
[ebuild   R   ] dev-libs/boost-1.35.0-r5  USE="eselect expat icu python
tools -doc -mpi -test" 0 kB
[ebuild   R   ] dev-libs/boost-1.39.0  USE="eselect expat icu python tools
-debug -doc -mpi -test" 0 kB
[ebuild   R   ] dev-libs/boost-1.41.0-r3  USE="eselect expat icu python
tools -debug -doc -mpi -test" 0 kB

Although ccmake picks 1.35.0 by default, I tried to manually change it to
other versions too, result was always the same...

The strangest thing is I can use Gazebo on quite old Fedora 8 (with cmake,
ogre3d, freeimage and bullet built from sources), so why can't I do that
on a frequently updated system (with revdep-rebuild started after each
update)?

Paul

>
> 2010/4/27 Paul Osmialowski <[hidden email]>:
>> I have the same and I know the workaround.
>>
>> Before running cmake (ccmake) set CXXFLAGS to:
>> export CXXFLAGS=`fltk-config --cflags`
>>
>> on my system fltk-config --cflags returns:
>> -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
>>
>> This should be done by cmake scripts for Gazebo, unfortunately it is not.
>>
>> Paul
>>
>> On Mon, 19 Apr 2010, domvito55 wrote:
>>
>>>
>>> Someone knows how to solve this:
>>>
>>> ###################################################
>>>
>>> [ 88%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
>>> In file included from /usr/local/include/FL/fl_utf8.h:75,
>>>                from /usr/local/include/FL/Fl.H:39,
>>>                from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>>>                from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
>>> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been declared
>>> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
>>> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
>>> make: ** [all] Erro 2
>>>
>>> ###################################################
>>>
>>> Help-me please, I need this with urgency!
>>> Thanks
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
>>> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------

_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Scott Biddlestone-2
Hi Paul,

To get rid of the recursive_mutex problem remove the "threads" use
flag from ogre and reemerge ( apparently I hit this a long time ago
and forgot a about, but its in my notes ).  You have to do an emerge
-aC ogre before emerging again, during my reemerge it sometimes tries
to link to the previous ogre install.  Since this ebuild uses DeViL
and not Freeimage, some of my textures do not load correctly.  I
typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.

I did have a missing include path for FLTK.  Commenting out line 27 in
cmake/SearchForStuff.cmake ( set( FLTK_INCLUDE_DIR ... )  fixed that
since FindFLTK.cmake does not set the include directory it is already
set - even to a null value.  But you are right the rest of the
FLTK_CXXFLAGS are not used.

Good luck,
  -Scott

2010/4/27 Paul Osmialowski <[hidden email]>:

>
>
> On Tue, 27 Apr 2010, Scott Biddlestone wrote:
>
>> What version of CMake are you using?
>
> [ebuild   R   ] dev-util/cmake-2.6.4-r3  USE="emacs qt4 -vim-syntax" 0 kB
>
>>
>> Gazebo uses the FindFLTK.cmake module provided by cmake.
>>
>> Gentoo had some issues with this:
>> http://public.kitware.com/mantis/bug_view_page.php?bug_id=7809&history=1
>>
>
> As I can see, it should be fixed since cmake 2.6.3!
>
>>
>> On my Gentoo box I have cmake-2.6.4-r3 and fltk-1.1.9-r1 ( and 2.0
>> slotted ) and gazebo configures and compiles without manually setting
>> the CXXFLAGS.
>
> I have the same:
> [ebuild   R   ] x11-libs/fltk-2.0_pre6786-r1  USE="cairo jpeg opengl png
> xft xinerama zlib -debug -doc" 0 kB
> [ebuild   R   ] x11-libs/fltk-1.1.9-r1  USE="games opengl threads xft
> xinerama -doc -examples" 0 kB
>
>> I do remember having problems with fltk awhile back, so you may just
>> need to sync and update cmake.
>
> I'm syncing my Gentoo every week.
>
>>
>> Hope that helps,
>>  Scott
>>
> If you're Gentoo user too, maybe you can give me a clue why can't I use
> Gazebo on my Gentoo box? It fails at the start due to assertions caused by
> boost functions:
> gazebo: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void
> boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)'
> failed.
>
> I have three slotted versions of boost installed:
> [ebuild   R   ] dev-libs/boost-1.35.0-r5  USE="eselect expat icu python
> tools -doc -mpi -test" 0 kB
> [ebuild   R   ] dev-libs/boost-1.39.0  USE="eselect expat icu python tools
> -debug -doc -mpi -test" 0 kB
> [ebuild   R   ] dev-libs/boost-1.41.0-r3  USE="eselect expat icu python
> tools -debug -doc -mpi -test" 0 kB
>
> Although ccmake picks 1.35.0 by default, I tried to manually change it to
> other versions too, result was always the same...
>
> The strangest thing is I can use Gazebo on quite old Fedora 8 (with cmake,
> ogre3d, freeimage and bullet built from sources), so why can't I do that on
> a frequently updated system (with revdep-rebuild started after each update)?
>
> Paul
>
>>
>> 2010/4/27 Paul Osmialowski <[hidden email]>:
>>>
>>> I have the same and I know the workaround.
>>>
>>> Before running cmake (ccmake) set CXXFLAGS to:
>>> export CXXFLAGS=`fltk-config --cflags`
>>>
>>> on my system fltk-config --cflags returns:
>>> -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
>>>
>>> This should be done by cmake scripts for Gazebo, unfortunately it is not.
>>>
>>> Paul
>>>
>>> On Mon, 19 Apr 2010, domvito55 wrote:
>>>
>>>>
>>>> Someone knows how to solve this:
>>>>
>>>> ###################################################
>>>>
>>>> [ 88%] Building CXX object
>>>> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
>>>> In file included from /usr/local/include/FL/fl_utf8.h:75,
>>>>                from /usr/local/include/FL/Fl.H:39,
>>>>                from
>>>> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>>>>                from
>>>> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
>>>> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
>>>> declared
>>>> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
>>>> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
>>>> make: ** [all] Erro 2
>>>>
>>>> ###################################################
>>>>
>>>> Help-me please, I need this with urgency!
>>>> Thanks
>>>> --
>>>> View this message in context:
>>>>
>>>> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
>>>> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Playerstage-gazebo mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Paul Osmialowski


On Tue, 27 Apr 2010, Scott Biddlestone wrote:

> Hi Paul,
>
> To get rid of the recursive_mutex problem remove the "threads" use
> flag from ogre and reemerge ( apparently I hit this a long time ago
> and forgot a about, but its in my notes ).  You have to do an emerge
> -aC ogre before emerging again, during my reemerge it sometimes tries
> to link to the previous ogre install.  Since this ebuild uses DeViL
> and not Freeimage, some of my textures do not load correctly.  I
> typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.

Hi Scott,

Setting -threads for ogre did the trick and problem with assertions is
now gone, unfortunately, still I cannot run Gazebo on that Gentoo box.

I compiled freeimage and installed globally in /usr/local/lib. Then I
unmerged ogre and emerged it again like that:
EXTRA_ECONF="--enable-freeimage" emerge ogre

This configure option enables freeimage which results in disabling DevIL.
Then I compiled gazebo once again. Result is:

Gazebo multi-robot simulator, version 0.10.0

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

Error Loading Gazebo
/root/psg3/src/gazebo-20100428/server/rendering/OgreAdaptor.cc:452 :
Exception: unable to find rendering system

Any suggestions for that?

Paul

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Scott Biddlestone-2
Edit your ~/.gazeborc file and set orgePath to "/usr/lib/OGRE".  You
will need to do this every time you reinstall gazebo.
This only happens on my Gentoo box, never tried to hunt in down though.

-Scott

On Wed, Apr 28, 2010 at 6:45 PM, Paul Osmialowski <[hidden email]> wrote:

>
>
> On Tue, 27 Apr 2010, Scott Biddlestone wrote:
>
>> Hi Paul,
>>
>> To get rid of the recursive_mutex problem remove the "threads" use
>> flag from ogre and reemerge ( apparently I hit this a long time ago
>> and forgot a about, but its in my notes ).  You have to do an emerge
>> -aC ogre before emerging again, during my reemerge it sometimes tries
>> to link to the previous ogre install.  Since this ebuild uses DeViL
>> and not Freeimage, some of my textures do not load correctly.  I
>> typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.
>
> Hi Scott,
>
> Setting -threads for ogre did the trick and problem with assertions is
> now gone, unfortunately, still I cannot run Gazebo on that Gentoo box.
>
> I compiled freeimage and installed globally in /usr/local/lib. Then I
> unmerged ogre and emerged it again like that:
> EXTRA_ECONF="--enable-freeimage" emerge ogre
>
> This configure option enables freeimage which results in disabling DevIL.
> Then I compiled gazebo once again. Result is:
>
> Gazebo multi-robot simulator, version 0.10.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> Error Loading Gazebo
> /root/psg3/src/gazebo-20100428/server/rendering/OgreAdaptor.cc:452 :
> Exception: unable to find rendering system
>
> Any suggestions for that?
>
> Paul
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Paul Osmialowski
Hi Scott,

This helped me to move forward, still I have problems. Gazebo gets killed
by SIGSEGV right after start. I tried to track down this using valgdind,
to my surprise, it works fine started with valgrind! (unfrotunately, this
is not an workaround: everything works slower with valgrind). I started
this with strace and it says:
stat64("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
{st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
open("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7843000
read(7,
"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\24\0\0\0\27\10\6\0\0\0\v\35o"...,
4096) = 1182
mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 4290965504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE,
-1, 0) = 0xb1d8e000
munmap(0xb1d8e000, 466944)              = 0
munmap(0xb1f00000, 581632)              = 0
mprotect(0xb1e00000, 135168, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Looks like check for NULL pointer is missing somewhere.

Paul

On Wed, 28 Apr 2010, Scott Biddlestone wrote:

> Edit your ~/.gazeborc file and set orgePath to "/usr/lib/OGRE".  You
> will need to do this every time you reinstall gazebo.
> This only happens on my Gentoo box, never tried to hunt in down though.
>
> -Scott
>
> On Wed, Apr 28, 2010 at 6:45 PM, Paul Osmialowski <[hidden email]> wrote:
>>
>>
>> On Tue, 27 Apr 2010, Scott Biddlestone wrote:
>>
>>> Hi Paul,
>>>
>>> To get rid of the recursive_mutex problem remove the "threads" use
>>> flag from ogre and reemerge ( apparently I hit this a long time ago
>>> and forgot a about, but its in my notes ).  You have to do an emerge
>>> -aC ogre before emerging again, during my reemerge it sometimes tries
>>> to link to the previous ogre install.  Since this ebuild uses DeViL
>>> and not Freeimage, some of my textures do not load correctly.  I
>>> typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.
>>
>> Hi Scott,
>>
>> Setting -threads for ogre did the trick and problem with assertions is
>> now gone, unfortunately, still I cannot run Gazebo on that Gentoo box.
>>
>> I compiled freeimage and installed globally in /usr/local/lib. Then I
>> unmerged ogre and emerged it again like that:
>> EXTRA_ECONF="--enable-freeimage" emerge ogre
>>
>> This configure option enables freeimage which results in disabling DevIL.
>> Then I compiled gazebo once again. Result is:
>>
>> Gazebo multi-robot simulator, version 0.10.0
>>
>> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>> Released under the GNU General Public License.
>>
>> Error Loading Gazebo
>> /root/psg3/src/gazebo-20100428/server/rendering/OgreAdaptor.cc:452 :
>> Exception: unable to find rendering system
>>
>> Any suggestions for that?
>>
>> Paul
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------

_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Scott Biddlestone-2
Hi Paul,

I don't think I have ever seen this particular segfault.  A quick grep
for grey_play_button takes you to server/gui/Toolbar.cc and then into
server/rendering/Image.cc.  Image.cc is doing the stat64 and then a
Freeimage_Load is probably where you are crashing.  This is
interesting since blue_play_button succeeded on the same path right
before that.  Since your mmap2 call after the read ( buried in
Freeimage_Load ) is asking for really big chunk of memory ( 4290834432
bytes ) this is probably a freeimage issue.

As a shot in the dark, did you somehow happen to get gazebo to
dynamically link to freeimage?  The Freeimage_Initiailise() call in
the Image constructor seems to only be required for a static link, so
maybe it does something strange when dynamically linked.  I believe
you mentioned making a .pc for Freeimage. I did not make a pkg-config
file, I just symlinked FreeImage.h and the libs in /usr/include and
/use/lib to where ever I had freeimage installed at the time.

Hope that helps,
  Scott


2010/4/29 Paul Osmialowski <[hidden email]>:

> Hi Scott,
>
> This helped me to move forward, still I have problems. Gazebo gets killed by
> SIGSEGV right after start. I tried to track down this using valgdind, to my
> surprise, it works fine started with valgrind! (unfrotunately, this is not
> an workaround: everything works slower with valgrind). I started this with
> strace and it says:
> stat64("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
> {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
> open("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
> O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xb7843000
> read(7,
> "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\24\0\0\0\27\10\6\0\0\0\v\35o"..., 4096)
> = 1182
> mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = -1 ENOMEM (Cannot allocate memory)
> mmap2(NULL, 4290965504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = -1 ENOMEM (Cannot allocate memory)
> mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1,
> 0) = 0xb1d8e000
> munmap(0xb1d8e000, 466944)              = 0
> munmap(0xb1f00000, 581632)              = 0
> mprotect(0xb1e00000, 135168, PROT_READ|PROT_WRITE) = 0
> mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = -1 ENOMEM (Cannot allocate memory)
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
> Looks like check for NULL pointer is missing somewhere.
>
> Paul
>
> On Wed, 28 Apr 2010, Scott Biddlestone wrote:
>
>> Edit your ~/.gazeborc file and set orgePath to "/usr/lib/OGRE".  You
>> will need to do this every time you reinstall gazebo.
>> This only happens on my Gentoo box, never tried to hunt in down though.
>>
>> -Scott
>>
>> On Wed, Apr 28, 2010 at 6:45 PM, Paul Osmialowski <[hidden email]>
>> wrote:
>>>
>>>
>>> On Tue, 27 Apr 2010, Scott Biddlestone wrote:
>>>
>>>> Hi Paul,
>>>>
>>>> To get rid of the recursive_mutex problem remove the "threads" use
>>>> flag from ogre and reemerge ( apparently I hit this a long time ago
>>>> and forgot a about, but its in my notes ).  You have to do an emerge
>>>> -aC ogre before emerging again, during my reemerge it sometimes tries
>>>> to link to the previous ogre install.  Since this ebuild uses DeViL
>>>> and not Freeimage, some of my textures do not load correctly.  I
>>>> typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.
>>>
>>> Hi Scott,
>>>
>>> Setting -threads for ogre did the trick and problem with assertions is
>>> now gone, unfortunately, still I cannot run Gazebo on that Gentoo box.
>>>
>>> I compiled freeimage and installed globally in /usr/local/lib. Then I
>>> unmerged ogre and emerged it again like that:
>>> EXTRA_ECONF="--enable-freeimage" emerge ogre
>>>
>>> This configure option enables freeimage which results in disabling DevIL.
>>> Then I compiled gazebo once again. Result is:
>>>
>>> Gazebo multi-robot simulator, version 0.10.0
>>>
>>> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>>> Released under the GNU General Public License.
>>>
>>> Error Loading Gazebo
>>> /root/psg3/src/gazebo-20100428/server/rendering/OgreAdaptor.cc:452 :
>>> Exception: unable to find rendering system
>>>
>>> Any suggestions for that?
>>>
>>> Paul
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

Paul Osmialowski
Hi Scott,

I have added some code to Image.cc:
           if (fifmt == FIF_PNG)
           {
             std::cerr<<"Before crash"<<std::endl;
             this->bitmap = FreeImage_Load(fifmt, fullName.c_str(),
PNG_DEFAULT);
             std::cerr<<"After crash"<<std::endl;
           }
Looks like you're right, second call to FreeImage_Load ends with crash, so
there's no second 'After crash' message.
Funny thing, I compiled code from the same FreeImage3131.zip on both
Gentoo and Fedora 8, and I don't have such a problem on Fedora 8!
My freeimage.pc file looks like this:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: freeimage
Description: Freeimage
Version: 3.13.1
Requires:
Libs: -L${libdir} -lfreeimage
Cflags: -I${includedir}

From FreeImage/Dist I copied only FreeImage.h to /usr/local/include and
libfreeimage.a to /usr/local/lib (even if this path is
listed in /etc/ld.so.conf, I'm keeping only static libs there, that's my
inside policy).

PNGstat.perl script did not find anything suspicious in
grey_play_button.png and gqview shows this file properly. Both blue
(loaded correctly) and grey image have transparent background so I don't
think it is the source of this problem.

For some reason Gentoo developers removed this library from
distribution with "...and don't come back"-like comment as for their
standards it is too buggy. I guess, newer version of glibc (in Gentoo)
than the one I have in Fedora 8 is more sensible for this kind of bugs and
that's the source of my problems. For now, I have to wait for newer
version of FreeImage which hopefully will have this issue fixed.

Paul

On Thu, 29 Apr 2010, Scott Biddlestone wrote:

> Hi Paul,
>
> I don't think I have ever seen this particular segfault.  A quick grep
> for grey_play_button takes you to server/gui/Toolbar.cc and then into
> server/rendering/Image.cc.  Image.cc is doing the stat64 and then a
> Freeimage_Load is probably where you are crashing.  This is
> interesting since blue_play_button succeeded on the same path right
> before that.  Since your mmap2 call after the read ( buried in
> Freeimage_Load ) is asking for really big chunk of memory ( 4290834432
> bytes ) this is probably a freeimage issue.
>
> As a shot in the dark, did you somehow happen to get gazebo to
> dynamically link to freeimage?  The Freeimage_Initiailise() call in
> the Image constructor seems to only be required for a static link, so
> maybe it does something strange when dynamically linked.  I believe
> you mentioned making a .pc for Freeimage. I did not make a pkg-config
> file, I just symlinked FreeImage.h and the libs in /usr/include and
> /use/lib to where ever I had freeimage installed at the time.
>
> Hope that helps,
>  Scott
>
>
> 2010/4/29 Paul Osmialowski <[hidden email]>:
>> Hi Scott,
>>
>> This helped me to move forward, still I have problems. Gazebo gets killed by
>> SIGSEGV right after start. I tried to track down this using valgdind, to my
>> surprise, it works fine started with valgrind! (unfrotunately, this is not
>> an workaround: everything works slower with valgrind). I started this with
>> strace and it says:
>> stat64("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
>> {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
>> open("~/psg3/share/gazebo/Media/materials/textures/grey_play_button.png",
>> O_RDONLY) = 7
>> fstat64(7, {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
>> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
>> 0xb7843000
>> read(7,
>> "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\24\0\0\0\27\10\6\0\0\0\v\35o"..., 4096)
>> = 1182
>> mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = -1 ENOMEM (Cannot allocate memory)
>> mmap2(NULL, 4290965504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = -1 ENOMEM (Cannot allocate memory)
>> mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1,
>> 0) = 0xb1d8e000
>> munmap(0xb1d8e000, 466944)              = 0
>> munmap(0xb1f00000, 581632)              = 0
>> mprotect(0xb1e00000, 135168, PROT_READ|PROT_WRITE) = 0
>> mmap2(NULL, 4290834432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = -1 ENOMEM (Cannot allocate memory)
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> +++ killed by SIGSEGV +++
>>
>> Looks like check for NULL pointer is missing somewhere.
>>
>> Paul
>>
>> On Wed, 28 Apr 2010, Scott Biddlestone wrote:
>>
>>> Edit your ~/.gazeborc file and set orgePath to "/usr/lib/OGRE".  You
>>> will need to do this every time you reinstall gazebo.
>>> This only happens on my Gentoo box, never tried to hunt in down though.
>>>
>>> -Scott
>>>
>>> On Wed, Apr 28, 2010 at 6:45 PM, Paul Osmialowski <[hidden email]>
>>> wrote:
>>>>
>>>>
>>>> On Tue, 27 Apr 2010, Scott Biddlestone wrote:
>>>>
>>>>> Hi Paul,
>>>>>
>>>>> To get rid of the recursive_mutex problem remove the "threads" use
>>>>> flag from ogre and reemerge ( apparently I hit this a long time ago
>>>>> and forgot a about, but its in my notes ).  You have to do an emerge
>>>>> -aC ogre before emerging again, during my reemerge it sometimes tries
>>>>> to link to the previous ogre install.  Since this ebuild uses DeViL
>>>>> and not Freeimage, some of my textures do not load correctly.  I
>>>>> typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.
>>>>
>>>> Hi Scott,
>>>>
>>>> Setting -threads for ogre did the trick and problem with assertions is
>>>> now gone, unfortunately, still I cannot run Gazebo on that Gentoo box.
>>>>
>>>> I compiled freeimage and installed globally in /usr/local/lib. Then I
>>>> unmerged ogre and emerged it again like that:
>>>> EXTRA_ECONF="--enable-freeimage" emerge ogre
>>>>
>>>> This configure option enables freeimage which results in disabling DevIL.
>>>> Then I compiled gazebo once again. Result is:
>>>>
>>>> Gazebo multi-robot simulator, version 0.10.0
>>>>
>>>> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
>>>> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
>>>> Released under the GNU General Public License.
>>>>
>>>> Error Loading Gazebo
>>>> /root/psg3/src/gazebo-20100428/server/rendering/OgreAdaptor.cc:452 :
>>>> Exception: unable to find rendering system
>>>>
>>>> Any suggestions for that?
>>>>
>>>> Paul
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Playerstage-gazebo mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------

_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

mizo_hazem_2
In reply to this post by Paul Osmialowski
Hi,

I used your workaround but nothing changed, I still have the problem
Linking CXX shared library libgazebo_server.so
[ 82%] Built target gazebo_server
[ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
[ 83%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
In file included from /usr/local/include/FL/fl_utf8.h:75,
                 from /usr/local/include/FL/Fl.H:39,
                 from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
                 from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
/usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
make: *** [all] Error 2

executing the command "fltk-config --cflags" return the following
-I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
 
I'm using
Ubuntu 10.4
gazebo 10
(OGRE) 1.6.4
Bullet Physics Engine 2.76
fltk-1.3.x-r7677
Open Dynamics Engine (ODE) 0.11.1

Could you please let me know if I'm doing something wring?

Thanks

Paul Osmialowski wrote
I have the same and I know the workaround.

Before running cmake (ccmake) set CXXFLAGS to:
export CXXFLAGS=`fltk-config --cflags`

on my system fltk-config --cflags returns:
-I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT

This should be done by cmake scripts for Gazebo, unfortunately it is not.

Paul

On Mon, 19 Apr 2010, domvito55 wrote:

>
> Someone knows how to solve this:
>
> ###################################################
>
> [ 88%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> In file included from /usr/local/include/FL/fl_utf8.h:75,
>                 from /usr/local/include/FL/Fl.H:39,
>                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>                 from /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been declared
> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> make: ** [all] Erro 2
>
> ###################################################
>
> Help-me please, I need this with urgency!
> Thanks
> --
> View this message in context: http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------

_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

John Hsu-2
Hi,
Can you try switching to fltk version 1.1.10 and see if it helps?  That's
what I am using with lucid and it's working fine.
John

On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <[hidden email]> wrote:

>
> Hi,
>
> I used your workaround but nothing changed, I still have the problem
> Linking CXX shared library libgazebo_server.so
> [ 82%] Built target gazebo_server
> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> [ 83%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> In file included from /usr/local/include/FL/fl_utf8.h:75,
>                 from /usr/local/include/FL/Fl.H:39,
>                  from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>                 from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> make: *** [all] Error 2
>
> executing the command "fltk-config --cflags" return the following
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
>
> I'm using
> Ubuntu 10.4
> gazebo 10
> (OGRE) 1.6.4
> Bullet Physics Engine 2.76
> fltk-1.3.x-r7677
> Open Dynamics Engine (ODE) 0.11.1
>
> Could you please let me know if I'm doing something wring?
>
> Thanks
>
>
> Paul Osmialowski wrote:
> >
> > I have the same and I know the workaround.
> >
> > Before running cmake (ccmake) set CXXFLAGS to:
> > export CXXFLAGS=`fltk-config --cflags`
> >
> > on my system fltk-config --cflags returns:
> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >
> > This should be done by cmake scripts for Gazebo, unfortunately it is not.
> >
> > Paul
> >
> > On Mon, 19 Apr 2010, domvito55 wrote:
> >
> >>
> >> Someone knows how to solve this:
> >>
> >> ###################################################
> >>
> >> [ 88%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >>                 from /usr/local/include/FL/Fl.H:39,
> >>                 from
> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >>                 from
> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> declared
> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> make: ** [all] Erro 2
> >>
> >> ###################################################
> >>
> >> Help-me please, I need this with urgency!
> >> Thanks
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

mizo_hazem_2
Hi john,

Thanks for your reply, I tried to comment the prototype of the function that has "Status" as one of its args and build completed successfully

but unfortunately invoking gazebo using the following command
gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
 just opened the GUI and disappeared directly   with segmentation fault

the following is the stack trace

John Hsu-2 wrote
Hi,
Can you try switching to fltk version 1.1.10 and see if it helps?  That's
what I am using with lucid and it's working fine.
John

On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <eng.hossam84@gmail.com> wrote:

>
> Hi,
>
> I used your workaround but nothing changed, I still have the problem
> Linking CXX shared library libgazebo_server.so
> [ 82%] Built target gazebo_server
> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> [ 83%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> In file included from /usr/local/include/FL/fl_utf8.h:75,
>                 from /usr/local/include/FL/Fl.H:39,
>                  from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
>                 from /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> make: *** [all] Error 2
>
> executing the command "fltk-config --cflags" return the following
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
>
> I'm using
> Ubuntu 10.4
> gazebo 10
> (OGRE) 1.6.4
> Bullet Physics Engine 2.76
> fltk-1.3.x-r7677
> Open Dynamics Engine (ODE) 0.11.1
>
> Could you please let me know if I'm doing something wring?
>
> Thanks
>
>
> Paul Osmialowski wrote:
> >
> > I have the same and I know the workaround.
> >
> > Before running cmake (ccmake) set CXXFLAGS to:
> > export CXXFLAGS=`fltk-config --cflags`
> >
> > on my system fltk-config --cflags returns:
> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >
> > This should be done by cmake scripts for Gazebo, unfortunately it is not.
> >
> > Paul
> >
> > On Mon, 19 Apr 2010, domvito55 wrote:
> >
> >>
> >> Someone knows how to solve this:
> >>
> >> ###################################################
> >>
> >> [ 88%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >>                 from /usr/local/include/FL/Fl.H:39,
> >>                 from
> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >>                 from
> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> declared
> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> make: ** [all] Erro 2
> >>
> >> ###################################################
> >>
> >> Help-me please, I need this with urgency!
> >> Thanks
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> Playerstage-gazebo@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

John Hsu-2
Hi,

I have not looked through version of fltk library you're running, are you
sure commenting out a function in the library is a good idea?

Regarding the bt, it looks like glx might not be supported?  What do you get
when you type "glxinfo" at the terminal command line?  What graphics card
and graphics card driver version are you using?

Given you are already running ubuntu, if you have the gazebo-compatible
graphics card & driver
setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
maybe consider using the ros-wrapped version of gazebo?  It's a lot more
stable and you can easily install the binaries by following instructions
here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following steps
1.1 through 1.3, then type:

sudo apt-get install ros-cturtle-simulator-gazebo

Once above is done, you can also try various tutorials here:

http://www.ros.org/wiki/simulator_gazebo/Tutorials

Save yourself some headache from compiling individual components.

John


On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <[hidden email]> wrote:

>
> Hi john,
>
> Thanks for your reply, I tried to comment the prototype of the function
> that
> has "Status" as one of its args and build completed successfully
>
> but unfortunately invoking gazebo using the following command
> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
>  just opened the GUI and disappeared directly   with segmentation fault
>
> the following is the stack trace
> http://old.nabble.com/file/p30366697/Screenshot.png
>
> John Hsu-2 wrote:
> >
> > Hi,
> > Can you try switching to fltk version 1.1.10 and see if it helps?  That's
> > what I am using with lucid and it's working fine.
> > John
> >
> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <[hidden email]>
> > wrote:
> >
> >>
> >> Hi,
> >>
> >> I used your workaround but nothing changed, I still have the problem
> >> Linking CXX shared library libgazebo_server.so
> >> [ 82%] Built target gazebo_server
> >> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> [ 83%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >>                 from /usr/local/include/FL/Fl.H:39,
> >>                  from
> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >>                 from
> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >> executing the command "fltk-config --cflags" return the following
> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >>
> >> I'm using
> >> Ubuntu 10.4
> >> gazebo 10
> >> (OGRE) 1.6.4
> >> Bullet Physics Engine 2.76
> >> fltk-1.3.x-r7677
> >> Open Dynamics Engine (ODE) 0.11.1
> >>
> >> Could you please let me know if I'm doing something wring?
> >>
> >> Thanks
> >>
> >>
> >> Paul Osmialowski wrote:
> >> >
> >> > I have the same and I know the workaround.
> >> >
> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >
> >> > on my system fltk-config --cflags returns:
> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >
> >> > This should be done by cmake scripts for Gazebo, unfortunately it is
> >> not.
> >> >
> >> > Paul
> >> >
> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >
> >> >>
> >> >> Someone knows how to solve this:
> >> >>
> >> >> ###################################################
> >> >>
> >> >> [ 88%] Building CXX object
> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >>                 from
> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >>                 from
> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> >> declared
> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> make: ** [all] Erro 2
> >> >>
> >> >> ###################################################
> >> >>
> >> >> Help-me please, I need this with urgency!
> >> >> Thanks
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> [hidden email]
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> >
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> Tap into the largest installed PC base & get more eyes on your game by
> >> optimizing for Intel(R) Graphics Technology. Get started today with the
> >> Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> grabs.
> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> > Tap into the largest installed PC base & get more eyes on your game by
> > optimizing for Intel(R) Graphics Technology. Get started today with the
> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> grabs.
> > http://p.sf.net/sfu/intelisp-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

mizo_hazem_2
Hi john,

I sure the commenting work around isn't a good idea, but till now no side effects appeared :)

regarding glx info, it returns the following


My graphics card:
VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400]

driver:
hossam@dhcp-33-95:~/gazebo-0.10.0$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20 PDT 2010
GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)


I've checked the link you sent and my graphics card isn't one of the gazebo-compatible graphics cards list :(

even though I tried to install ros-wrapped version of gazebo but invoking gazebo using the following command returns an error
./roslaunch /home/hossam/Desktop/empty_world.launch
Traceback (most recent call last):
  File "./roslaunch", line 2, in <module>
    from ros import roslaunch
ImportError: No module named ros

Am I doing something wrong?
thanks for your help

John Hsu-2 wrote
Hi,

I have not looked through version of fltk library you're running, are you
sure commenting out a function in the library is a good idea?

Regarding the bt, it looks like glx might not be supported?  What do you get
when you type "glxinfo" at the terminal command line?  What graphics card
and graphics card driver version are you using?

Given you are already running ubuntu, if you have the gazebo-compatible
graphics card & driver
setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
maybe consider using the ros-wrapped version of gazebo?  It's a lot more
stable and you can easily install the binaries by following instructions
here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following steps
1.1 through 1.3, then type:

sudo apt-get install ros-cturtle-simulator-gazebo

Once above is done, you can also try various tutorials here:

http://www.ros.org/wiki/simulator_gazebo/Tutorials

Save yourself some headache from compiling individual components.

John


On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <eng.hossam84@gmail.com> wrote:

>
> Hi john,
>
> Thanks for your reply, I tried to comment the prototype of the function
> that
> has "Status" as one of its args and build completed successfully
>
> but unfortunately invoking gazebo using the following command
> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
>  just opened the GUI and disappeared directly   with segmentation fault
>
> the following is the stack trace
> http://old.nabble.com/file/p30366697/Screenshot.png
>
> John Hsu-2 wrote:
> >
> > Hi,
> > Can you try switching to fltk version 1.1.10 and see if it helps?  That's
> > what I am using with lucid and it's working fine.
> > John
> >
> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <eng.hossam84@gmail.com>
> > wrote:
> >
> >>
> >> Hi,
> >>
> >> I used your workaround but nothing changed, I still have the problem
> >> Linking CXX shared library libgazebo_server.so
> >> [ 82%] Built target gazebo_server
> >> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> [ 83%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >>                 from /usr/local/include/FL/Fl.H:39,
> >>                  from
> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >>                 from
> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been declared
> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error 1
> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >> executing the command "fltk-config --cflags" return the following
> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >>
> >> I'm using
> >> Ubuntu 10.4
> >> gazebo 10
> >> (OGRE) 1.6.4
> >> Bullet Physics Engine 2.76
> >> fltk-1.3.x-r7677
> >> Open Dynamics Engine (ODE) 0.11.1
> >>
> >> Could you please let me know if I'm doing something wring?
> >>
> >> Thanks
> >>
> >>
> >> Paul Osmialowski wrote:
> >> >
> >> > I have the same and I know the workaround.
> >> >
> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >
> >> > on my system fltk-config --cflags returns:
> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >
> >> > This should be done by cmake scripts for Gazebo, unfortunately it is
> >> not.
> >> >
> >> > Paul
> >> >
> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >
> >> >>
> >> >> Someone knows how to solve this:
> >> >>
> >> >> ###################################################
> >> >>
> >> >> [ 88%] Building CXX object
> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >>                 from
> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >>                 from
> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> >> declared
> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1
> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> make: ** [all] Erro 2
> >> >>
> >> >> ###################################################
> >> >>
> >> >> Help-me please, I need this with urgency!
> >> >> Thanks
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> >
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > Playerstage-gazebo@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> Tap into the largest installed PC base & get more eyes on your game by
> >> optimizing for Intel(R) Graphics Technology. Get started today with the
> >> Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> grabs.
> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> Playerstage-gazebo@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> > Tap into the largest installed PC base & get more eyes on your game by
> > optimizing for Intel(R) Graphics Technology. Get started today with the
> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> grabs.
> > http://p.sf.net/sfu/intelisp-dev2dev
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

John Hsu-2
after installing the ros-wrapped version, do the following (assuming you're
running bash)

source /opt/ros/cturtle/setup.sh
roslaunch gazebo_worlds empty_world.launch

John

On Thu, Dec 9, 2010 at 4:03 AM, mizo_hazem_2 <[hidden email]> wrote:

>
> Hi john,
>
> I sure the commenting work around isn't a good idea, but till now no side
> effects appeared :)
>
> regarding glx info, it returns the following
> http://old.nabble.com/file/p30415876/Screenshot-2.png
>
> My graphics card:
> VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400]
>
> driver:
> hossam@dhcp-33-95:~/gazebo-0.10.0$ cat /proc/driver/nvidia/version
> NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20
> PDT 2010
> GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
> http://old.nabble.com/file/p30415876/Screenshot-1.png
>
> I've checked the link you sent and my graphics card isn't one of the
> gazebo-compatible graphics cards list :(
>
> even though I tried to install ros-wrapped version of gazebo but invoking
> gazebo using the following command returns an error
> ./roslaunch /home/hossam/Desktop/empty_world.launch
> Traceback (most recent call last):
>  File "./roslaunch", line 2, in <module>
>    from ros import roslaunch
> ImportError: No module named ros
>
> Am I doing something wrong?
> thanks for your help
>
>
> John Hsu-2 wrote:
> >
> > Hi,
> >
> > I have not looked through version of fltk library you're running, are you
> > sure commenting out a function in the library is a good idea?
> >
> > Regarding the bt, it looks like glx might not be supported?  What do you
> > get
> > when you type "glxinfo" at the terminal command line?  What graphics card
> > and graphics card driver version are you using?
> >
> > Given you are already running ubuntu, if you have the gazebo-compatible
> > graphics card & driver
> > setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
> > maybe consider using the ros-wrapped version of gazebo?  It's a lot more
> > stable and you can easily install the binaries by following instructions
> > here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following
> > steps
> > 1.1 through 1.3, then type:
> >
> > sudo apt-get install ros-cturtle-simulator-gazebo
> >
> > Once above is done, you can also try various tutorials here:
> >
> > http://www.ros.org/wiki/simulator_gazebo/Tutorials
> >
> > Save yourself some headache from compiling individual components.
> >
> > John
> >
> >
> > On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <[hidden email]>
> > wrote:
> >
> >>
> >> Hi john,
> >>
> >> Thanks for your reply, I tried to comment the prototype of the function
> >> that
> >> has "Status" as one of its args and build completed successfully
> >>
> >> but unfortunately invoking gazebo using the following command
> >> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
> >>  just opened the GUI and disappeared directly   with segmentation fault
> >>
> >> the following is the stack trace
> >> http://old.nabble.com/file/p30366697/Screenshot.png
> >>
> >> John Hsu-2 wrote:
> >> >
> >> > Hi,
> >> > Can you try switching to fltk version 1.1.10 and see if it helps?
> >> That's
> >> > what I am using with lucid and it's working fine.
> >> > John
> >> >
> >> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <[hidden email]>
> >> > wrote:
> >> >
> >> >>
> >> >> Hi,
> >> >>
> >> >> I used your workaround but nothing changed, I still have the problem
> >> >> Linking CXX shared library libgazebo_server.so
> >> >> [ 82%] Built target gazebo_server
> >> >> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> >> [ 83%] Building CXX object
> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >>                  from
> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >>                 from
> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been
> >> declared
> >> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error
> 1
> >> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> >> make: *** [all] Error 2
> >> >>
> >> >> executing the command "fltk-config --cflags" return the following
> >> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >>
> >> >> I'm using
> >> >> Ubuntu 10.4
> >> >> gazebo 10
> >> >> (OGRE) 1.6.4
> >> >> Bullet Physics Engine 2.76
> >> >> fltk-1.3.x-r7677
> >> >> Open Dynamics Engine (ODE) 0.11.1
> >> >>
> >> >> Could you please let me know if I'm doing something wring?
> >> >>
> >> >> Thanks
> >> >>
> >> >>
> >> >> Paul Osmialowski wrote:
> >> >> >
> >> >> > I have the same and I know the workaround.
> >> >> >
> >> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >> >
> >> >> > on my system fltk-config --cflags returns:
> >> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >
> >> >> > This should be done by cmake scripts for Gazebo, unfortunately it
> is
> >> >> not.
> >> >> >
> >> >> > Paul
> >> >> >
> >> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >> >
> >> >> >>
> >> >> >> Someone knows how to solve this:
> >> >> >>
> >> >> >> ###################################################
> >> >> >>
> >> >> >> [ 88%] Building CXX object
> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >>                 from
> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >>                 from
> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> >> >> declared
> >> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro
> >> 1
> >> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> >> make: ** [all] Erro 2
> >> >> >>
> >> >> >> ###################################################
> >> >> >>
> >> >> >> Help-me please, I need this with urgency!
> >> >> >> Thanks
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> _______________________________________________
> >> >> >> Playerstage-gazebo mailing list
> >> >> >> [hidden email]
> >> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >
> >> >> > _______________________________________________
> >> >> > Playerstage-gazebo mailing list
> >> >> > [hidden email]
> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> >> Tap into the largest installed PC base & get more eyes on your game
> by
> >> >> optimizing for Intel(R) Graphics Technology. Get started today with
> >> the
> >> >> Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> >> grabs.
> >> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> [hidden email]
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> > Tap into the largest installed PC base & get more eyes on your game by
> >> > optimizing for Intel(R) Graphics Technology. Get started today with
> the
> >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> grabs.
> >> > http://p.sf.net/sfu/intelisp-dev2dev
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> What happens now with your Lotus Notes apps - do you make another costly
> >> upgrade, or settle for being marooned without product support? Time to
> >> move
> >> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> build,
> >> use, and manage than apps on traditional platforms. Sign up for the
> Lotus
> >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > What happens now with your Lotus Notes apps - do you make another costly
> > upgrade, or settle for being marooned without product support? Time to
> > move
> > off Lotus Notes and onto the cloud with Force.com, apps are easier to
> > build,
> > use, and manage than apps on traditional platforms. Sign up for the Lotus
> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30415876.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

mizo_hazem_2
Hi John,

Thanks for your help but this one also crashes with the following output

///////////////////////////////////////////////////////////////////////////////////////////////
roslaunch gazebo_worlds empty_world.launch
... logging to /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/roslaunch-dhcp-33-95-9638.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://dhcp-33-95:49851/

SUMMARY
========

PARAMETERS
 * /use_sim_time

NODES
  /
    gazebo (gazebo/gazebo)

starting new master (master configured for auto start)
process[master]: started with pid [9652]
ROS_MASTER_URI=http://dhcp-33-95:11311/

setting /run_id to 3a9a47ea-05f8-11e0-87a7-0019b95ad266
process[rosout-1]: started with pid [9665]
started core service [/rosout]
process[gazebo-2]: started with pid [9672]
Gazebo multi-robot simulator, version 0.10.0

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[gazebo-2] process has died [pid 9672, exit code -11].
log files: /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/gazebo-2*.log
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
it seems that I have to return back to the old version and try again
anyway, thank you a lot, you were a great support for me

Regards,

John Hsu-2 wrote
after installing the ros-wrapped version, do the following (assuming you're
running bash)

source /opt/ros/cturtle/setup.sh
roslaunch gazebo_worlds empty_world.launch

John

On Thu, Dec 9, 2010 at 4:03 AM, mizo_hazem_2 <eng.hossam84@gmail.com> wrote:

>
> Hi john,
>
> I sure the commenting work around isn't a good idea, but till now no side
> effects appeared :)
>
> regarding glx info, it returns the following
> http://old.nabble.com/file/p30415876/Screenshot-2.png
>
> My graphics card:
> VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400]
>
> driver:
> hossam@dhcp-33-95:~/gazebo-0.10.0$ cat /proc/driver/nvidia/version
> NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20
> PDT 2010
> GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
> http://old.nabble.com/file/p30415876/Screenshot-1.png
>
> I've checked the link you sent and my graphics card isn't one of the
> gazebo-compatible graphics cards list :(
>
> even though I tried to install ros-wrapped version of gazebo but invoking
> gazebo using the following command returns an error
> ./roslaunch /home/hossam/Desktop/empty_world.launch
> Traceback (most recent call last):
>  File "./roslaunch", line 2, in <module>
>    from ros import roslaunch
> ImportError: No module named ros
>
> Am I doing something wrong?
> thanks for your help
>
>
> John Hsu-2 wrote:
> >
> > Hi,
> >
> > I have not looked through version of fltk library you're running, are you
> > sure commenting out a function in the library is a good idea?
> >
> > Regarding the bt, it looks like glx might not be supported?  What do you
> > get
> > when you type "glxinfo" at the terminal command line?  What graphics card
> > and graphics card driver version are you using?
> >
> > Given you are already running ubuntu, if you have the gazebo-compatible
> > graphics card & driver
> > setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
> > maybe consider using the ros-wrapped version of gazebo?  It's a lot more
> > stable and you can easily install the binaries by following instructions
> > here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following
> > steps
> > 1.1 through 1.3, then type:
> >
> > sudo apt-get install ros-cturtle-simulator-gazebo
> >
> > Once above is done, you can also try various tutorials here:
> >
> > http://www.ros.org/wiki/simulator_gazebo/Tutorials
> >
> > Save yourself some headache from compiling individual components.
> >
> > John
> >
> >
> > On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <eng.hossam84@gmail.com>
> > wrote:
> >
> >>
> >> Hi john,
> >>
> >> Thanks for your reply, I tried to comment the prototype of the function
> >> that
> >> has "Status" as one of its args and build completed successfully
> >>
> >> but unfortunately invoking gazebo using the following command
> >> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
> >>  just opened the GUI and disappeared directly   with segmentation fault
> >>
> >> the following is the stack trace
> >> http://old.nabble.com/file/p30366697/Screenshot.png
> >>
> >> John Hsu-2 wrote:
> >> >
> >> > Hi,
> >> > Can you try switching to fltk version 1.1.10 and see if it helps?
> >> That's
> >> > what I am using with lucid and it's working fine.
> >> > John
> >> >
> >> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2 <eng.hossam84@gmail.com>
> >> > wrote:
> >> >
> >> >>
> >> >> Hi,
> >> >>
> >> >> I used your workaround but nothing changed, I still have the problem
> >> >> Linking CXX shared library libgazebo_server.so
> >> >> [ 82%] Built target gazebo_server
> >> >> [ 82%] Building CXX object server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> >> [ 83%] Building CXX object
> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >>                  from
> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >>                 from
> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been
> >> declared
> >> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Error
> 1
> >> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> >> make: *** [all] Error 2
> >> >>
> >> >> executing the command "fltk-config --cflags" return the following
> >> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >>
> >> >> I'm using
> >> >> Ubuntu 10.4
> >> >> gazebo 10
> >> >> (OGRE) 1.6.4
> >> >> Bullet Physics Engine 2.76
> >> >> fltk-1.3.x-r7677
> >> >> Open Dynamics Engine (ODE) 0.11.1
> >> >>
> >> >> Could you please let me know if I'm doing something wring?
> >> >>
> >> >> Thanks
> >> >>
> >> >>
> >> >> Paul Osmialowski wrote:
> >> >> >
> >> >> > I have the same and I know the workaround.
> >> >> >
> >> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >> >
> >> >> > on my system fltk-config --cflags returns:
> >> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >
> >> >> > This should be done by cmake scripts for Gazebo, unfortunately it
> is
> >> >> not.
> >> >> >
> >> >> > Paul
> >> >> >
> >> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >> >
> >> >> >>
> >> >> >> Someone knows how to solve this:
> >> >> >>
> >> >> >> ###################################################
> >> >> >>
> >> >> >> [ 88%] Building CXX object
> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >>                 from
> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >>                 from
> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been
> >> >> >> declared
> >> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro
> >> 1
> >> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> >> make: ** [all] Erro 2
> >> >> >>
> >> >> >> ###################################################
> >> >> >>
> >> >> >> Help-me please, I need this with urgency!
> >> >> >> Thanks
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> _______________________________________________
> >> >> >> Playerstage-gazebo mailing list
> >> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >
> >> >> > _______________________________________________
> >> >> > Playerstage-gazebo mailing list
> >> >> > Playerstage-gazebo@lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> >> Tap into the largest installed PC base & get more eyes on your game
> by
> >> >> optimizing for Intel(R) Graphics Technology. Get started today with
> >> the
> >> >> Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> >> grabs.
> >> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> >> > Tap into the largest installed PC base & get more eyes on your game by
> >> > optimizing for Intel(R) Graphics Technology. Get started today with
> the
> >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> grabs.
> >> > http://p.sf.net/sfu/intelisp-dev2dev
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > Playerstage-gazebo@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> What happens now with your Lotus Notes apps - do you make another costly
> >> upgrade, or settle for being marooned without product support? Time to
> >> move
> >> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> build,
> >> use, and manage than apps on traditional platforms. Sign up for the
> Lotus
> >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> Playerstage-gazebo@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > What happens now with your Lotus Notes apps - do you make another costly
> > upgrade, or settle for being marooned without product support? Time to
> > move
> > off Lotus Notes and onto the cloud with Force.com, apps are easier to
> > build,
> > use, and manage than apps on traditional platforms. Sign up for the Lotus
> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30415876.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

John Hsu-2
Hi,
Sorry I missed your earlier attachment on glxinfo output.  It appears your
glxinfo showed that direct rendering is not supported in your setup.  This
means neither local or ros-wrapped gazebo setup will not work.  To fix this,
try downloading and installing a driver recommended by nvidia driver
download site <http://www.nvidia.com/Download/index.aspx?lang=en-us> for
your graphics card.  For NVIDIA Go 7400, assuming your machine is 64bit,
this is what I got:

http://www.nvidia.com/object/linux-display-amd64-260.19.29-driver.html

After installing the driver, your glxinfo should show that direct rendering
is supported, e.g.

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
...

Then gazebo should run normally.
hope this helps.
John

On Sun, Dec 12, 2010 at 6:06 AM, mizo_hazem_2 <[hidden email]>wrote:

>
> Hi John,
>
> Thanks for your help but this one also crashes with the following output
>
>
> ///////////////////////////////////////////////////////////////////////////////////////////////
> roslaunch gazebo_worlds empty_world.launch
> ... logging to
>
> /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/roslaunch-dhcp-33-95-9638.log
> Checking log directory for disk usage. This may take awhile.
> Press Ctrl-C to interrupt
> Done checking log file disk usage. Usage is <1GB.
>
> started roslaunch server http://dhcp-33-95:49851/
>
> SUMMARY
> ========
>
> PARAMETERS
>  * /use_sim_time
>
> NODES
>  /
>    gazebo (gazebo/gazebo)
>
> starting new master (master configured for auto start)
> process[master]: started with pid [9652]
> ROS_MASTER_URI=http://dhcp-33-95:11311/
>
> setting /run_id to 3a9a47ea-05f8-11e0-87a7-0019b95ad266
> process[rosout-1]: started with pid [9665]
> started core service [/rosout]
> process[gazebo-2]: started with pid [9672]
> Gazebo multi-robot simulator, version 0.10.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [gazebo-2] process has died [pid 9672, exit code -11].
> log files:
> /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/gazebo-2*.log
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> it seems that I have to return back to the old version and try again
> anyway, thank you a lot, you were a great support for me
>
> Regards,
>
>
> John Hsu-2 wrote:
> >
> > after installing the ros-wrapped version, do the following (assuming
> > you're
> > running bash)
> >
> > source /opt/ros/cturtle/setup.sh
> > roslaunch gazebo_worlds empty_world.launch
> >
> > John
> >
> > On Thu, Dec 9, 2010 at 4:03 AM, mizo_hazem_2 <[hidden email]>
> > wrote:
> >
> >>
> >> Hi john,
> >>
> >> I sure the commenting work around isn't a good idea, but till now no
> side
> >> effects appeared :)
> >>
> >> regarding glx info, it returns the following
> >> http://old.nabble.com/file/p30415876/Screenshot-2.png
> >>
> >> My graphics card:
> >> VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400]
> >>
> >> driver:
> >> hossam@dhcp-33-95:~/gazebo-0.10.0$ cat /proc/driver/nvidia/version
> >> NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22
> >> 09:18:20
> >> PDT 2010
> >> GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
> >> http://old.nabble.com/file/p30415876/Screenshot-1.png
> >>
> >> I've checked the link you sent and my graphics card isn't one of the
> >> gazebo-compatible graphics cards list :(
> >>
> >> even though I tried to install ros-wrapped version of gazebo but
> invoking
> >> gazebo using the following command returns an error
> >> ./roslaunch /home/hossam/Desktop/empty_world.launch
> >> Traceback (most recent call last):
> >>  File "./roslaunch", line 2, in <module>
> >>    from ros import roslaunch
> >> ImportError: No module named ros
> >>
> >> Am I doing something wrong?
> >> thanks for your help
> >>
> >>
> >> John Hsu-2 wrote:
> >> >
> >> > Hi,
> >> >
> >> > I have not looked through version of fltk library you're running, are
> >> you
> >> > sure commenting out a function in the library is a good idea?
> >> >
> >> > Regarding the bt, it looks like glx might not be supported?  What do
> >> you
> >> > get
> >> > when you type "glxinfo" at the terminal command line?  What graphics
> >> card
> >> > and graphics card driver version are you using?
> >> >
> >> > Given you are already running ubuntu, if you have the
> gazebo-compatible
> >> > graphics card & driver
> >> > setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
> >> > maybe consider using the ros-wrapped version of gazebo?  It's a lot
> >> more
> >> > stable and you can easily install the binaries by following
> >> instructions
> >> > here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following
> >> > steps
> >> > 1.1 through 1.3, then type:
> >> >
> >> > sudo apt-get install ros-cturtle-simulator-gazebo
> >> >
> >> > Once above is done, you can also try various tutorials here:
> >> >
> >> > http://www.ros.org/wiki/simulator_gazebo/Tutorials
> >> >
> >> > Save yourself some headache from compiling individual components.
> >> >
> >> > John
> >> >
> >> >
> >> > On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <[hidden email]>
> >> > wrote:
> >> >
> >> >>
> >> >> Hi john,
> >> >>
> >> >> Thanks for your reply, I tried to comment the prototype of the
> >> function
> >> >> that
> >> >> has "Status" as one of its args and build completed successfully
> >> >>
> >> >> but unfortunately invoking gazebo using the following command
> >> >> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
> >> >>  just opened the GUI and disappeared directly   with segmentation
> >> fault
> >> >>
> >> >> the following is the stack trace
> >> >> http://old.nabble.com/file/p30366697/Screenshot.png
> >> >>
> >> >> John Hsu-2 wrote:
> >> >> >
> >> >> > Hi,
> >> >> > Can you try switching to fltk version 1.1.10 and see if it helps?
> >> >> That's
> >> >> > what I am using with lucid and it's working fine.
> >> >> > John
> >> >> >
> >> >> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2
> >> <[hidden email]>
> >> >> > wrote:
> >> >> >
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> I used your workaround but nothing changed, I still have the
> >> problem
> >> >> >> Linking CXX shared library libgazebo_server.so
> >> >> >> [ 82%] Built target gazebo_server
> >> >> >> [ 82%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> >> >> [ 83%] Building CXX object
> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >>                  from
> >> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >>                 from
> >> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been
> >> >> declared
> >> >> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o]
> >> Error
> >> 1
> >> >> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> >> >> make: *** [all] Error 2
> >> >> >>
> >> >> >> executing the command "fltk-config --cflags" return the following
> >> >> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >>
> >> >> >> I'm using
> >> >> >> Ubuntu 10.4
> >> >> >> gazebo 10
> >> >> >> (OGRE) 1.6.4
> >> >> >> Bullet Physics Engine 2.76
> >> >> >> fltk-1.3.x-r7677
> >> >> >> Open Dynamics Engine (ODE) 0.11.1
> >> >> >>
> >> >> >> Could you please let me know if I'm doing something wring?
> >> >> >>
> >> >> >> Thanks
> >> >> >>
> >> >> >>
> >> >> >> Paul Osmialowski wrote:
> >> >> >> >
> >> >> >> > I have the same and I know the workaround.
> >> >> >> >
> >> >> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> >> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >> >> >
> >> >> >> > on my system fltk-config --cflags returns:
> >> >> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE
> >> >> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >> >
> >> >> >> > This should be done by cmake scripts for Gazebo, unfortunately
> it
> >> is
> >> >> >> not.
> >> >> >> >
> >> >> >> > Paul
> >> >> >> >
> >> >> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Someone knows how to solve this:
> >> >> >> >>
> >> >> >> >> ###################################################
> >> >> >> >>
> >> >> >> >> [ 88%] Building CXX object
> >> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >> >>                 from
> >> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >> >>                 from
> >> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not
> >> been
> >> >> >> >> declared
> >> >> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o]
> >> Erro
> >> >> 1
> >> >> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> >> >> make: ** [all] Erro 2
> >> >> >> >>
> >> >> >> >> ###################################################
> >> >> >> >>
> >> >> >> >> Help-me please, I need this with urgency!
> >> >> >> >> Thanks
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> >> Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> >> _______________________________________________
> >> >> >> >> Playerstage-gazebo mailing list
> >> >> >> >> [hidden email]
> >> >> >> >>
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >> >>
> >> >> >> >
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > Playerstage-gazebo mailing list
> >> >> >> > [hidden email]
> >> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win
> >> $500!
> >> >> >> Tap into the largest installed PC base & get more eyes on your
> game
> >> by
> >> >> >> optimizing for Intel(R) Graphics Technology. Get started today
> with
> >> >> the
> >> >> >> Intel(R) Software Partner Program. Five $500 cash prizes are up
> for
> >> >> >> grabs.
> >> >> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> >> >> _______________________________________________
> >> >> >> Playerstage-gazebo mailing list
> >> >> >> [hidden email]
> >> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win
> $500!
> >> >> > Tap into the largest installed PC base & get more eyes on your game
> >> by
> >> >> > optimizing for Intel(R) Graphics Technology. Get started today with
> >> the
> >> >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> >> grabs.
> >> >> > http://p.sf.net/sfu/intelisp-dev2dev
> >> >> > _______________________________________________
> >> >> > Playerstage-gazebo mailing list
> >> >> > [hidden email]
> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> What happens now with your Lotus Notes apps - do you make another
> >> costly
> >> >> upgrade, or settle for being marooned without product support? Time
> to
> >> >> move
> >> >> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> >> build,
> >> >> use, and manage than apps on traditional platforms. Sign up for the
> >> Lotus
> >> >> Notes Migration Kit to learn more.
> http://p.sf.net/sfu/salesforce-d2d
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> [hidden email]
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > What happens now with your Lotus Notes apps - do you make another
> >> costly
> >> > upgrade, or settle for being marooned without product support? Time to
> >> > move
> >> > off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> > build,
> >> > use, and manage than apps on traditional platforms. Sign up for the
> >> Lotus
> >> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30415876.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF Dev2Dev email is sponsored by:
> >>
> >> WikiLeaks The End of the Free Internet
> >> http://p.sf.net/sfu/therealnews-com
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30438498.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Learn learn about native support for
> PL/SQL,
> new data types, scalar functions, improved concurrency, built-in packages,
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing gazebo (make)

mizo_hazem_2
Hi John,

IT WORKS :))))))))))
I removed the installed driver and installed another one "NVIDIA accelerated graphics driver 96"
then running the command glxinfo | grep rendering returns
direct rendering: Yes

Best Regards,
Hossam

John Hsu-2 wrote
Hi,
Sorry I missed your earlier attachment on glxinfo output.  It appears your
glxinfo showed that direct rendering is not supported in your setup.  This
means neither local or ros-wrapped gazebo setup will not work.  To fix this,
try downloading and installing a driver recommended by nvidia driver
download site <http://www.nvidia.com/Download/index.aspx?lang=en-us> for
your graphics card.  For NVIDIA Go 7400, assuming your machine is 64bit,
this is what I got:

http://www.nvidia.com/object/linux-display-amd64-260.19.29-driver.html

After installing the driver, your glxinfo should show that direct rendering
is supported, e.g.

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
...

Then gazebo should run normally.
hope this helps.
John

On Sun, Dec 12, 2010 at 6:06 AM, mizo_hazem_2 <eng.hossam84@gmail.com>wrote:

>
> Hi John,
>
> Thanks for your help but this one also crashes with the following output
>
>
> ///////////////////////////////////////////////////////////////////////////////////////////////
> roslaunch gazebo_worlds empty_world.launch
> ... logging to
>
> /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/roslaunch-dhcp-33-95-9638.log
> Checking log directory for disk usage. This may take awhile.
> Press Ctrl-C to interrupt
> Done checking log file disk usage. Usage is <1GB.
>
> started roslaunch server http://dhcp-33-95:49851/
>
> SUMMARY
> ========
>
> PARAMETERS
>  * /use_sim_time
>
> NODES
>  /
>    gazebo (gazebo/gazebo)
>
> starting new master (master configured for auto start)
> process[master]: started with pid [9652]
> ROS_MASTER_URI=http://dhcp-33-95:11311/
>
> setting /run_id to 3a9a47ea-05f8-11e0-87a7-0019b95ad266
> process[rosout-1]: started with pid [9665]
> started core service [/rosout]
> process[gazebo-2]: started with pid [9672]
> Gazebo multi-robot simulator, version 0.10.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [gazebo-2] process has died [pid 9672, exit code -11].
> log files:
> /home/hossam/.ros/log/3a9a47ea-05f8-11e0-87a7-0019b95ad266/gazebo-2*.log
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> it seems that I have to return back to the old version and try again
> anyway, thank you a lot, you were a great support for me
>
> Regards,
>
>
> John Hsu-2 wrote:
> >
> > after installing the ros-wrapped version, do the following (assuming
> > you're
> > running bash)
> >
> > source /opt/ros/cturtle/setup.sh
> > roslaunch gazebo_worlds empty_world.launch
> >
> > John
> >
> > On Thu, Dec 9, 2010 at 4:03 AM, mizo_hazem_2 <eng.hossam84@gmail.com>
> > wrote:
> >
> >>
> >> Hi john,
> >>
> >> I sure the commenting work around isn't a good idea, but till now no
> side
> >> effects appeared :)
> >>
> >> regarding glx info, it returns the following
> >> http://old.nabble.com/file/p30415876/Screenshot-2.png
> >>
> >> My graphics card:
> >> VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400]
> >>
> >> driver:
> >> hossam@dhcp-33-95:~/gazebo-0.10.0$ cat /proc/driver/nvidia/version
> >> NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22
> >> 09:18:20
> >> PDT 2010
> >> GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
> >> http://old.nabble.com/file/p30415876/Screenshot-1.png
> >>
> >> I've checked the link you sent and my graphics card isn't one of the
> >> gazebo-compatible graphics cards list :(
> >>
> >> even though I tried to install ros-wrapped version of gazebo but
> invoking
> >> gazebo using the following command returns an error
> >> ./roslaunch /home/hossam/Desktop/empty_world.launch
> >> Traceback (most recent call last):
> >>  File "./roslaunch", line 2, in <module>
> >>    from ros import roslaunch
> >> ImportError: No module named ros
> >>
> >> Am I doing something wrong?
> >> thanks for your help
> >>
> >>
> >> John Hsu-2 wrote:
> >> >
> >> > Hi,
> >> >
> >> > I have not looked through version of fltk library you're running, are
> >> you
> >> > sure commenting out a function in the library is a good idea?
> >> >
> >> > Regarding the bt, it looks like glx might not be supported?  What do
> >> you
> >> > get
> >> > when you type "glxinfo" at the terminal command line?  What graphics
> >> card
> >> > and graphics card driver version are you using?
> >> >
> >> > Given you are already running ubuntu, if you have the
> gazebo-compatible
> >> > graphics card & driver
> >> > setup<http://www.ros.org/wiki/simulator_gazebo/SystemRequirements>,
> >> > maybe consider using the ros-wrapped version of gazebo?  It's a lot
> >> more
> >> > stable and you can easily install the binaries by following
> >> instructions
> >> > here <http://www.ros.org/wiki/cturtle/Installation/Ubuntu>, following
> >> > steps
> >> > 1.1 through 1.3, then type:
> >> >
> >> > sudo apt-get install ros-cturtle-simulator-gazebo
> >> >
> >> > Once above is done, you can also try various tutorials here:
> >> >
> >> > http://www.ros.org/wiki/simulator_gazebo/Tutorials
> >> >
> >> > Save yourself some headache from compiling individual components.
> >> >
> >> > John
> >> >
> >> >
> >> > On Mon, Dec 6, 2010 at 2:30 AM, mizo_hazem_2 <eng.hossam84@gmail.com>
> >> > wrote:
> >> >
> >> >>
> >> >> Hi john,
> >> >>
> >> >> Thanks for your reply, I tried to comment the prototype of the
> >> function
> >> >> that
> >> >> has "Status" as one of its args and build completed successfully
> >> >>
> >> >> but unfortunately invoking gazebo using the following command
> >> >> gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world
> >> >>  just opened the GUI and disappeared directly   with segmentation
> >> fault
> >> >>
> >> >> the following is the stack trace
> >> >> http://old.nabble.com/file/p30366697/Screenshot.png
> >> >>
> >> >> John Hsu-2 wrote:
> >> >> >
> >> >> > Hi,
> >> >> > Can you try switching to fltk version 1.1.10 and see if it helps?
> >> >> That's
> >> >> > what I am using with lucid and it's working fine.
> >> >> > John
> >> >> >
> >> >> > On Thu, Dec 2, 2010 at 2:51 AM, mizo_hazem_2
> >> <eng.hossam84@gmail.com>
> >> >> > wrote:
> >> >> >
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> I used your workaround but nothing changed, I still have the
> >> problem
> >> >> >> Linking CXX shared library libgazebo_server.so
> >> >> >> [ 82%] Built target gazebo_server
> >> >> >> [ 82%] Building CXX object
> >> server/gui/CMakeFiles/gazebo_gui.dir/Gui.o
> >> >> >> [ 83%] Building CXX object
> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >>                  from
> >> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >>                 from
> >> >> >> /home/hossam/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ‘Status’ has not been
> >> >> declared
> >> >> >> make[2]: *** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o]
> >> Error
> >> 1
> >> >> >> make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2
> >> >> >> make: *** [all] Error 2
> >> >> >>
> >> >> >> executing the command "fltk-config --cflags" return the following
> >> >> >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> >> >> >> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >>
> >> >> >> I'm using
> >> >> >> Ubuntu 10.4
> >> >> >> gazebo 10
> >> >> >> (OGRE) 1.6.4
> >> >> >> Bullet Physics Engine 2.76
> >> >> >> fltk-1.3.x-r7677
> >> >> >> Open Dynamics Engine (ODE) 0.11.1
> >> >> >>
> >> >> >> Could you please let me know if I'm doing something wring?
> >> >> >>
> >> >> >> Thanks
> >> >> >>
> >> >> >>
> >> >> >> Paul Osmialowski wrote:
> >> >> >> >
> >> >> >> > I have the same and I know the workaround.
> >> >> >> >
> >> >> >> > Before running cmake (ccmake) set CXXFLAGS to:
> >> >> >> > export CXXFLAGS=`fltk-config --cflags`
> >> >> >> >
> >> >> >> > on my system fltk-config --cflags returns:
> >> >> >> > -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE
> >> >> >> > -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> >> >> >> >
> >> >> >> > This should be done by cmake scripts for Gazebo, unfortunately
> it
> >> is
> >> >> >> not.
> >> >> >> >
> >> >> >> > Paul
> >> >> >> >
> >> >> >> > On Mon, 19 Apr 2010, domvito55 wrote:
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Someone knows how to solve this:
> >> >> >> >>
> >> >> >> >> ###################################################
> >> >> >> >>
> >> >> >> >> [ 88%] Building CXX object
> >> >> >> >> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o
> >> >> >> >> In file included from /usr/local/include/FL/fl_utf8.h:75,
> >> >> >> >>                 from /usr/local/include/FL/Fl.H:39,
> >> >> >> >>                 from
> >> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35,
> >> >> >> >>                 from
> >> >> >> >> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54:
> >> >> >> >> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not
> >> been
> >> >> >> >> declared
> >> >> >> >> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o]
> >> Erro
> >> >> 1
> >> >> >> >> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2
> >> >> >> >> make: ** [all] Erro 2
> >> >> >> >>
> >> >> >> >> ###################################################
> >> >> >> >>
> >> >> >> >> Help-me please, I need this with urgency!
> >> >> >> >> Thanks
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html
> >> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> >> Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> >> _______________________________________________
> >> >> >> >> Playerstage-gazebo mailing list
> >> >> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> >> >>
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >> >>
> >> >> >> >
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > Playerstage-gazebo mailing list
> >> >> >> > Playerstage-gazebo@lists.sourceforge.net
> >> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30357307.html
> >> >> >> Sent from the playerstage-gazebo mailing list archive at
> >> Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> Increase Visibility of Your 3D Game App & Earn a Chance To Win
> >> $500!
> >> >> >> Tap into the largest installed PC base & get more eyes on your
> game
> >> by
> >> >> >> optimizing for Intel(R) Graphics Technology. Get started today
> with
> >> >> the
> >> >> >> Intel(R) Software Partner Program. Five $500 cash prizes are up
> for
> >> >> >> grabs.
> >> >> >> http://p.sf.net/sfu/intelisp-dev2dev
> >> >> >> _______________________________________________
> >> >> >> Playerstage-gazebo mailing list
> >> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win
> $500!
> >> >> > Tap into the largest installed PC base & get more eyes on your game
> >> by
> >> >> > optimizing for Intel(R) Graphics Technology. Get started today with
> >> the
> >> >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for
> >> >> grabs.
> >> >> > http://p.sf.net/sfu/intelisp-dev2dev
> >> >> > _______________________________________________
> >> >> > Playerstage-gazebo mailing list
> >> >> > Playerstage-gazebo@lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30366697.html
> >> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> What happens now with your Lotus Notes apps - do you make another
> >> costly
> >> >> upgrade, or settle for being marooned without product support? Time
> to
> >> >> move
> >> >> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> >> build,
> >> >> use, and manage than apps on traditional platforms. Sign up for the
> >> Lotus
> >> >> Notes Migration Kit to learn more.
> http://p.sf.net/sfu/salesforce-d2d
> >> >> _______________________________________________
> >> >> Playerstage-gazebo mailing list
> >> >> Playerstage-gazebo@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >>
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > What happens now with your Lotus Notes apps - do you make another
> >> costly
> >> > upgrade, or settle for being marooned without product support? Time to
> >> > move
> >> > off Lotus Notes and onto the cloud with Force.com, apps are easier to
> >> > build,
> >> > use, and manage than apps on traditional platforms. Sign up for the
> >> Lotus
> >> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> >> > _______________________________________________
> >> > Playerstage-gazebo mailing list
> >> > Playerstage-gazebo@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30415876.html
> >> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF Dev2Dev email is sponsored by:
> >>
> >> WikiLeaks The End of the Free Internet
> >> http://p.sf.net/sfu/therealnews-com
> >> _______________________________________________
> >> Playerstage-gazebo mailing list
> >> Playerstage-gazebo@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >>
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p30438498.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Oracle to DB2 Conversion Guide: Learn learn about native support for
> PL/SQL,
> new data types, scalar functions, improved concurrency, built-in packages,
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo