User forums > Help
Why can't it find iostream?
buzzbee:
Hi,
Basically I have included errors!
I've downloaded 'codeblocks-1.0rc2_mingw.exe' and installed it as administrator on vista. I've used the wizard for a basic console app (a little hello world cout thing). Then pressed F9 to compile and run, but i'm given errors stating 'iostream: No such file or directory'. I've added various directories (ones containing and up from) to these dialogs:
--- Quote ---Settings -> Compiler ....
Linker
Directories
- Compiler
- Linker
- Resource compiler
--- End quote ---
Still no joy. Why?
Also I previously had the problem of code blocks not finding 'cc1plus.exe', so I added to one of those directories also that path...
I'm generally a nix user so i'm frustrated being in whinney anyway and it's all just too helpful for me... Help!
thomas:
Vista is not compatible with the version of MinGW that was bundled with RC2. Newer versions of MinGW work around the Vista plague.
I don't know if Vista is compatible with RC2, there might be additional problems ahead. You might want to use a real operating system or a more recent version of Code::Blocks which contains workarounds for Vista.
buzzbee:
I only downloaded it last night!
Vista came on my laptop and that's all I have here, and what I need to do can't be done on anything other than whinney, otherwise i'd not have rebooted... I only kept it for games (not that I really play them anymore!). I'm just wanting to have a look at a few templates provided by irrWizard and i've already wasted almost 2hrs!
thomas:
Well, as I said, the newer versions of MinGW have workarounds for Vista.
Go to http://sourceforge.net/project/showfiles.php?group_id=2435 and either download the 3.4 files with -vista, or one of the two 4.2 versions (either sjlj or dw2) which both have Vista workarounds, too.
While the download is running, send send your hate mail regarding the deliberate breaking of software compatibility to:
William Gates
c/o
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052-6399
buzzbee:
Hey, it's a commercial world, I just make my own decisions and follow my own path, you gotta give 'em some credit. That said I moved to linux about 4-5 years ago and never looked back! But I know many who just wouldn't want to go down the rabbit hole!
Anyways... I used this and finally got it working... maybe i'll try it on linux, even though i'm an ardent gedit user, one size fits all...
Navigation
[0] Message Index
[#] Next page
Go to full version