Code::Blocks Forums

User forums => Help => Topic started by: deadfrank on March 21, 2007, 06:38:13 am

Title: HELP!! IOSTREAM NOT FOUND!
Post by: deadfrank on March 21, 2007, 06:38:13 am
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?
Title: Re: HELP!! IOSTREAM NOT FOUND!
Post by: stahta01 on March 21, 2007, 07:44:25 am
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.
Code
:: 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