Author Topic: problem with program build  (Read 4648 times)

Offline crowntimber

  • Single posting newcomer
  • *
  • Posts: 3
problem with program build
« 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: problem with program build
« Reply #1 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: problem with program build
« Reply #2 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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline crowntimber

  • Single posting newcomer
  • *
  • Posts: 3
Re: problem with program build
« Reply #3 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.

Offline crowntimber

  • Single posting newcomer
  • *
  • Posts: 3
Re: problem with program build
« Reply #4 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.

Offline Freem

  • Almost regular
  • **
  • Posts: 218
Re: problem with program build
« Reply #5 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.