Author Topic: Compiling  (Read 6880 times)

KI4YJL

  • Guest
Compiling
« on: September 14, 2007, 11:10:49 pm »
Okay, I get this error:

"Pokemon - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.


I have read other posts on this forum, and none help. I don't have any compilers installed myself, and I try to use all the ones it came with.

Sorry! I am new to C++

THANKS!
David

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Compiling
« Reply #1 on: September 14, 2007, 11:13:24 pm »
you need to install a compiler. have a look at section 3.1 from the cookbook for example (or in other sections of the wiki) : http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook

KI4YJL

  • Guest
Re: Compiling
« Reply #2 on: September 14, 2007, 11:16:04 pm »
Thanks!

David

KI4YJL

  • Guest
Re: Compiling
« Reply #3 on: September 14, 2007, 11:30:58 pm »
Okay, I install G++, and still won't compile, and I don't see it in the list.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Compiling
« Reply #4 on: September 15, 2007, 04:45:00 pm »
Okay, I install G++, and still won't compile, and I don't see it in the list.
What list?
G++ is a backend for gcc. So you really need to install the full stuff required (including binutils and so on, too). Use the MinGW installer (v5.1.3 is most current if I remember correctly).
Then you have to tell C::B where the compiler is (how should it know?) You do this is the compiler setup. There is a tab called "search directories" and "toolchain executables". Do the correct setup (at least) there.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

KI4YJL

  • Guest
Re: Compiling
« Reply #5 on: September 16, 2007, 03:39:56 pm »
I hate to be a pest, but WHAT FILE DO I NEED? I do everything right, but there is still no G++.exe. PLEASE help.

EDIT: I have Vista Home Premium

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Compiling
« Reply #6 on: September 16, 2007, 07:23:36 pm »
EDIT: I have Vista Home Premium

Thats the problem, VISTA. Setting the compiler with vista is more difficult than with other versions of windows. Search the wiki for documentation about this, well here is the url http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista.

Good luck!