News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

problem with program build

Started by crowntimber, July 01, 2011, 08:00:23 AM

Previous topic - Next topic

crowntimber

 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.

Jenna

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.

stahta01

IIRC, the version of Code::Blocks with the book was 8.02; this version IS NOT compatible with Vista or Windows 7.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

crowntimber

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.

crowntimber

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.

Freem

Use the one shipped with C::B, mingw.
I would recommend you the TDM unofficial installer, it's more up to date.