Page 1 of 1

Hello World

Posted: Fri Dec 31, 2010 5:59 am
by Nutmeg
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.

Re: Hello World

Posted: Mon Jan 03, 2011 6:23 pm
by Izhido
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.