But now the problem is that I get an error during compilation of my code.
I'm using Code Blocks.
Here's the log.Thanks in advance.
Code: Select all
-------------- Build: Debug in Nuke ---------------
Linking console executable: bin/Debug/Nuke
obj/Debug/main.o: In function `btAlignedAllocator<int, 16u>::deallocate(int*)':
/usr/local/include/LinearMath/btAlignedAllocator.h:90: undefined reference to `btAlignedFreeInternal(void*)'
obj/Debug/main.o: In function `btAlignedAllocator<btHashInt, 16u>::deallocate(btHashInt*)':
/usr/local/include/LinearMath/btAlignedAllocator.h:90: undefined reference to `btAlignedFreeInternal(void*)'
obj/Debug/main.o: In function `btAlignedAllocator<btTriangleInfo, 16u>::deallocate(btTriangleInfo*)':
/usr/local/include/LinearMath/btAlignedAllocator.h:90: undefined reference to `btAlignedFreeInternal(void*)'
obj/Debug/main.o:(.rodata._ZTV17btTypedConstraint[vtable for btTypedConstraint]+0x60): undefined reference to `btTypedConstraint::serialize(void*, btSerializer*) const'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
4 errors, 0 warnings