Hi Vladimir, You need to link with libusb. It seems to be needed regardless of whether you enable the sub module or not.
Kind regards, Joshua Sendall On 25 Sep 2017 6:18 PM, Vladimir via USRP-users <usrp-users@lists.ettus.com> wrote:[The e-mail server of the sender could not be verified (SPF Record)]Hello USRP team! In our Linux application for quite a while we use some 3.10 version of UHD (which requires FPGA ver. 33) and it works fine. Now we want to use the same version in Windows app, to match the FPGA ver. But trying to build any of 3.10 versions in MS Visual Studio 2013 (Release x64 cfg) I'm getting two strange linking errors: Error 500 error LNK2019: unresolved external symbol "public: virtual __cdecl uhd::transport::usb_device_handle::~usb_device_handle(void)" (??1usb_device_handle@transport@uhd@@UEAA@XZ) referenced in function "public: virtual void * __cdecl uhd::transport::usb_device_handle::`vector deleting destructor'(unsigned int)" (??_Eusb_device_handle@transport@uhd@@UEAAPEAXI@Z) Error 501 error LNK2019: unresolved external symbol "public: virtual __cdecl uhd::transport::usb_zero_copy::~usb_zero_copy(void)" (??1usb_zero_copy@transport@uhd@@UEAA@XZ) referenced in function "public: void __cdecl uhd::transport::usb_zero_copy::`vbase destructor'(void)" (??_Dusb_zero_copy@transport@uhd@@QEAAXXZ) in file D:\VS\uhd\host\build\lib\usb_dummy_impl.obj Looks like it's related with boost libs, which I'm not familiar with. I switched to last boost 1.65.1 (started with 1.60 with the sme results), tried UHD 3.10.0.0, 3.10.2.0 and some one in between like 3.10.1.0 - all the same. Ver. 3.9.7 builds OK. BTW, I use the following sequence to build boost: bootstrap b2 toolset=msvc-12.0 address-model=64 b2 toolset=msvc-12.0 address-model=64 --with-test link=shared As I see you have binaries for VC2013 available, obviously it should build correctly. Do you have any idea of what could be the problem here? I use MS Visual Studio 2013 Ultimate with Update 5. Thank you! Vladimir Pavlenko -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. Please consider the environment before printing this email.
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com