gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > "No input files" - when trying to install devkit a

#11994 - snapuswipe - Sun Oct 26, 2003 5:53 am

Before I start, I want to say I'm completely new gba programming. I plan on doing c++. and I know very little DOS.

I followed the install steps mentioned in the faq on the Begginer's page of the forum. I can set the path correctly to set it up to run. The FAQ said to run g++ through the the command prompt by typing g++.exe. But it responds:

Code:
g++.exe: No input files


I'm not sure what this means; It could be that I forgot one of the files, or it might be the fact that I'm trying to use Windows XP. I went to the download page for the devkit advance and downloaded these files.


  • agb-win-binutils-r4.zip
  • agb-win-core-r5.zip
  • agb-win-gcc-r4.zip
  • agb-win-libstdcpp-r4.zip
  • agb-win-newlib-r4.zip


Any help would be appreciated.

#11995 - tepples - Sun Oct 26, 2003 6:07 am

If you're not familiar with a command prompt, look up one of the many DOS tutorials available through Google.

You have to give g++ the name of your source code file, as mentioned in DKA/info.html. Try typing what's in bold:

C:\gba\src\hello>g++ hello.cpp -o hello.elf
C:\gba\src\hello>objcopy -O binary hello.elf hello.gba
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#12001 - yaustar - Sun Oct 26, 2003 1:22 pm

It might be a good idea to start reading some tutorials

www.gbajunkie.co.uk
www.thepernproject.com

are very good
_________________
[Blog] [Portfolio]