Code::Blocks Forums
User forums => Help => Topic started by: ipwn on May 25, 2011, 06:49:58 pm
-
after installation of codeblocks and integration with VC6.0
i get this error after starting a project from scratch
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
E:\compilers\MVSVC6.0\VC98\INCLUDE\ios|9|fatal error C1083: Cannot open include file: 'streambuf': No such file or directory|
-
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Also this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_Is_it_possible_to_use_Visual_C.2B.2B_6.0_with_Code::Blocks.3F
Or just update to something newer :)
-
this is the output of build log
-------------- Build: Debug in test ---------------
cl.exe /nologo /W3 /EHsc /Zi /D_DEBUG /MDd /I"E:\compilers\Microsoft SDKs\Windows\v7.1\Include" /IE:\compilers\MVSVC6.0\VC98\INCLUDE /c main.cpp /Foobj\Debug\main.obj
main.cpp
E:\compilers\MVSVC6.0\VC98\INCLUDE\ios(9) : fatal error C1083: Cannot open include file: 'streambuf': No such file or directory
Process terminated with status 2 (0 minutes, 0 seconds)
1 errors, 0 warnings
-
The error message clearly explains what's happening. The compiler cannot find the file "streambuf" which is tried to be included from "ios".
Verify the file exists in either:
E:\compilers\Microsoft SDKs\Windows\v7.1\Include
...or:
E:\compilers\MVSVC6.0\VC98\INCLUDE
BTW: You are mixing a very outdated compiler with a very recent Windows SDK. Sooner or later this is not going to work anyways. Visual C++ v6 ships with it's own SDK which you should use. Such mixture is no good.
BTW: This is a compiler issue, not a C::B issue, so I am locking the topic now as it actually violences our forum rules.