Jump to navigation Jump to search
no edit summary
Please leave suggestions on the talk page instead of editing directly, for now.
The [ Eclipse Platform] is a modern open source IDE with a built-in debugger GUI and support for several programming languages via plug-ins. Plug-ins can also be used to extend functionality. For many, programmer's notepad and insight will suffice, but others may find it a little out of date. This wiki will guide you through each stage in the setup process, but assumes that you are using Windows, have already installed [[DevkitPro]] and are relatively familiar with the concepts of developing Wii Homebrew.I hope it is of use to others ~ [[User:PhoenixTank|PhoenixTank]] | [[User talk:PhoenixTank|talk]] | [[Special:Contributions/PhoenixTank|contribs]] |
== Requirements ==
*Head to Projects > Properties, or do the same from the right click menu of helloworld. Click ''C/C++ Build'' then choose the ''behaviour'' tab. Here, change the value of ''Build (Incremental Build)'' to ''build'', then hit OK.
*With default settings, Eclipse will immediately build your project. The error should no longer be there to pester you.
*Now, to deal with the warning: Error launching external scanner info generator (gcc -E -P -v -dD C:/WiiDev/projects/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) The easiest way to fix this is to add C:\devkitPro\devkitPPC\powerpc-gekko\bin; to the start of your PATH environmental variable. You may need to restart, and be careful not to remove part of the existing path.
=== Setting an environmental variable ===
<!--==== Wiiload ======== Path ==== == More Settings ===== Enabling Autocomplete Auto Complete ===Unfortunately, auto complete (known as "content assist" in Eclipse's automatic search for paths and symbols is bugged), and you had to disable it. Usually this would do the work of finding the files it needs to integrate functions into autocomplete, but we are going to have to do it manuallya helping hand.<br />
Open your project's properties, head to C/C++ General, then Paths and Symbols. You then need to add the following paths, making sure to select "Add to all languages". Note that the folder names you need may vary, such as the 4.2.4 being higher or lower, and of course you need to correctly alter the paths to point to the location that you installed devkitPro to.
If you have subfolders within your project that contain source files, you may also need to add a path to your source folder.
This should set up the majority of the locations for autocomplete auto complete to work with. -Default triggers are ''.'' , ''->'' and ''::'', but ctrl + space will start the auto complete otherwise.<!--=== Changing Defaults Some Preferences ===
Eclipse is quite customisable, but the large amount of settings can be a struggle to wade through, in order to find what you are looking for.
--I have some personal preferences that may be of interest to others.From Window >Preferences:*General ¬ Workspace. ''Build automatically'' unchecked, ''Save automatically before build'' checked.*C/C++ ¬ Code Style. I use BSD/Allman, but the other most common styles are there too.*C/C++ ¬ Editor ¬ Content Assist. Drop the delay to 200 ms.*C/C++ ¬ New CDT project wizard ¬ Makefile Project : Behaviour tab. Uncheck ''Build on resource save'', change value of 'Build (Incremental Build)'' to ''build''


Navigation menu