User forums > General (but related to Code::Blocks)
GCC 4.1.0 official release
Michael:
I have just tried to install it on a fresh MinGW version with GCC 3.4.5, the latest win32api and the latest binutils available.
The problems is that with the following in the include directory:
--- Quote ---C:\Programme\MinGW\include
--- End quote ---
I get errors when compiling, e.g.,:
--- Quote ---PriorityQueue.h:17:20: error: iostream: No such file or directory
--- End quote ---
The compiler cannot find the iostream header file. The strange is that GCC 3.4.5 could.
[EDIT] Nothing to do. To make it works, I have to add two additional directory in the C::B compiler directories:
--- Quote ---C:\Programme\MinGW\include\c++\4.1.0 --> needed to find header files
C:\Programme\MinGW\include\c++\4.1.0\mingw32 --> needed to find other files (e.g., files included in iostream header file)
--- End quote ---
Best wishes,
Michael
Ceniza:
Move MinGW to your root drive (C:\MinGW) and try again, then tell me if it works.
Another way would be dumping the specs and adding those paths.
I don't really know why it happens. It's like if the compilation process hardcoded the --prefix path.
Michael:
--- Quote from: Ceniza on March 01, 2006, 12:16:33 pm ---Move MinGW to your root drive (C:\MinGW) and try again, then tell me if it works.
Another way would be dumping the specs and adding those paths.
I don't really know why it happens. It's like if the compilation process hardcoded the --prefix path.
--- End quote ---
Yes, it works now :D. I have changed the location from c:\Programme to c:\ and my example is building fine with just the "default" include path. Anyway, now I have to change the location of MinGW in the system path too.
Something seems to be hardcoded as you suggest...
Thank you very much for your help.
Best wishes,
Michael
RJP Computing:
Is there a way to update the Code::Blocks installed version of MinGW to 4.1.0?
I am really interested in the faster compile times.
Thanks
Michael:
--- Quote from: RJP Computing on March 01, 2006, 09:39:45 pm ---Is there a way to update the Code::Blocks installed version of MinGW to 4.1.0?
I am really interested in the faster compile times.
Thanks
--- End quote ---
I have tried to update the mingw bundled with RC2, but it did not work. Instead, it works well if you use a separate installation of MinGW. I would advice to install it in C:\MinGW (and use MinGW 5.0.2).
Best wishes,
Michael
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version