Rockbox Development > Starting Development and Compiling
Compiling a plugin
howardh:
http://www.rockbox.org/tracker/task/8768?histring=tuner
I found this plugin a while ago but only the source code is available for download. I don't think it's complete but it seems to me that it's at least functional. How do I compile this plugin?
Llorean:
See the SimpleGuideToCompiling wiki page.
howardh:
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
This one? It only tells me how to compile the whole thing, which I've already tried and ended up with this:
--- Quote ---menus/main_menu.c: In function ‘info_getname’:
menus/main_menu.c:256: error: ‘LANG_DISK_NAME_INTERNAL’ undeclared (first use in this function)
menus/main_menu.c:256: error: (Each undeclared identifier is reported only once
menus/main_menu.c:256: error: for each function it appears in.)
menus/main_menu.c:275: error: ‘LANG_NOT_PRESENT’ undeclared (first use in this function)
menus/main_menu.c: In function ‘info_speak_item’:
menus/main_menu.c:365: error: ‘LANG_DISK_NAME_INTERNAL’ undeclared (first use in this function)
menus/main_menu.c:385: error: ‘LANG_NOT_PRESENT’ undeclared (first use in this function)
make[1]: *** [/home/howard/rockbox/build/apps/menus/main_menu.o] Error 1
make: *** [build] Error 2
--- End quote ---
Llorean:
You need to compile the whole thing with the plugin for the plugin to be able to work.
Did you use SVN to check out the sources or did you download the source tarball?
howardh:
I tried both and had the same result from both.
To compile the plugin with the rest of it, do I just place the .c file in the plugin folder?
Navigation
[0] Message Index
[#] Next page
Go to full version