Code::Blocks Forums
User forums => Help => Topic started by: dbreedt on October 21, 2012, 07:44:16 pm
-
I recently got the c++ for dummies ebook from a friend
and downloaded code::blocks from the website. i am running windows vista service pack 1
i installed cb and tried to build and run the hello world test program but i get the message "helloworld - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [my ANSWER IS not ALREADY THERE. read the full post!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
i tried messing about with the toolchain settings to no prevail. i tried to let it auto detect but it says '' could not auto-detect installation path of GNU GCC compiler do you want to use this compilers default installation directory? i searched these forums up and down and didnt find any solution .
the most helpful was one guy who discovered the mingw path was wrong (it was C:\MinGW)(default installation directory) he said that when he changed the pathway to C:\program files\codeblocks\MinGW\bin . i then tried that but it still didnt work so i tried searching my entire hard disk for mingw and GNU GCC and didnt find anything i also tried looking in the program files and in the appdata files . but i still cant find anything.
ive come to the conclusion (assumption) that codeblocks setup didnt install any compilers
Am i right? or is there something im missing?
i am very new to programming ive never even attempted it before today so i really dont know what to do
P.S. i have read the rules. i am not blaming c::b , i am just hoping somebody can tell me what the problem is and how to fix it
-
Did you install a Compiler?
If not, what version of Code::Blocks was installed?
What was the filename of the Code::Blocks you installed?
Related thread http://forums.codeblocks.org/index.php/topic,16979.0.html (http://forums.codeblocks.org/index.php/topic,16979.0.html)
Tim S.
-
I installed the normal codeblocks 10.5
I think i may have found the solution though. the version i downloaded was 23 mb . i noticed this morning that there is another version that is 74mb with MinGW in the file name. i didnt notice this last time because i used my phones browser to download the install file and what i think happened was that my browser didnt completely load the page so i missed the other download link.
i am logged into my work pc at the moment so this is why ive noticed the other download link this morning.
i will download it today and let you know tomorrow weather it worked or not.
Thanks for the response! if you didnt ask for the file name i wouldnt have checked the website again :)
-
I installed the normal codeblocks 10.5
I think i may have found the solution though. the version i downloaded was 23 mb . i noticed this morning that there is another version that is 74mb with MinGW in the file name. i didnt notice this last time because i used my phones browser to download the install file and what i think happened was that my browser didnt completely load the page so i missed the other download link.
i am logged into my work pc at the moment so this is why ive noticed the other download link this morning.
i will download it today and let you know tomorrow weather it worked or not.
Thanks for the response! if you didnt ask for the file name i wouldnt have checked the website again :)
If possible, use a more recent compiler.
I suggest TDM's gcc: http://tdm-gcc.tdragon.net/ (http://tdm-gcc.tdragon.net/) .
It'S the recent version of the compiler we shipped with the release, which might lead to problems on win 7.
-
Thanks Jens . i will kep that in mind but for now i want to try keep to the book for as long as possible (until i know waht im doing) . When i haave a deeper understanding of programming ill think about getting better software thanks :)
-
I just installed the mingw codeblocks and it works fine!