Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Szabadember on March 17, 2007, 11:02:49 pm
-
Hi!
I have been using MinGW for a long time now, but i can't make it work on windows Vista. Could someone suggest me a good alternative for mingw? Or a way to make MinGW fully working on my windows Vista. I tried the trick with the environment variables but it does not work for me (gcc 3.4.2)
-
You are trying to work on Saturday... That is the problem :lol:.
-
Maybe... :D
Ok, I played around a bit with Vista and realized, that my MinGW is working, but *only* if the project and the compiler are on the same drive (have the same drive letter), if not, i get an error: ld: crt2.o: No such file: No such file or directory
Any ideas? :D
One more thing: I would like to have a pre-compiled gdb 6.6(i'm to lazy and stupid to build it myself[any tutorials? :D]), could someone provide me a link?
-
Szabad control will catch you and give a kosher internet :lol:
-
Ok, I played around a bit with Vista and realized, that my MinGW is working, but *only* if the project and the compiler are on the same drive (have the same drive letter), if not, i get an error: ld: crt2.o: No such file: No such file or directory
Any ideas? :D
crt2.o is part of MinGW runtime libraries. Download it from:
http://prdownloads.sourceforge.net/mingw/mingw-runtime-3.11.tar.gz?download
One more thing: I would like to have a pre-compiled gdb 6.6(i'm to lazy and stupid to build it myself[any tutorials? :D]), could someone provide me a link?
Pre-compiled GDB 6.3 is already available from MinGW site. I tried to compile GDB sometimes back. But build failed. Will update if I get success.
Regards,
Biplab
-
crt2.o is part of MinGW runtime libraries. Download it from:
I already have this file under c:\MinGW\lib.
I get no error if the project and MinGW are on the same drive, i get this error only if they are located on different drives.
Any better ideas than saving projects on the drive where MinGW is located?
-
Any better ideas than saving projects on the drive where MinGW is located?
Sorry, I can't help further as I don't have Vista. But search this forum. Few users were discussing about this problem sometimes back. You may get the solution there. :)
Regards,
Biplab
-
crt2.o is part of MinGW runtime libraries. Download it from:
I already have this file under c:\MinGW\lib.
I get no error if the project and MinGW are on the same drive, i get this error only if they are located on different drives.
Any better ideas than saving projects on the drive where MinGW is located?
I've never developed with neither windows nor MinGW so this is probably a stupid answer, but can't you place MinGW files on both drives? Seems like it's searching for these files on the same drive as the project
-
The goal would be to be able to compile without having these files on both drives...
-
Have a look at the following links. You may get your solution.
http://forums.codeblocks.org/index.php/topic,4692.0.html
and
http://aarongiles.com/?p=199
-
Solution:
1:Place MinGW into the root of the same drive where you save your projects
2:Add some environment variables to windows
3:Add X:\MinGW\libexec\gcc\mingw32\3.4.5 as additional Path in the compiler settings/Toolchain executables
4:Add X:\MinGW\lib\gcc\mingw32\3.4.5\include to the Compiler's search Paths
5:Be happy, because your codeblocks is now Vista ready as long as you don't want to save projects to other drives than the drive where MinGW is installed :(
-
I have just noticed that GDB 6.3 is not working with windows vista... :(
I always get:
No source file named E:/Dokumentumok/c++ programozas/CareFreeTagger/main.cpp.
Breakpoint 1 ("E:/Dokumentumok/c++ programozas/CareFreeTagger/main.cpp:29) pending.
Or is that codeblocks fault?
-
Hi
I have problems to install codeblocks in Windows Vista. I hope that you can help me.
-
Hi
I have problems to install codeblocks in Windows Vista. I hope that you can help me.
? Code::Blocks runs the same on Vista as it does on XP (for me at least). Are you unzipping a nightly, or using the old install?
C::B & VSC2005 is business as usual on Vista. I don't know if that counts as a MinGW alternative for you?
-
Finally I have my own problems with Vista. (I was forced to use Vista as my Notebook is only shipped with preinstalled Vista and I do need Win some time ;) )
I installed MinGW and tldragons 4.2 directly over it. Adding C:\MinGW and C:\MinGW\bin to %PATH% g++ --version gave the expected result.
But i tried to build the basic Hello World example both with Codeblocks and on the Commandline and it only resulted in a "mingw32-g++.exe CreateProcess: no such file or directory" (on the cmd which I although started as Administrator I used g++ instaed of mingw-g++)
EDIT://
May be important: As I was only able to force Vista giving me 40GB of the HDD ant I need them for my Ubuntu everythings on my C: - Partition
EDIT:// I finally solved it. running MinGW with -v both, on my WinXP-Box and my WinVista-Box gave me the paths that were required to run MinGW.