|
From: Keyan <ke...@us...> - 2008-07-19 18:54:32
|
hi, it seems strange that your installation has to different location for ode files /usr/local and /Users/M. could be a version mismatch, or something else. just compare your output > ODE libs: /usr/local/lib/libode.dylib > ODE includes: /Users/M/.local/include/ode/ode.h with mine ODE libs: /Users/x/projects/libraries ODE includes: /Users/x/projects/libraries/include/ode/ode.h something went wrong either during the cmake-configuration, or the ode installation. my guess is the second. i had problems running the 0.8 and 0.9 ode source code tarballs. i had no problems with the svn version. on the ode mailing list other mac users had similar problems with the versioned releases. try ode svn revision 1467. cheers, keyan On 19 Jul 2008, at 20:43, Mario Negrello wrote: > Still no luck, > When i make yars, this is the initial cmake stuff. Can you check to > see if it sounds right? > > ODE found > ODE libs: /usr/local/lib/libode.dylib > ODE includes: /Users/M/.local/include/ode/ode.h > > And the problem remains: > > Linking CXX executable ../bin/yars > Undefined symbols: > "__dSafeNormalize3", referenced from: > __dNormalize3 in libyarsLib.a(BodyMotor.o) > BodyMotor::BodyMotor(BodyMotorDescription*, dxBody**, > dxSpace**, DrawManager*, int, int, int, int)in > libyarsLib.a(BodyMotor.o) > __dNormalize3 in libyarsLib.a(ComplexHinge.o) > ComplexHinge::updateInternalSensors() in > libyarsLib.a(ComplexHinge.o) > __dNormalize3 in libyarsLib.a(GenericRotationSensor.o) > GenericRotationSensor::updateSensor() in > libyarsLib.a(GenericRotationSensor.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [bin/yars] Error 1 > make[1]: *** [src/CMakeFiles/yars.dir/all] Error 2 > make: *** [all] Error 2 > > > On 19/jul/08, at 14:26, Keyan wrote: > >> yes, do that with all required libraries that you compile yourself. >> >> cheers, >> keyan >> >> On 19 Jul 2008, at 20:13, Mario Negrello wrote: >> >>> ode seems to work. Do you think it is best if i install ode the >>> same way i did with boost? >>> is it possible, like ./configure --prefix... >>> >>> On 19/jul/08, at 14:07, Keyan wrote: >>> >>>> seems like an ode problem. check your ode installation, and try to >>>> run the ode demos. >>>> >>>> cheers. >>>> keyan >>>> >>>> On 19 Jul 2008, at 20:05, Mario Negrello wrote: >>>> >>>>> This is a funny looking one... >>>>> >>>>> >>>>> Linking CXX executable ../bin/yars >>>>> Undefined symbols: >>>>> "__dSafeNormalize3", referenced from: >>>>> __dNormalize3 in libyarsLib.a(BodyMotor.o) >>>>> BodyMotor::BodyMotor(BodyMotorDescription*, dxBody**, dxSpace**, >>>>> DrawManager*, int, int, int, int)in libyarsLib.a(BodyMotor.o) >>>>> __dNormalize3 in libyarsLib.a(ComplexHinge.o) >>>>> ComplexHinge::updateInternalSensors() in >>>>> libyarsLib.a(ComplexHinge.o) >>>>> __dNormalize3 in libyarsLib.a(GenericRotationSensor.o) >>>>> GenericRotationSensor::updateSensor() in >>>>> libyarsLib.a(GenericRotationSensor.o) >>>>> ld: symbol(s) not found >>>>> collect2: ld returned 1 exit status >>>>> make[2]: *** [bin/yars] Error 1 >>>>> make[1]: *** [src/CMakeFiles/yars.dir/all] Error 2 >>>>> make: *** [all] Error 2 >>>>> >>>>> >>>>> Thanx! >>>>> >>>>> On 19/jul/08, at 13:38, Keyan wrote: >>>>> >>>>>> True, >>>>>> >>>>>> added missing if-statement. try a svn update. >>>>>> >>>>>> cheers, >>>>>> keyan >>>>>> >>>>>> On 19 Jul 2008, at 18:52, Mario Negrello wrote: >>>>>> >>>>>>> Dear Peers, >>>>>>> >>>>>>> Another day, another percent. Why is it trying to find the >>>>>>> library for >>>>>>> log4cpp? >>>>>>> Í thought it was optional. Is it? >>>>>>> >>>>>>> ... >>>>>>> [91%] >>>>>>> Linking CXX executable ../bin/yars >>>>>>> ld: library not found for -llog4cpp >>>>>>> collect2: ld returned 1 exit status >>>>>>> make[2]: *** [bin/yars] Error 1 >>>>>>> make[1]: *** [src/CMakeFiles/yars.dir/all] Error 2 >>>>>>> make: *** [all] Error 2 >>>>>>> >>>>>>> cheers, >>>>>>> >>>>>>> M. >>>>>>> ------------------------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by the Moblin Your Move >>>>>>> Developer's >>>>>>> challenge >>>>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>>>> great prizes >>>>>>> Grand prize is a trip for two to an Open Source event anywhere >>>>>>> in >>>>>>> the world >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>>> _______________________________________________ >>>>>>> Yars-devel mailing list >>>>>>> Yar...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/yars-devel >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> This SF.Net email is sponsored by the Moblin Your Move >>>>>> Developer's challenge >>>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>>> great prizes >>>>>> Grand prize is a trip for two to an Open Source event anywhere >>>>>> in the world >>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>> _______________________________________________ >>>>>> Yars-devel mailing list >>>>>> Yar...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/yars-devel >>>>> >>>> >>> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Yars-devel mailing list > Yar...@li... > https://lists.sourceforge.net/lists/listinfo/yars-devel |