Closed Baa14453 closed 2 years ago
It was building on my Kubuntu 22.04 box as of a few days ago, but unless someone else has an another idea in the meantime, you can try manually adding "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" (without the quotes) to the sdrangel cmake command-line parameters.
It was building on my Kubuntu 22.04 box as of a few days ago, but unless someone else has an another idea in the meantime, you can try manually adding "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" (without the quotes) to the sdrangel cmake command-line parameters.
I also did not find a solution to such a problem.
It was building on my Kubuntu 22.04 box as of a few days ago, but unless someone else has an another idea in the meantime, you can try manually adding "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" (without the quotes) to the sdrangel cmake command-line parameters.
Sorry this hasn't fixed it for me, I've put both compile logs into files in case it helps:
The problem is you are linking against /usr/lib/x86_64-linux-gnu/libavcodec.a rather than /usr/lib/x86_64-linux-gnu/libavcodec.so
In your cmake.txt log, it says:
Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.a;/usr/lib/x86_64-linux-gnu/libavformat.so....
It should be:
Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so....
Check to see if you have /usr/lib/x86_64-linux-gnu/libavcodec.so - if not, you need to install it / maybe reinstall it.
This issue is going to be closed due to inactivity
Replacing all 'libavcodec.a' in cmake files to 'libavcodec.so' will help.
I tried compiling today following the guide I get to around 82% and it fails saying the below:
I'm running Ubuntu 22, using the latest commit dcd0ee22728d41a6ec7f33bda6cd1b3c5804a857