[USRP-users] Windows 7 64 bit build issues : bin folder is not copied by INSTALL build, USRP not found

Bastien Auneau ba at verisat.no
Thu Jun 7 10:13:41 EDT 2012

Hi All

I am building UHD 3.4.2 from last stable release, under Windows 7 64bit, VS
2008, using boost 1.49.0 (compiled it myself)
To get UHD 64 bit debug, I've done :
_ applied patch described here :
  (without this patch, there are some DLL load problems)
_ in Cmake
  - Release to Debug
  - set path to boost lib
  - changed /machine:X86 to /machine:X64 (3 rows)
  - changed /Dwin32 flags to /Dwin64 (2 rows)
_ changed active platform from win32 to x64 in VS (and this for all
_ ALL_BUILD -> build UHD compiles and link fine
_ INSTALL -> build, the bin folder is not copied to the target
_ I copy uhd.dll manually, and uhd_find_devices.exe

running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;

No UHD Devices Found

C:\Program Files\UHD>pause
Press any key to continue . . .

while when I'm trying with an older build, 32 bits, the device is found :

C:\Program Files (x86)\UHD_3_3_1_vc9_debug\bin>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104700;

-- UHD Device 0
Device Address:
    type: usrp2

C:\Program Files (x86)\UHD_3_3_1_vc9_debug\bin>pause
Press any key to continue . . .

My questions are :
_ why device is not found with 64 bit version ?
_ How can I avoid setting manually x64 for each sub-project in VS 2008 ?
_ Why 64 bit version still prints Win32 on the command line ? Should I just
ignore that ?
_ What is the patch applied really doing ?

Thanks and Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120607/63fec8af/attachment-0002.html>

More information about the USRP-users mailing list