Page 1 of 1

Error compiling CubicSDR

Posted: Sat Jan 16, 2016 12:14 pm
by Toontje
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.

Re: Error compiling CubicSDR

Posted: Sat Jan 16, 2016 1:55 pm
by sdrplay
yep that's one of us! I'll check the installer as that is clearly a bug.

Thanks for the heads up.

SDRplay

Re: Error compiling CubicSDR

Posted: Sat Jan 16, 2016 2:07 pm
by sdrplay
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

Re: Error compiling CubicSDR

Posted: Sat Jan 16, 2016 7:25 pm
by Toontje
All good now. Thanks!!

Ton.