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

HELP!! IOSTREAM NOT FOUND!

Started by deadfrank, March 21, 2007, 06:38:13 AM

Previous topic - Next topic

deadfrank

I'd just installed Codeblocks on Vista (sucks by the way) and when i try to compile a simple "HELLO WORLD" i get the error msg: "iostream: no such file or directory"

i've used CB on WinXP before and didn't had this problem.

can you help me with this?

stahta01

#1
MinGW GCC has issues on Vista. No real fix, but there is work arounds.

Below code is from RosBE.cmd an cmd file from ReactOS Build Environment, it might help you or it might not.

:: Set all paths (needed by Windows Vista)
set C_INCLUDE_PATH=%ROSBEBASEDIR%\3.4.5\include;%ROSBEBASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5\include
set CPLUS_INCLUDE_PATH=%ROSBEBASEDIR%\3.4.5\include;%ROSBEBASEDIR%\3.4.5\include\c++\3.4.5;%ROSBEBASEDIR%\3.4.5\include\c++\3.4.5\mingw32;%ROSBEBASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5\include
set LIBRARY_PATH=%ROSBEBASEDIR%\3.4.5\lib;%ROSBEBASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5


Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]