Closed somejavadev closed 1 year ago
You have probably not cloned with sub-modules
Thank you, I forgot the --recurse-submodules -j8 flags when cloning. And then one other thing, once done does one simply copy the new static lib in the /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/
or is there another way one install it into your LMS?
No, installing the plugin is a different thing. There is a binary application (helper) that you compile using what you just got. That helper can run anywhere, including on the computer that runs LMS. That's like building any C/C++ app.
Then there is a Perl part that interacts with the LMS server. This Perl part is optional in my bridges but strongly recommended. To understand how LMS plugins work, you need to read about these.
Now if you are not familiar with all these and the concepts, I very strongly advise against building everything by yourself, especially the binary helpers. All is already pre-build and ready to use and install, just go on LMS forum.
Hi,
Is there perhaps a basic build guide, eg the core commands to run to build and install the plugin on an ubuntu 20.04 or 22.04 server?
I am currently trying to build it using the build.sh script but I am running into a couple of issues. I have read the documentation around https://github.com/philippe44/cross-compiling/blob/master/README.md#organizing-submodules--packages but I am not too familiar with the c build process.
Branch: master
Currently I have install all the dependencies and I am running
./build.sh x86_64-linux-gnu-gcc
Not sure what I am doing wrong or I am missing here. Then lastly once this is done what is the process of installing the plugin?
Could you possibly point me into the right direction?