Author Topic: HELP!! IOSTREAM NOT FOUND!  (Read 3617 times)

deadfrank

  • Guest
HELP!! IOSTREAM NOT FOUND!
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: HELP!! IOSTREAM NOT FOUND!
« Reply #1 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
« Last Edit: March 21, 2007, 07:46:02 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org