Rockbox Development > Starting Development and Compiling

Compiling a plugin

<< < (2/3) > >>

Llorean:
You'll need to give more information then. What SVN revision does SVN report you have, what environment are you compiling in (Linux, Cygwin, etc), what target are you compiling for, what patches have you tried to apply, what changes have you made?

The official sources don't have this error, so we need to figure out what you've done that is causing it.

To compile a plugin you'll need to add the plugin to the SOURCES file in the plugin folder as well as having it's c file present there.

howardh:

--- Quote ---Checked out revision 18281.
--- End quote ---

Ubuntu

No patches

no changes other than adding pitch.c to the plugin folder

Llorean:
Could you re-check out the source in a new location then make a build folder and attempt to compile and paste a log of that whole session to pastebin.ca?

howardh:
Alright, it's building. It should be done in about half an hour.

edit:
Or not... It's done and works. I'll try with pitch.c and post the results here.

edit 2:
It works now. How do I get pitch.c to compile with the rest? It doesn't seem to be there with the rest of the .rock files.

Llorean:
Did you add it to SOURCES like I said above?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version