Can not install on Kali Linux

I installed the dependencies required for Debian which Kali is based on but whenever I try to compile OF I get the following error:
"error: cannot convert ‘ofPtr’ to ‘bool’ in assignment
supportVAOs = ofGetGLProgrammableRenderer();// || glewIsSupported(“GL_ARB_vertex_array_object”); <- this should work but has false positives on some cards like emulation in vm’s
^
makefileCommon/compile.core.mk:228: recipe for target ‘…/…/…/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/gl/ofVbo.o’ failed
make[1]: *** […/…/…/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/gl/ofVbo.o] Error 1
makefileCommon/compile.core.mk:207: recipe for target ‘Debug’ failed
make: *** [Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums
"

Please advise, thanks!