The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.34 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Freeplaytech Forum
I Need Help With This Error! - Printable Version

+- Freeplaytech Forum (https://forum.freeplaytech.com)
+-- Forum: Neo Geo Pocket (https://forum.freeplaytech.com/forumdisplay.php?fid=1)
+--- Forum: Software Development (https://forum.freeplaytech.com/forumdisplay.php?fid=4)
+--- Thread: I Need Help With This Error! (/showthread.php?tid=5249)

Pages: 1 2 3


I Need Help With This Error! - NeoGeoFreak2004 - 07-09-2021

Hey Yall, So Anyways I Just Tried To Compile My Program And It Gives Me A Error Of A Unresolved Printf Symbol. So Can You Help Me Please!


RE: I Need Help With This Error! - Loïc - 07-10-2021

You need to be more precise on your issue if you want some help


RE: I Need Help With This Error! - sodthor - 07-11-2021

missing lib in your makefile?
You can attach a simple source file where the problem occurs so we can help.


RE: I Need Help With This Error! - NeoGeoFreak2004 - 11-22-2021

(07-11-2021, 05:32 AM)sodthor Wrote: missing lib in your makefile?
You can attach a simple source file where the problem occurs so we can help.


.c   test.c (Size: 84 bytes / Downloads: 1)

here is the file linked it is just a hello world program.


RE: I Need Help With This Error! - sodthor - 11-23-2021

My bad, printf is not available on ngpc: there is no console where to display the text.
The function prototype is available in stdio.h but with a comment: Reserve
Maybe it was available with the dev unit / hw emulator, connected to a PC.
To display a string on the screen, I suggest you to use the library done by Ivan Mackintosh (PrintString) used in most homebrews (libray.c/.h)

.c   library.c (Size: 27.2 KB / Downloads: 0)
.h   library.h (Size: 2.12 KB / Downloads: 3)


RE: I Need Help With This Error! - NeoGeoFreak2004 - 12-29-2021

Update: Now when I compile the code to a rom file for the emulator, It Gives me a error. The error says: SWI 7 is not valid or something like that, so can you guys help me please!


RE: I Need Help With This Error! - KeiDash - 12-29-2021

(12-29-2021, 08:37 AM)NeoGeoFreak2004 Wrote: Update: Now when I compile the code to a rom file for the emulator, It Gives me a error. The error says: SWI 7 is not valid  or something like that, so can you guys help me please!

Will you be able to show the complete error here?


RE: I Need Help With This Error! - NeoGeoFreak2004 - 12-29-2021

Here is the error, so when I try to type in compile.bat into the command prompt, it compiles, but the emulator will not work with the ROM and pops up with an error message. This is the full error: [PC 100003] swi 7 not found. my code is compiling but crashing on the emulator. so that is the error message I am getting


RE: I Need Help With This Error! - KeiDash - 12-29-2021

(12-29-2021, 11:18 PM)NeoGeoFreak2004 Wrote: Here is the error, so when I try to type in compile.bat into the command prompt, it compiles, but the emulator will not work with the ROM and pops up with an error message. This is the full error: [PC 100003] swi 7 not found. my code is compiling but crashing on the emulator. so that is the error message I am getting

What emulator and what OS are you using? Did you try to open the rom direclty in the emulator?


RE: I Need Help With This Error! - NeoGeoFreak2004 - 12-30-2021

I am using Windows 11 as my os and the emulator is neopop and also i did not try to launch the rom directly into the emulator.