Code::Blocks Forums

User forums => Help => Topic started by: crowntimber on July 01, 2011, 08:00:23 am

Title: problem with program build
Post by: crowntimber on July 01, 2011, 08:00:23 am
 when i tried to create my first program when i would build it would give me invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] so i checked on here found other had same problem they went to settings : compiler and debugger : toolchain tab and would use auto detect to fix problem but when i do that it says it could not detect installation path of "GNU GCC Compiler"... Do u want to use compilers default installation directory? I say yes it doesnt fix problem it puts C:\MinGW in the dir slot. Is their a way for me to find the path or did the program not load correctly? I got the program off a cd out of a for dummies book.
Title: Re: problem with program build
Post by: Jenna on July 01, 2011, 01:53:42 pm
Make sure a compiler is installed, and that you know where it is.
Fix the appropriate toolchain accordingly and set the correct compiler as default.
Title: Re: problem with program build
Post by: stahta01 on July 01, 2011, 08:39:20 pm
IIRC, the version of Code::Blocks with the book was 8.02; this version IS NOT compatible with Vista or Windows 7.

Tim S.
Title: Re: problem with program build
Post by: crowntimber on July 01, 2011, 08:42:06 pm
Thank you i got it fixed. I had to use a different compiler than the default. Since i already had visual basic on my comp it made me use that. one. Thank you again for your help.
Title: Re: problem with program build
Post by: crowntimber on August 27, 2011, 07:43:08 am
Alright i totally had it working on vista with visual basic C++ 2008 compiler but than my dumb@#$ deleted the program and now i have no compiler i tried to find a new compilier i installed the new visual basic but it didnt work does can someone tell me where to find a compiler on the net that could work with vista and east to download im still looking but the help is appreciated.
Title: Re: problem with program build
Post by: Freem on August 27, 2011, 02:40:50 pm
Use the one shipped with C::B, mingw.
I would recommend you the TDM unofficial installer, it's more up to date.