genekogan / ofxSuperCollider

openframeworks addon for controlling SuperCollider via OSC
10 stars 4 forks source link

C++ compiler error. NULL was not declared in this scope #4

Open KernelPanicCode opened 7 years ago

KernelPanicCode commented 7 years ago

I am working ofxSuperCollider in oF 0.9.2 / Qt creator. The compiler is g++ 5.4.0

When I build the code, I get this error from ofxSCResourceAllocator.h

error: ‘NULL’ was not declared in this scope.

I solved the issue adding this header in the file #include <cstddef>