fix two compile errors, thanks to Travis
https://travis-ci.org/bulletphysics/bullet3/jobs/33858712
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
//#include <boost/function.hpp>
|
//#include <boost/function.hpp>
|
||||||
#include <urdf/urdfdom_headers/urdf_model/include/urdf_model/link.h>
|
#include <urdf/urdfdom_headers/urdf_model/include/urdf_model/link.h>
|
||||||
|
#include <stdio.h> //printf
|
||||||
#include <urdf/urdfdom_headers/urdf_exception/include/urdf_exception/exception.h>
|
#include <urdf/urdfdom_headers/urdf_exception/include/urdf_exception/exception.h>
|
||||||
|
|
||||||
namespace urdf {
|
namespace urdf {
|
||||||
@@ -134,7 +134,7 @@ public:
|
|||||||
this->getLink(child_link_name, child_link);
|
this->getLink(child_link_name, child_link);
|
||||||
if (!child_link)
|
if (!child_link)
|
||||||
{
|
{
|
||||||
printf("Error: child link [%s] of joint [%s] not found\n", child_link_name,joint->first );
|
printf("Error: child link [%s] of joint [%s] not found\n", child_link_name.c_str(),joint->first.c_str() );
|
||||||
assert(0);
|
assert(0);
|
||||||
// throw ParseError("child link [" + child_link_name + "] of joint [" + joint->first + "] not found");
|
// throw ParseError("child link [" + child_link_name + "] of joint [" + joint->first + "] not found");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "b3Scalar.h"
|
#include "b3Scalar.h"
|
||||||
|
#include <stddef.h>//ptrdiff_h
|
||||||
|
|
||||||
struct b3FileUtils
|
struct b3FileUtils
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user