Everything works fine until I get this error when I run the program :
undefined symbol: _ZN11btRigidBodyC1EfP13btMotionStateP16btCollisionShapeRK9btVector3ffff"
Could you tell me please what should I do ?
Thanks.
Code: Select all
$(BINARY): $(OFILES)
$(CC) $(LDFLAGS) -o $(BINARY) $(OFILES) -static -ltcl8.4 -lm -lOIS -L/usr/local/lib -lbulletdynamics -lbulletcollision -lbulletmath
.c.o:
$(CC) $(CFLAGS) -c $*.c -o $*.o