Error compiling CubicSDR

Add useful snippets of code or links to entire SDR projects.
Post Reply
Toontje
Posts: 67
Joined: Fri Aug 07, 2015 8:36 am

Error compiling CubicSDR

Post by Toontje » Sat Jan 16, 2016 12:14 pm

Now you might think this has nothing to do with the SDRplay, but it has.
In the past i was always able to build CubicSDR without any issues. In fact, i built CubicSDR this morning successfully.
Then i found out there was a new API, so i downloaded it and wanted to build CubicSDR again only to run into this error:

Code: Select all

-- Build files have been written to: /Users/Ton/CubicSDR/build
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: CubicSDR
CPack: - Install project: CubicSDR
warning: target '/Users/andy/Dev/SoapySDR/build/lib/libSoapySDR.0.4-2.dylib' does not exist...
CMake Error at /opt/local/share/cmake-3.4/Modules/GetPrerequisites.cmake:800 (message):
  /opt/local/bin/otool failed: 1

  error: /opt/local/bin/otool: can't open file:
  /Users/andy/Dev/SoapySDR/build/lib/libSoapySDR.0.4-2.dylib (No such file or
  directory)

Call Stack (most recent call first):
  /opt/local/share/cmake-3.4/Modules/GetPrerequisites.cmake:925 (get_prerequisites)
  /opt/local/share/cmake-3.4/Modules/BundleUtilities.cmake:584 (get_prerequisites)
  /opt/local/share/cmake-3.4/Modules/BundleUtilities.cmake:804 (get_bundle_keys)
  /Users/Ton/CubicSDR/build/cmake_install.cmake:34 (fixup_bundle)
  


CPack Error: Error when generating package: CubicSDR
Can it be that the new API has something to do with the /Users/andy folder? Who is Andy? One of yours?

Thanks for the help, i will see if i can go back to the previous drivers in the mean time.

Ton.
Last edited by Toontje on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Error compiling CubicSDR

Post by sdrplay » Sat Jan 16, 2016 1:55 pm

yep that's one of us! I'll check the installer as that is clearly a bug.

Thanks for the heads up.

SDRplay
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Error compiling CubicSDR

Post by sdrplay » Sat Jan 16, 2016 2:07 pm

I've updated the installer - same revision

File size is now 204536 bytes

Sorry about that - let us know if there are any problems.

Best regards,

SDRplay
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Toontje
Posts: 67
Joined: Fri Aug 07, 2015 8:36 am

Re: Error compiling CubicSDR

Post by Toontje » Sat Jan 16, 2016 7:25 pm

All good now. Thanks!!

Ton.
Last edited by Toontje on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply