Hello World

support for the powerpc toolchain
Post Reply
Nutmeg
Posts: 1
Joined: Fri Dec 31, 2010 5:37 am

Hello World

Post by Nutmeg » Fri Dec 31, 2010 5:59 am

First of all, sorry for being the newbie who can't figure out how to run the Hello World program. Please, any help would be greatly appreciated. http://wiibrew.org/wiki/Getting_Started_with_devkitppc I was trying to follow this guide, but I got lost in the steps about:
"Click on Tools->make or use the ALT+1 key combination"
and
"The output window at the bottom will show the build progress"

-The guide says that a "HelloWorld.dol" file should have been created in my HelloWorld directory. My problem: There is no .dol file in that directory.

Here is where I got to. I am in Programmer's Notepad:
Image

But the HelloWorldDirectory still looks like this:
Image
When I compiled it it returned this:

Code: Select all

 "make" 

> Process Exit Code: 0
> Time Taken: 00:01
Here is the code I wrote. The problem is probably that I did not include any libraries. I know I need to include something, but I don't know what it is... (Is it just #include iostream ???)

Code: Select all

cout << "hello world." << endl;
I know I can't excpect that code to work by itself, but I don't know what to do next.
-------------------------------
-Again, I am sorry for being the newbie who can't run the Hello World code :oops: , but any help is appreciated.

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Hello World

Post by Izhido » Mon Jan 03, 2011 6:23 pm

It feels like you missed a few, crucial steps in order to create your hello world application.

Check the page again, and this time follow *all* shown steps, in the indicated order.

It is very hard (though not actually impossible) to start doing DS/Wii apps from scratch, particularly because the tools were designed to be used under very specific circumstances, with their own configuration switches, options and whatnot. This is why we recommend to take a look at the example projects in your devkit installation. The template project (in your C:/devkitPro/examples/Wii/template folder ) is a very good starting point.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests