Jump to navigation Jump to search
no edit summary
*Head to the workbench by clicking the far right arrow icon.
*You now see the main IDE with Project Explorer, File Editor, Console and others panes.
*There will be an error and a probably warning in the problems pane. Don't worry about them for now, and open C:\devkitPro\examples\wii\template\source in Windows Explorer. Select the Source folder and makefile, and copy them to clipboard. Return to Eclipse, right click the HelloWorld project in Project Explorer, and paste. The files should now be a part of your project.*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''. Expand C/C++ Build and , then choose discovery options. Uncheck ''Automate discovery of paths and symbols'' and hit OK.*With default settings, Eclipse will immediately build your project, but we will discuss these settings in the next section. The error and warning 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.
 <!--== More Settings ==
=== Enabling Autocomplete ===
Unfortunately, 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 manually.<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.
<!-- This section should probably be rewritten with use of environmental variables, DEVKITPRO and DEVKITPPC etc. -->
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 to work with. -->
=== Changing Defaults ===
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.


Navigation menu