User forums > Help
Climits not found
Kamaitachi:
I tried to compile a file and it said that climits wasn't found. I just installed Code::Blocks. Any ideas?
Edit: Forgot. It's Code::Blocks 10.05, with gcc 4.4.1 running on Windows 7 64.
oBFusCATed:
Do you have a c++ compiler (g++) installed?
Also read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
And probably you should ask your question in a beginners c/c++ forum.
Kamaitachi:
Well, I downloaded the Code::Blocks bundled with MinGW...
EDIT: I was browsing the MinGW installation folder, and I found that, while every other type of file was alright, climits (and all the others) were called simply "Files"... What should I do?
stahta01:
--- Quote from: oBFusCATed on July 27, 2010, 12:22:07 am ---Do you have a c++ compiler (g++) installed?
Also read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
And probably you should ask your question in a beginners c/c++ forum.
--- End quote ---
Do the above and look at the rebuild log; and, post here the line of code where you do the include.
Tim S.
Kamaitachi:
This is all that appears in the build log, with the "Full command line" option, when I try to compile a simple "Hello World" program:
C:\Users\Mkh\Documents\C++\Untitled1.c:8: error: `cout' undeclared (first use in this function)
C:\Users\Mkh\Documents\C++\Untitled1.c:8: error: (Each undeclared identifier is reported only once
C:\Users\Mkh\Documents\C++\Untitled1.c:8: error: for each function it appears in.)
Process terminated with status 1 (0 minutes, 0 seconds)
5 errors, 1 warnings
Navigation
[0] Message Index
[#] Next page
Go to full version