Rockbox Development > Starting Development and Compiling
infoNES emulator for sansa fuze
Jack Sparrow:
--- Quote from: torne on June 24, 2010, 02:35:49 PM ---You need to add a line 'infones' to apps/plugins/SUBDIRS. The patch shows you where, but the surrounding lines have changed since the patch was created, so you'll have to see where the right place is now.
--- End quote ---
So how do I see where the right place is now? Sorry for my ignorance, I just started patching two days ago
torne:
http://en.wikipedia.org/wiki/Diff#Unified_format <- explains what the contents of a patch mean
You need to look at what change the patch makes, and work out by looking at the current version of the file being patched, what the equivalent change now should be.
saratoga:
--- Quote from: Jack Sparrow on June 24, 2010, 05:40:05 PM ---
--- Quote from: torne on June 24, 2010, 02:35:49 PM ---You need to add a line 'infones' to apps/plugins/SUBDIRS. The patch shows you where, but the surrounding lines have changed since the patch was created, so you'll have to see where the right place is now.
--- End quote ---
So how do I see where the right place is now? Sorry for my ignorance, I just started patching two days ago
--- End quote ---
The line starting with '+' is the one you have to add, the ones without a '+' are the ones that are already there. Find the 'goban' line and add it there.
Jack Sparrow:
I added it to the SUBDIRS file after goban, patched, and compiled it. While it was compiling, it brought up a bunch of errors like:
--- Quote ---.../apps/plugins/infones/keymaps.h:616:1: error: unterminated #else
.../apps/plugins/infones/keymaps.h:589:1: error: unterminated #ifndef
--- End quote ---
After it compiled, there was an infones directory in apps/plugins but it was empty, and when I made the zip file it did not show up at all
saratoga:
--- Quote from: Jack Sparrow on June 24, 2010, 08:20:17 PM ---I added it to the SUBDIRS file after goban, patched, and compiled it. While it was compiling, it brought up a bunch of errors like:
--- Quote ---.../apps/plugins/infones/keymaps.h:616:1: error: unterminated #else
.../apps/plugins/infones/keymaps.h:589:1: error: unterminated #ifndef
--- End quote ---
After it compiled, there was an infones directory in apps/plugins but it was empty, and when I made the zip file it did not show up at all
--- End quote ---
That means you get to finish writing the plugin!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version