Author Topic: Code:Blocks 13.12 can not recognize operator new () ?  (Read 2694 times)

mxtsuper

  • Guest
Code:Blocks 13.12 can not recognize operator new () ?
« on: March 23, 2015, 09:18:21 am »
Hi.
I installed the CodeBlocks 13.12 on my PC (OS: ubuntu).
I have installed the gcc and g++.
I wrote some c++ code and built them.
The CodeBlocks gave  the errors:
undefined reference to `operator new(unsigned int).

Can somebody kindly help me to deal with the problem?
Tanks very much. :)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7598
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org