enigmla plugins test

Alles rund um das grafische Benutzerinterface Enigma
aaly
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Mittwoch 14. Juli 2010, 02:17

enigmla plugins test

Beitrag von aaly »

is it possible to test the plugins on a pc ?
mrvica
Einsteiger
Einsteiger
Beiträge: 342
Registriert: Freitag 24. September 2004, 12:48

Re: enigmla plugins test

Beitrag von mrvica »

better you do it on the Box, from /tmp (RAM), no need to copy it into the flash
http://www.tuxbox-cvs.sourceforge.net/f ... 29&t=48194

Code: Alles auswählen

wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=/tmp/your_plugin.cfg"
both your_plugin.cfg and your_plugin.so must be in /tmp existent

mrvica
aaly
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Mittwoch 14. Juli 2010, 02:17

Re: enigmla plugins test

Beitrag von aaly »

thanks , thats not what i meant

i thought i could compile the plugins for linux on i686 or something ,i couldnt compile them statically , thanks.
mrvica
Einsteiger
Einsteiger
Beiträge: 342
Registriert: Freitag 24. September 2004, 12:48

Re: enigmla plugins test

Beitrag von mrvica »

be more specific, what do you mean with statically, with all symbols included? what plugins are you pointing to, .so plugins (shared object, shared library), I´m not an expert on that matter, I think they cannot be compiled statically
Static libraries, by definition, cannot be shared
and vice versa I think (just my opinion)
"http://en.wikipedia.org/wiki/Library_(computing)"
I thought you just wanted to test enigma plugin you compiled on your x86 machine
is it possible to test the plugins on a pc ?
not possible at all, they have different cpu architecture

mrvica
aaly
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Mittwoch 14. Juli 2010, 02:17

Re: enigmla plugins test

Beitrag von aaly »

yep they have different architecture ;) , thought there is some work around that.


about the plugin its .so , i defined my own classes and want to link them statically like this :



Main PLugin = compiled Statically to my classes
compiled Shared with enigma libs

My Classes ( they use enignna libs as well so .. ) = compiled shared with enigma libs

would some Makefile work with that ?

EDIT :

NVM i got my way around this :)