Rockbox Development > Starting Development and Compiling

Compiling Plugins

(1/3) > >>

d3nn1as:
Hey

I'm developing a little basic interpreter plugin for rockbox. It's converted from one
of my old projects.

Is there a way to compile just this plugin (not the whole rockbox source code along with it)? It still compiles the full thing even if only one plugin source has changed.

I'm not really familiar with the rockbox source (or cygwin), but I thought it would be fun to make a little scripting engine for mp3 players.

This is what gave me the idea: http://www.ipodlinux.org/LET_BASIC (I'm stealing some code from there aswell)

EDIT: When I'm compiling the plugin files they're all corrupt (half the size of the ones from the daily build) and they won't run. Maybe something I forgot? (I just compiled it simple  ./tools/configure; make; make zip)

bascule:

--- Quote from: d3nn1as on July 28, 2007, 04:33:33 PM ---Is there a way to compile just this plugin (not the whole rockbox source code along with it)? It still compiles the full thing even if only one plugin source has changed.
--- End quote ---
No. If you do, then you will get an 'Incompatible version' error when trying to run the plugin.


--- Quote from: d3nn1as on July 28, 2007, 04:33:33 PM ---EDIT: When I'm compiling the plugin files they're all corrupt (half the size of the ones from the daily build) and they won't run. Maybe something I forgot? (I just compiled it simple  ./tools/configure; make; make zip)

--- End quote ---
Have you managed to compile a completely clean version of the source? If so, then it must be your code that's causing the problem.

pixelma:

--- Quote from: bascule on July 29, 2007, 12:49:15 AM ---
--- Quote from: d3nn1as on July 28, 2007, 04:33:33 PM ---Is there a way to compile just this plugin (not the whole rockbox source code along with it)? It still compiles the full thing even if only one plugin source has changed.
--- End quote ---
No. If you do, then you will get an 'Incompatible version' error when trying to run the plugin.
--- End quote ---
This is not true as long as you really only change the code of your plugin. You'll only get an "incompatible version" if you have to add new functions to the plugin API, so that the one your installed build "provides" doesn't match that anymore (don't know all the details).

There is the option to "make rocks" for building the plugins seperately but that'll only work once you compiled a full build.

I'm not sure about your other problem but if they are significantly smaller - maybe you "configured" for a different target?

d3nn1as:
I chose to compile for the sansa e200 -> normal build, and if builds without any errors.

But the plugins get very small. I attached a image to show you:

http://i9.tinypic.com/4vrd8gh

Any ideas?

Bagder:
Plugins are small, that's not a problem!

Navigation

[0] Message Index

[#] Next page

Go to full version