ammo.js icon indicating copy to clipboard operation
ammo.js copied to clipboard

allocating an object of abstract class type 'DebugDrawer'

Open kbruneel opened this issue 5 years ago • 2 comments

I get the following error when running build.sh:

glue.cpp:4962:14: error: allocating an object of abstract class type 'DebugDrawer' return new DebugDrawer(); ^ ../src/LinearMath/btIDebugDraw.h:105:15: note: unimplemented pure virtual method 'getDebugMode' in 'DebugDrawer' virtual int getDebugMode() const = 0; ^ 1 error generated.

kbruneel avatar Jul 22 '19 18:07 kbruneel

Hey,

Build.sh was meant to run in the docker container, but I guess you can also just run it. I saw this error before as well and I cannot remember how I resolved it. Are you able to install docker and docker-compose, then just run "docker-compose up" to build? Are you also on a mac?

beiller avatar Jul 25 '19 00:07 beiller

Hey,

Ah ok I did not see the Dockerfile I was trying to follow the instructions from the readme.

I'm used to working with docker so I'll try this soon. Thanks!

PS Yes I'm on a mac, but thats less important now :)

kbruneel avatar Jul 25 '19 09:07 kbruneel