File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,7 @@ INSTALLOBJDIR=$(IRTEUSDIR)/$(ARCHDIR)/obj
48
48
INSTALLLIBDIR =$(IRTEUSDIR ) /$(ARCHDIR ) /lib
49
49
50
50
# check bullet version
51
- BULLET_VER_MAJOR: =$(shell pkg-config bullet --modversion --silence-errors | cut -f1 -d.)
52
- BULLET_VER_MINOR: =$(shell pkg-config bullet --modversion --silence-errors | cut -f2 -d.)
53
- ifneq ($(and $(BULLET_VER_MAJOR ) ,$(BULLET_VER_MINOR ) ) ,)
54
- BULLET_GE_2_83 =$(shell [ $(BULLET_VER_MAJOR ) -gt 2 -o \( $(BULLET_VER_MAJOR ) -eq 2 -a $(BULLET_VER_MINOR ) -ge 83 \) ] && echo true)
55
- endif
56
- ifeq ($(BULLET_GE_2_83 ) , true)
57
- HAVE_BULLET =1
58
- else
59
- HAVE_BULLET =0
60
- endif
51
+ HAVE_BULLET =$(shell echo "\#include <btBulletCollisionCommon.h>\n\#include <BulletCollision/NarrowPhaseCollision/btGjkCollisionDescription.h>\nint main() {}" > test-bullet.c; $(CXX ) -I/usr/include/bullet $(pkg-config bullet --cflags ) test-bullet.c -lBulletCollision -lLinearMath $(pkg-config bullet --libs ) > /dev/null 2>&1 && echo 1 || echo 0)
61
52
$(info "-- HAVE_BULLET = ${HAVE_BULLET}")
62
53
63
54
ifneq ($(wildcard PQP/* ) ,)
Original file line number Diff line number Diff line change 95
95
(not (some #' null (mapcar #' (lambda (x) (cadr (memq :angle-vector x)))
96
96
(crawl-walk-motion-for-sample-robot :go-backward-over nil ))))))
97
97
98
+ #+ :cross-environment-can-not-load-libeusgl?
98
99
(deftest test-walk-motion-for-robots
99
100
(assert
100
101
(every #' identity
You can’t perform that action at this time.
0 commit comments