User forums > Help
Strange problem, probaly vista
stahta01:
--- Quote from: c89c on May 20, 2007, 01:11:12 am ---still no dice. My current settings->compiler->directories is below along with the error code.
--- Code: ---C:\Program Files\CodeBlocks\include
C:\Program Files\CodeBlocks\include\c++\3.4.4\mingw32
C:\Program Files\CodeBlocks\include\c++\3.4.4
--- End code ---
--- End quote ---
The place I read somewhere suggest the below include also, note not using vista, but the settings help with the non-official GCC builds for me.
C:\Program Files\CodeBlocks\lib\gcc\mingw32\3.4.4\include
I am also using different order, no idea if it make a diffrence.
--- Code: ---C:\Program Files\CodeBlocks\include
C:\Program Files\CodeBlocks\include\c++\3.4.4
C:\Program Files\CodeBlocks\include\c++\3.4.4\mingw32
C:\Program Files\CodeBlocks\lib\gcc\mingw32\3.4.4\include
--- End code ---
Linker search list
--- Code: ---C:\Program Files\CodeBlocks\lib
C:\Program Files\CodeBlocks\lib\gcc\mingw32\3.4.4
--- End code ---
Tim S
PS: My minGW is installed in a path with no spaces since some programs has issues with spaces.
c89c:
It certainly helps stahta01, thanks. i'm down to only one error.
For my compiler/linker settings see stahta01's post.
--- Code: ---Project : Console application
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Users\Cooper\Documents\CCC Designs\test\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
Linking console executable: C:\Users\Cooper\Documents\CCC Designs\test\console.exe
ld: crt2.o: No such file: No such file or directory
Process terminated with status 1 (0 minutes, 4 seconds)
0 errors, 0 warnings
--- End code ---
I seem to remember getting that a lot sometimes for no apparent reason.
stahta01:
Do you have
--- Code: ---C:\Program Files\CodeBlocks\libexec\gcc\mingw32\3.4.4
--- End code ---
In additional paths?
The setting is under "toolchain Executable"
Note, you normally would get a different error if you don't have it, but I just an trying all that I can from my setup.
Tim S
c89c:
I did what you said and added it to additional paths under settings->compiler->programs->additional paths and it didn't change anything. same error.
--- Code: ---Switching to target: default
Compiling: main.cpp
Linking console executable: C:\Users\Cooper\Documents\CCC Designs\test\console.exe
ld: crt2.o: No such file: No such file or directory
Process terminated with status 1 (0 minutes, 2 seconds)
0 errors, 0 warnings
--- End code ---
stahta01:
--- Quote from: c89c on May 20, 2007, 04:48:49 am ---I did what you said and added it to additional paths under settings->compiler->programs->additional paths and it didn't change anything. same error.
--- Code: ---Switching to target: default
Compiling: main.cpp
Linking console executable: C:\Users\Cooper\Documents\CCC Designs\test\console.exe
ld: crt2.o: No such file: No such file or directory
Process terminated with status 1 (0 minutes, 2 seconds)
0 errors, 0 warnings
--- End code ---
--- End quote ---
Are you willing to try minGW 3.4.5 version on Vista?
Is yes, see this thread. It assumes that 3.4.5 is already installed on the computer.
http://forums.codeblocks.org/index.php/topic,5939.0.html
Tim S
Navigation
[0] Message Index
[*] Previous page
Go to full version