|
From: Yiannis G. <me...@le...> - 2004-06-17 08:31:30
|
Hi, actually my problem has been solved after recoping the opcode files as Nate
suggested. something could have indeed been strangely lost on the way of
copying the ode0.5 and then back the 0.39 version, and i think it was the
libopcode.a library. simply what you need to do as described in the gazebo
readme file:
from ode home directory
Install OPCODE:
$ cd OPCODE
$ make
$ mkdir <include path/opcode
ex: mkdir /home/nate/local/include/opcode
$ cp -r Ice *.h <include path>/opcode
ex: cp -r Ice *.h /home/nate/local/include/opcode
$ cp libopcode.a <library path>/lib
for futher instructions look at the file.
thanks,
Yiannis
There are two paths in life, I chose the middle one.
Quoting Nate Koenig <nk...@sa...>:
> Hi Lars,
>
> It looks like the libode which Gazebo found was compiled with opcode
> support, but gazebo couldn't find opcode. Look in your config.log starting
> on line 676.
>
> Your suggestion of not compiling ode with opcode support is a good one, I'm
> pretty sure. However, if you do that you won't be able to use the
> TerrainModel, its your call.
>
> -nate
>
> On Wed, Jun 16, 2004 at 04:47:54PM -0700, Lars Cremean wrote:
> > Hi Nate and Yiannis,
> >
> > I am having the same problem with configuring Gazebo for my Linux ppc
> > machine, after compiling and installing ODE 0.039 from source:
> >
> > checking how to run the C++ preprocessor... g++ -E
> > checking opcode/Opcode.h usability... no
> > checking opcode/Opcode.h presence... no
> > checking for opcode/Opcode.h... no
> > checking checking for ode... checking ode/ode.h usability... yes
> > checking ode/ode.h presence... yes
> > checking for ode/ode.h... yes
> > checking for dJointGetHinge2Anchor2 in -lode... no
> > configure: WARNING: ODE appears to be pre-0.039
> > configure: error: Gazebo requires ODE 0.039 or higher
> >
> > My library path environment variables seem to be set properly:
> >
> > [lars@dhcp-127-159 gazebo-src-0.4.0]$ echo $LIBRARY_PATH; echo
> > $LD_LIBRARY_PATH
> > :/usr/local/lib
> > :/usr/local/lib
> >
> > I've attached the config.log file.
> >
> > Important note: I was having trouble with the Opcode stuff in my
> > configuration file at the same time as these problems. I have determined
> > that I can get this problem to go away if I recompile and install
> > ode-0.039 WITHOUT the OPCODE option in config/user-settings. Yiannis: You
> > might want to see if this works for you also.
> >
> > Cheers,
> > Lars
> >
> >
> >
> > On Wed, 16 Jun 2004, Yiannis Gatsoulis wrote:
> >
> > > Hi Nate and thanks for the reply.
> > >
> > > here is the outoput when executing the configure script:
> > >
> > > checking opcode/Opcode.h usability... yes
> > > checking opcode/Opcode.h presence... yes
> > > checking for opcode/Opcode.h... yes
> > > checking checking for ode... checking ode/ode.h usability... yes
> > > checking ode/ode.h presence... yes
> > > checking for ode/ode.h... yes
> > > checking for dJointGetHinge2Anchor2 in -lode... no
> > > configure: WARNING: ODE appears to be pre-0.039
> > > configure: error: Gazebo requires ODE 0.039 or higher
> > >
> > > initially i had 0.39 and "passed" the configuration; then i updated to
> 0.5 and
> > > was getting the error message of cannot find ode.h; and now that i have
> put
> > > back the 0.39 i am getting the above error. ode libraries lie in the
> trusted
> > > lib dir /usr/local/lib but i have also exported the LIBRARY_PATH (export
> > > LIBRARY_PATH:$LIBRARY_PATH:/usr/local/lib/) adn the LD_LIBRARY_PATH
> similarly.
> > >
> > > another thing is that same "behaviour" occurs in two machines that i have
> tried
> > > it (both running fedora-c2)
> > >
> > > is the error in the config.log somewhere near?:
> > > configure:4829: result: no
> > > configure:4839: WARNING: ODE appears to be pre-0.039
> > > configure:4841: error: Gazebo requires ODE 0.039 or higher
> > >
> >
> > Quoting Nate Koenig <nk...@sa...>:
> >
> > > Hi Yiannis,
> > >
> > > Gazebo currently doesn't support ODE version 0.5 yet. It's best to stick
> > > with version 0.39 for now.
> > >
> > >
> > > If that doesn't solve your problem then I have a feeling you need to set
> > your
> > > LIBRARY_PATH and LD_LIBRARY_PATH environment varaibles to include the
> > places
> > > you installed the ODE libraries.
> > >
> > > If that doesn't work, could you post the output from your configure
> > script
> > > as well as the config.log file?
> > >
> > > Thanks,
> > >
> > > -nate
> >
> >
> >
> >
|