Revision: 8723
http://playerstage.svn.sourceforge.net/playerstage/?rev=8723&view=rev
Author: natepak
Date: 2010-05-28 16:29:15 +0000 (Fri, 28 May 2010)
Log Message:
-----------
Fixed compilation of ODE with double precision
Modified Paths:
--------------
code/gazebo/trunk/server/physics/ode/CMakeLists.txt
code/gazebo/trunk/server/physics/ode/ODEPhysics.hh
Modified: code/gazebo/trunk/server/physics/ode/CMakeLists.txt
===================================================================
--- code/gazebo/trunk/server/physics/ode/CMakeLists.txt 2010-05-28 16:25:10 UTC
(rev 8722)
+++ code/gazebo/trunk/server/physics/ode/CMakeLists.txt 2010-05-28 16:29:15 UTC
(rev 8723)
@@ -39,6 +39,8 @@
${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE}})
endif (CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE})
-set_target_properties(gazebo_physics_ode PROPERTIES COMPILE_FLAGS "-fPIC")
+LIST_TO_STRING(MY_ODE_CFLAGS "${ODE_CFLAGS}")
+
+set_target_properties(gazebo_physics_ode PROPERTIES COMPILE_FLAGS "-fPIC
${MY_ODE_CFLAGS}")
target_link_libraries( gazebo_physics_ode ${ODE_LIBRARIES})
install ( TARGETS gazebo_physics_ode DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
Modified: code/gazebo/trunk/server/physics/ode/ODEPhysics.hh
===================================================================
--- code/gazebo/trunk/server/physics/ode/ODEPhysics.hh 2010-05-28 16:25:10 UTC
(rev 8722)
+++ code/gazebo/trunk/server/physics/ode/ODEPhysics.hh 2010-05-28 16:29:15 UTC
(rev 8723)
@@ -27,9 +27,6 @@
#ifndef ODEPHYSICS_HH
#define ODEPHYSICS_HH
-// Use single precision in ODE
-#define dSINGLE 1
-
#include <ode/ode.h>
#include "Param.hh"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit