eabase
eabase
Yes, I know about the build command, but I don't know what are in those locations. It seem that evyone have different ideas what is a *library*. For example, looking...
BTW. There is a [libusb-cmake](https://github.com/libusb/libusb-cmake) version as well... In case someone else is also having issues. (I didn't try it yet.)
Great. What about the filenames themselves? For example, I noticed that `rtl-sdr` produces `rtlsdr.dll` whereas some *include* criteria from other packages, expect to to load `librtlsdr.dll`, or something like it,...
I'm running this command: ```bash # $XXLOG='log_install_soapysdr.txt' # cmake -S .. -B . -Ax64 -Wno-dev -Wno-deprecated --fresh --install-prefix 'C:\Program Files\SoapyRTLSDR' -DCMAKE_BUILD_TYPE=Release -DRTLSDR_INCLUDE_DIRS='C:\xxxx\libusb-1.0.27\include' -DRTLSDR_LIBRARIES='C:\xxxx\libusb-1.0.27\VS2022\MS64\dll' | Tee-object -Append $XXLOG -- Building for:...
Aaah may bad! Sorry! Never mind, I'm confsing the usblib with rtl-sdr above. Hold on.
> So `-DRTLSDR_INCLUDE_DIRS=include -DRTLSDR_LIBRARIES=VS2022\MS64\dll` Ok so this is wrong. The compiler option variables are without 'S', like this: **`-DRTLSDR_INCLUDE_DIR`** and **`-DRTLSDR_LIBRARY`** So using this, worked: `-DRTLSDR_INCLUDE_DIR="$RTLSDR_INCLUDE_DIRS" -DRTLSDR_LIBRARY="$RTLSDR_LIBRARIES"` I am using...
Ok, so `RTLSDR_LIBRARY` actually have to point to the (`*.dll`) file, so now it makes sense that the compiler option is called that. Using: **`$RTLSDR_LIBRARIES="C:\mylib\rtl-sdr\lib\rtlsdr.dll"`** (my wrong choice of name...
Aaah, crazy! The `RTLSDR_LIBRARY` must point to a **`*.lib`** file, not a `*.dll`, or it will not link, even if it builds. So this now works: `$RTLSDR_LIBRARIES="C:\mylib\rtl-sdr\lib\rtlsdr.lib"` ```bash # cmake...
@zuckschwerdt Installing with: ```bash # cmake --build . --config Release --target install MSBuild version 17.13.9+e0f243f1e for .NET Framework rtlsdrSupport.vcxproj -> C:\mydev\gitclones\SoapyRTLSDR\build\Release\rtlsdrSupport.dll 1> -- Install configuration: "Release" -- Installing: C:/Program Files/SoapyRTLSDR/lib/SoapySDR/modules0.8-3/rtlsdrSupport.dll...
Yes, something is off in the install location... I see I kept specifying it as build/compile option, as "other" projects often kept installing to the wrong folder (`C:\Program Files (x86)\`...