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

Josh Blum josh at ettus.com
Thu Jun 7 14:11:17 EDT 2012



On 06/07/2012 07:13 AM, Bastien Auneau wrote:
> 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 :
> http://comments.gmane.org/gmane.comp.hardware.usrp.e100/3420
>   (without this patch, there are some DLL load problems)

There is a bug here:
https://svn.boost.org/trac/boost/ticket/6638

> _ 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
> sub-projects)
> _ 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
>


You should tell CMake configure to use the MSVC 64 bit compiler. You
shouldnt need to change or set any flags. It will just work (tm)

You can simply open the MSVC x64 terminal and run:
DevEnv uhd.sln /build Debug /project ALL_BUILD

-josh




More information about the USRP-users mailing list