Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Tihtinen on March 30, 2010, 09:51:03 pm
-
Hello, I was not completely sure if this is more of a direct programming issue, but anyway.
I've been using g++ -compiler in another situations and been succesful in using for example shared pointers simply by using "#include <tr1/memory>". When I try the same with code::blocks and the default GCC it uses, I get the error "tr1/memory: No such file or directory".
This is a stupid question, I believe, but this is bugging me to no end so please help :D
Thanks in advance.
-
Read the faq -> http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
So, the answer is you need newer gcc (>4.0), the default is 3.4.x....