Tuesday, April 9, 2013

Undefined reference to operator new

Possible solution under Linux

You probably need to link with the C++ support runtime library. This happens automatically when you invoke g++. On linux, this is achieved by adding -lstdc++ flag to the linker. You have to figure out how to do the same on your platform.

No comments:

Post a Comment