News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

streambuf error

Started by ipwn, May 25, 2011, 06:49:58 PM

Previous topic - Next topic

ipwn

after installation of codeblocks and integration with VC6.0
i get this error after starting a project from scratch
Quote#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|

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ipwn

#2
this is the output of build log
Quote-------------- 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

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]