favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

LinearMath/btMinMax.h #includes btScalar.h from the wrong directory #572

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot build against bullet because LinearMath/btMinMax.h #includes
"LinearMath/btScalar.h" instead of "btScalar.h".

Following is the patch to fix it.

Cheers.

Index: src/LinearMath/btMinMax.h
===================================================================
--- src/LinearMath/btMinMax.h   (revision 2461)
+++ src/LinearMath/btMinMax.h   (working copy)
@@ -17,7 +17,7 @@
 #ifndef BT_GEN_MINMAX_H
 #define BT_GEN_MINMAX_H

-#include "LinearMath/btScalar.h"
+#include "btScalar.h"

 template <class T>
 SIMD_FORCE_INLINE const T& btMin(const T& a, const T& b) 

Original issue reported on code.google.com by sebastie...@gmail.com on 6 Dec 2011 at 3:16

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2466.

Original comment by erwin.coumans on 12 Dec 2011 at 4:56