Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Need Help With This Error!
#18
(02-22-2022, 06:36 AM)NeoGeoFreak2004 Wrote: So here is the source code file i compiled, if i need to make any edits let me know.

Ok I saw the problem.

1. You are allowing at your code to exit outside the main function. If you don't put something to stop it (like a while loop for example), it will enter main and exit automatically.
Code:
void main ()
{

   while(1){
      PrintString(""Happy New Year!");
   }
   return 0;

}

2. You are printing text without load the main or your own fonts. See SysSetSystemFont function in library.c

I think you should look at the existing examples to prevent errors of this type. If you have many doubts about "how prepare your first project" like "hello world" or something more simple, see this link, maybe help you.
Reply


Messages In This Thread
I Need Help With This Error! - by NeoGeoFreak2004 - 07-09-2021, 07:21 AM
RE: I Need Help With This Error! - by Loïc - 07-10-2021, 04:38 AM
RE: I Need Help With This Error! - by sodthor - 07-11-2021, 05:32 AM
RE: I Need Help With This Error! - by sodthor - 11-23-2021, 06:55 AM
RE: I Need Help With This Error! - by KeiDash - 12-29-2021, 11:00 PM
RE: I Need Help With This Error! - by KeiDash - 12-29-2021, 11:49 PM
RE: I Need Help With This Error! - by Loïc - 12-31-2021, 11:13 AM
RE: I Need Help With This Error! - by KeiDash - 12-30-2021, 08:07 PM
RE: I Need Help With This Error! - by sodthor - 02-02-2022, 03:00 AM
RE: I Need Help With This Error! - by KeiDash - 02-21-2022, 05:43 PM
RE: I Need Help With This Error! - by KeiDash - 02-22-2022, 08:44 PM
RE: I Need Help With This Error! - by KeiDash - 02-25-2022, 12:24 AM
RE: I Need Help With This Error! - by sodthor - 03-22-2022, 03:21 AM
RE: I Need Help With This Error! - by sodthor - 03-22-2022, 04:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)