News:

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

Main Menu

Compiling

Started by KI4YJL, September 14, 2007, 11:10:49 PM

Previous topic - Next topic

KI4YJL

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

killerbot

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


KI4YJL

Okay, I install G++, and still won't compile, and I don't see it in the list.

MortenMacFly

Quote from: KI4YJL 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.
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

KI4YJL

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

JGM

Quote from: KI4YJL on September 16, 2007, 03:39:56 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!