#11727 - dagamer34 - Thu Oct 16, 2003 11:45 pm
I am having a problem using the DevKit Advance compiler. I have a simple program that i wrote off the Pern Projects tutorials and it will not compile. But the real problem is that the MS-DOS box doesn't stay on the screen long enough for me to see my errors!!!!! Anybody have a solution??
_________________
Little kids and Playstation 2's don't mix. :(
#11728 - tepples - Fri Oct 17, 2003 12:10 am
Are you invoking DevKit Advance through a batch file? If so, try adding a new line to the end of the batch file, containing only the word pause.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#11729 - Gopher - Fri Oct 17, 2003 12:27 am
You may also be running the wrong thing; I thought the same thing when I first installed it because I accidentally ran one of the batch files instead of the shortcut.
_________________
"Only two things are infinite: the universe, and human stupidity. The first is debatable." -Albert Einstein
#11733 - Ninj4D4n - Fri Oct 17, 2003 6:25 am
tepples is right about the batch file.
you can also run from the command line. go to start->run and type cmd.
then you need to set the path for devkitadv. then go to the dir with your project then you can should be able to compile and it will keep the info on screen.
I do it this way over the batch file, i find it easier to debug because all you have to do is hit the up arrow and enter to run the same command after making changes to your code.
--Ninj4d4n
#11740 - Gopher - Fri Oct 17, 2003 5:30 pm
Ninj4d4n said:
>you can also run from the command line. go to start->run and type
>cmd. then you need to set the path for devkitadv. then go to the dir with
>your project then you can should be able to compile and it will keep the
>info on screen.
>-------
... there's actually a shortcut that does this already included.
Just edit cmd-rc.bat to have the correct path to the devkit. The shortcut is called DevKit-Advance-R5-Beta-3.lnk and launches a persistent cmd window with the path set up automatically. Depending on your windows installation you may also have to correct the path to cmd.exe in the shortcut's properties.
_________________
"Only two things are infinite: the universe, and human stupidity. The first is debatable." -Albert Einstein