←  [EN] Third-Party Development

Forums

»

where is the servicemp3.cpp file in openpl...

msenoz's Photo msenoz 17 Jul 2013

hi,

I'm trying to build openpli 2.1 image but need some modification in servicemp3.cpp

but i can not find the servicemp3.cpp file in openpli 2.1 build environment.

 

is it in an archive or in another file?

 

thanks in advance for any help.

Quote

athoik's Photo athoik 18 Jul 2013

OpenPLi 2.1 uses the same Enigma2 as OpenPLi 3.0.

 

So you can find the servicemp3.cpp on Enigma2 project here.

Quote

msenoz's Photo msenoz 19 Jul 2013

OpenPLi 2.1 uses the same Enigma2 as OpenPLi 3.0.

 

So you can find the servicemp3.cpp on Enigma2 project here.

 

Thanks for your reply but I want to find the servicemp3.cpp file in my build environment in order to check, but i can't.

where should be the location of the file in build environment as default?

Quote

Pr2's Photo Pr2 19 Jul 2013

hi,

 

Use the find command on your build environment.

 

Go into the source directory and type:

 

find . -name servicemp3.cpp

 

Pr2

Quote

betacentauri's Photo betacentauri 19 Jul 2013

@pr2: in sources directory he will only find the packed enigma tarball.

Search in buildxxxx/tmp/work/ directory. But I think you have to comment out the last line in your site.conf. Otherwise work directory will be cleaned at the end of the build.
Quote

blzr's Photo blzr 19 Jul 2013

and I suggest to clone enigma2 repo, make your changes there, then compile enigma2 using the recipe from your local e2 repository (bitbake -b /path_to_local_e2repo/enigma2.bb)

Quote

Erik Slagter's Photo Erik Slagter 21 Jul 2013

Yeah exactly. If you want to go develop enigma2, always use your own repo (git clone). This also makes it very easy to export changes (patches) to us.
Quote