BA
Bastien Auneau
Thu, Jun 7, 2012 2:13 PM
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
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)
_ 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
running uhd_find_devices.exe gives :
__________________
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
SH
Simon HB9DRV
Thu, Jun 7, 2012 4:20 PM
Hi,
Over the last two weeks I've been through the Windows 64-bit integration
process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only
be used this way
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I'm able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).
Simon Brown, HB9DRV
http://dit-dit-dit.com/ http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
Hi,
Over the last two weeks I've been through the Windows 64-bit integration
process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only
be used this way
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I'm able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).
Simon Brown, HB9DRV
<http://dit-dit-dit.com/> http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
__________________
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
BA
Bastien Auneau
Thu, Jun 7, 2012 4:25 PM
Hi Simon
Thanks for the answer
What do you mean by :
"I have to use shared CTRL and MFC in the executable because UHD.dll can
only be used this way" ?
Can you explain or point to on-line doc ?
Best Regards
Bastien
On 7 June 2012 18:20, Simon HB9DRV simon@hb9drv.ch wrote:
Hi,****
Over the last two weeks I’ve been through the Windows 64-bit integration
process. In my case I’m using the latest unstable Debug and Release builds.
I used VS2010****
I built Boost from source****
I have to use shared CTRL and MFC in the executable because UHD.dll can
only be used this way****
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I’m able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).****
Simon Brown, HB9DRV
http://dit-dit-dit.com****
You are standing at the end of a road before a small brick building.
Around you is a forest.****
A small stream flows out of the building and down a gully. The sunspot
count is 285.****
From: usrp-users-bounces@lists.ettus.com [mailto:
usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found**
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien****
Hi Simon
Thanks for the answer
What do you mean by :
"I have to use shared CTRL and MFC in the executable because UHD.dll can
only be used this way" ?
Can you explain or point to on-line doc ?
Best Regards
Bastien
On 7 June 2012 18:20, Simon HB9DRV <simon@hb9drv.ch> wrote:
> Hi,****
>
> ** **
>
> Over the last two weeks I’ve been through the Windows 64-bit integration
> process. In my case I’m using the latest unstable Debug and Release builds.
> ****
>
> ** **
>
> I used VS2010****
>
> I built Boost from source****
>
> I have to use shared CTRL and MFC in the executable because UHD.dll can
> only be used this way****
>
> ** **
>
> I am now able to use UHD.dll and ship to my software commercial customers
> without worrying about the USRP support issues. I’m able to get a reliable
> 20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
> (i7).****
>
> ** **
>
> Simon Brown, HB9DRV
> http://dit-dit-dit.com****
>
> ** **
>
> You are standing at the end of a road before a small brick building.
> Around you is a forest.****
>
> A small stream flows out of the building and down a gully. The sunspot
> count is 285.****
>
> ** **
>
> *From:* usrp-users-bounces@lists.ettus.com [mailto:
> usrp-users-bounces@lists.ettus.com] *On Behalf Of *Bastien Auneau
> *Sent:* 07 June 2012 16:14
> *To:* usrp-users@lists.ettus.com
> *Subject:* [USRP-users] Windows 7 64 bit build issues : bin folder is not
> copied by INSTALL build, USRP not found****
>
> ** **
>
> 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)
> _ 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
>
> running uhd_find_devices.exe gives :
> __________________
> C:\Program Files\UHD>uhd_find_devices.exe
> Win32; Microsoft Visual C++ version 9.0; Boost_104900;
> UHD_003.004.002-0-unknown
>
>
> 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_003.003.001-unknown
>
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
> type: usrp2
> addr: 192.168.10.3
> name:
> serial:
>
>
>
> 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
> Bastien****
>
BA
Bastien Auneau
Thu, Jun 7, 2012 4:59 PM
Hi All
I found some answers, and would like to share it, in case anyone is
interested
I answer the list of question I've asked in previous email :
_ why device is not found with 64 bit version ?
--> this works after updating FW and FPGA (I think that wrong version was
loaded before, 210 instead of 200)
_ How can I avoid setting manually x64 for each sub-project in VS 2008 ?
--> Still no answer...
_ Why 64 bit version still prints Win32 on the command line ? Should I just
ignore that ?
-->it is the same when downloading the Win64 compiled version from Ettus
website. So I guess it can just be ignored
_ What is the patch applied really doing ?
--> no answer on that...
On 7 June 2012 16:13, Bastien Auneau ba@verisat.no 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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
Hi All
I found some answers, and would like to share it, in case anyone is
interested
I answer the list of question I've asked in previous email :
_ why device is not found with 64 bit version ?
--> this works after updating FW and FPGA (I think that wrong version was
loaded before, 210 instead of 200)
_ How can I avoid setting manually x64 for each sub-project in VS 2008 ?
--> Still no answer...
_ Why 64 bit version still prints Win32 on the command line ? Should I just
ignore that ?
-->it is the same when downloading the Win64 compiled version from Ettus
website. So I guess it can just be ignored
_ What is the patch applied really doing ?
--> no answer on that...
On 7 June 2012 16:13, Bastien Auneau <ba@verisat.no> 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)
> _ 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
>
> running uhd_find_devices.exe gives :
> __________________
> C:\Program Files\UHD>uhd_find_devices.exe
> Win32; Microsoft Visual C++ version 9.0; Boost_104900;
> UHD_003.004.002-0-unknown
>
>
> 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_003.003.001-unknown
>
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
> type: usrp2
> addr: 192.168.10.3
> name:
> serial:
>
>
>
> 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
> Bastien
>
>
PT
Patrik Tast
Thu, Jun 7, 2012 5:31 PM
Hi,
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
Patrik
----- Original Message -----
From: Simon HB9DRV
To: 'Bastien Auneau' ; usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 19:20
Subject: Re: [USRP-users] Windows 7 64 bit build issues : bin folder is notcopied by INSTALL build, USRP not found
Hi,
Over the last two weeks I've been through the Windows 64-bit integration process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only be used this way
I am now able to use UHD.dll and ship to my software commercial customers without worrying about the USRP support issues. I'm able to get a reliable 20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU (i7).
Simon Brown, HB9DRV
http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around you is a forest.
A small stream flows out of the building and down a gully. The sunspot count is 285.
From: usrp-users-bounces@lists.ettus.com [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900; UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Hi,
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
Patrik
----- Original Message -----
From: Simon HB9DRV
To: 'Bastien Auneau' ; usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 19:20
Subject: Re: [USRP-users] Windows 7 64 bit build issues : bin folder is notcopied by INSTALL build, USRP not found
Hi,
Over the last two weeks I've been through the Windows 64-bit integration process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only be used this way
I am now able to use UHD.dll and ship to my software commercial customers without worrying about the USRP support issues. I'm able to get a reliable 20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU (i7).
Simon Brown, HB9DRV
http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around you is a forest.
A small stream flows out of the building and down a gully. The sunspot count is 285.
From: usrp-users-bounces@lists.ettus.com [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
__________________
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900; UHD_003.004.002-0-unknown
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_003.003.001-unknown
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
------------------------------------------------------------------------------
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
BA
Bastien Auneau
Thu, Jun 7, 2012 5:36 PM
Hi Patrik
No problem with Ubuntu. I definitely prefer it to Windows. My company has
seen an increase of linux machine since I'm employed there.
But sometimes, in the real world, there isn't always choice of platform
(dependencies, history, customer request, etc...)
Best Regards
Bastien
On 7 June 2012 19:31, Patrik Tast patrik@poes-weather.com wrote:
**
Hi,
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
Patrik
----- Original Message -----
From: Simon HB9DRV simon@hb9drv.ch
To: 'Bastien Auneau' ba@verisat.no ; usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 19:20
Subject: Re: [USRP-users] Windows 7 64 bit build issues : bin folder is
notcopied by INSTALL build, USRP not found
Hi,****
Over the last two weeks I’ve been through the Windows 64-bit integration
process. In my case I’m using the latest unstable Debug and Release builds.
I used VS2010****
I built Boost from source****
I have to use shared CTRL and MFC in the executable because UHD.dll can
only be used this way****
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I’m able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).****
Simon Brown, HB9DRV
http://dit-dit-dit.com****
You are standing at the end of a road before a small brick building.
Around you is a forest.****
A small stream flows out of the building and down a gully. The sunspot
count is 285.****
From: usrp-users-bounces@lists.ettus.com [mailto:
usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found**
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien****
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Hi Patrik
No problem with Ubuntu. I definitely prefer it to Windows. My company has
seen an increase of linux machine since I'm employed there.
But sometimes, in the real world, there isn't always choice of platform
(dependencies, history, customer request, etc...)
Best Regards
Bastien
On 7 June 2012 19:31, Patrik Tast <patrik@poes-weather.com> wrote:
> **
> Hi,
>
> Save time and use either Fedora or Ubuntu < 30 min?
> Two weeks installing...oh man...?
>
> Patrik
>
> ----- Original Message -----
> *From:* Simon HB9DRV <simon@hb9drv.ch>
> *To:* 'Bastien Auneau' <ba@verisat.no> ; usrp-users@lists.ettus.com
> *Sent:* Thursday, June 07, 2012 19:20
> *Subject:* Re: [USRP-users] Windows 7 64 bit build issues : bin folder is
> notcopied by INSTALL build, USRP not found
>
> Hi,****
>
> ** **
>
> Over the last two weeks I’ve been through the Windows 64-bit integration
> process. In my case I’m using the latest unstable Debug and Release builds.
> ****
>
> ** **
>
> I used VS2010****
>
> I built Boost from source****
>
> I have to use shared CTRL and MFC in the executable because UHD.dll can
> only be used this way****
>
> ** **
>
> I am now able to use UHD.dll and ship to my software commercial customers
> without worrying about the USRP support issues. I’m able to get a reliable
> 20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
> (i7).****
>
> ** **
>
> Simon Brown, HB9DRV
> http://dit-dit-dit.com****
>
> ** **
>
> You are standing at the end of a road before a small brick building.
> Around you is a forest.****
>
> A small stream flows out of the building and down a gully. The sunspot
> count is 285.****
>
> ** **
>
> *From:* usrp-users-bounces@lists.ettus.com [mailto:
> usrp-users-bounces@lists.ettus.com] *On Behalf Of *Bastien Auneau
> *Sent:* 07 June 2012 16:14
> *To:* usrp-users@lists.ettus.com
> *Subject:* [USRP-users] Windows 7 64 bit build issues : bin folder is not
> copied by INSTALL build, USRP not found****
>
> ** **
>
> 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)
> _ 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
>
> running uhd_find_devices.exe gives :
> __________________
> C:\Program Files\UHD>uhd_find_devices.exe
> Win32; Microsoft Visual C++ version 9.0; Boost_104900;
> UHD_003.004.002-0-unknown
>
>
> 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_003.003.001-unknown
>
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
> type: usrp2
> addr: 192.168.10.3
> name:
> serial:
>
>
>
> 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
> Bastien****
>
> ------------------------------
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
SH
Simon HB9DRV
Thu, Jun 7, 2012 5:40 PM
No,
Integrating USRP support into my software to a standard where I'm prepared
to make it available for mission critical systems. Not a single commercial
customers uses or even wants to use Linux.
I do miss a proper interface specification such as is available with other
radios such as RFspace.
Simon Brown, HB9DRV
http://dit-dit-dit.com/ http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Patrik Tast [mailto:patrik@poes-weather.com]
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
No,
Integrating USRP support into my software to a standard where I'm prepared
to make it available for mission critical systems. Not a single commercial
customers uses or even wants to use Linux.
I do miss a proper interface specification such as is available with other
radios such as RFspace.
Simon Brown, HB9DRV
<http://dit-dit-dit.com/> http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Patrik Tast [mailto:patrik@poes-weather.com]
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
JB
Josh Blum
Thu, Jun 7, 2012 6:11 PM
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)
_ 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
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
PT
Patrik Tast
Thu, Jun 7, 2012 6:29 PM
to a standard where I'm prepared to make it available for mission critical systems
...why did NASA dev team abandon MS and switch to linux, 2008? I do hope that your systems are not that critical...
Not a single commercial customers uses or even wants to use Linux.
most dedicated are using linux...novices are using MS, sure it works...
I do miss a proper interface specification such as is available with other radios such as RFspace.
I don't think other radios see RF better, perhaps 1 - 3dB diff
Patrik
----- Original Message -----
From: Simon HB9DRV
To: 'Patrik Tast' ; 'Bastien Auneau' ; usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 20:40
Subject: RE: [USRP-users] Windows 7 64 bit build issues : bin folder is notcopied by INSTALL build, USRP not found
No,
Integrating USRP support into my software to a standard where I'm prepared to make it available for mission critical systems. Not a single commercial customers uses or even wants to use Linux.
I do miss a proper interface specification such as is available with other radios such as RFspace.
Simon Brown, HB9DRV
http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around you is a forest.
A small stream flows out of the building and down a gully. The sunspot count is 285.
From: Patrik Tast [mailto:patrik@poes-weather.com]
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
Hi Simon,
>to a standard where I'm prepared to make it available for mission critical systems
...why did NASA dev team abandon MS and switch to linux, 2008? I do hope that your systems are not that critical...
>Not a single commercial customers uses or even wants to use Linux.
most dedicated are using linux...novices are using MS, sure it works...
>I do miss a proper interface specification such as is available with other radios such as RFspace.
I don't think other radios see RF better, perhaps 1 - 3dB diff
Patrik
----- Original Message -----
From: Simon HB9DRV
To: 'Patrik Tast' ; 'Bastien Auneau' ; usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 20:40
Subject: RE: [USRP-users] Windows 7 64 bit build issues : bin folder is notcopied by INSTALL build, USRP not found
No,
Integrating USRP support into my software to a standard where I'm prepared to make it available for mission critical systems. Not a single commercial customers uses or even wants to use Linux.
I do miss a proper interface specification such as is available with other radios such as RFspace.
Simon Brown, HB9DRV
http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around you is a forest.
A small stream flows out of the building and down a gully. The sunspot count is 285.
From: Patrik Tast [mailto:patrik@poes-weather.com]
Save time and use either Fedora or Ubuntu < 30 min?
Two weeks installing...oh man...?
BA
Bastien Auneau
Thu, Jun 7, 2012 6:34 PM
Hi guys
Please discuss about how cool you think linux is in a new thread...
Sorry for that but I'd like to keep the focus on thread topic :
_ how to build UHD 64 bit without having to select 64 for each sub-project
in VS2008 Configuration manager ?
_ why bin folder is not copied along with the other folders when building
INSTALL ?
_ what is the fixed
http://comments.gmane.org/gmane.comp.hardware.usrp.e100/3420 really doing ?
But I enjoy your enthusiasm for the discussion ;-)
Best Regards
Bastien
On 7 June 2012 20:29, Patrik Tast patrik@poes-weather.com wrote:
to a standard where I’m prepared to make it available for mission
critical systems
...why did NASA dev team abandon MS and switch to linux, 2008? I do hope
that your systems are not that critical...
Not a single commercial customers uses or even wants to use Linux.
most dedicated are using linux...novices are using MS, sure it works...
I do miss a proper interface specification such as is available with
other radios such as RFspace.****
I don't think other radios see RF better, perhaps 1 - 3dB diff
Patrik
----- Original Message -----
From: Simon HB9DRV simon@hb9drv.ch
To: 'Patrik Tast' patrik@poes-weather.com ; 'Bastien Auneau'ba@verisat.no;
usrp-users@lists.ettus.com
Sent: Thursday, June 07, 2012 20:40
Subject: RE: [USRP-users] Windows 7 64 bit build issues : bin folder is
notcopied by INSTALL build, USRP not found
No,****
Integrating USRP support into my software to a standard where I’m prepared
to make it available for mission critical systems. Not a single commercial
customers uses or even wants to use Linux.****
I do miss a proper interface specification such as is available with other
radios such as RFspace.****
Simon Brown, HB9DRV
http://dit-dit-dit.com****
You are standing at the end of a road before a small brick building.
Around you is a forest.****
A small stream flows out of the building and down a gully. The sunspot
count is 285.****
From: Patrik Tast [mailto:patrik@poes-weather.com] ****
Save time and use either Fedora or Ubuntu < 30 min?****
Two weeks installing...oh man...? ****
Hi guys
Please discuss about how cool you think linux is in a new thread...
Sorry for that but I'd like to keep the focus on thread topic :
_ how to build UHD 64 bit without having to select 64 for each sub-project
in VS2008 Configuration manager ?
_ why bin folder is not copied along with the other folders when building
INSTALL ?
_ what is the fixed
http://comments.gmane.org/gmane.comp.hardware.usrp.e100/3420 really doing ?
But I enjoy your enthusiasm for the discussion ;-)
Best Regards
Bastien
On 7 June 2012 20:29, Patrik Tast <patrik@poes-weather.com> wrote:
> **
> Hi Simon,
>
> >to a standard where I’m prepared to make it available for mission
> critical systems
> ...why did NASA dev team abandon MS and switch to linux, 2008? I do hope
> that your systems are not that critical...
> >Not a single commercial customers uses or even wants to use Linux.
> most dedicated are using linux...novices are using MS, sure it works...
>
> >I do miss a proper interface specification such as is available with
> other radios such as RFspace.****
> I don't think other radios see RF better, perhaps 1 - 3dB diff
>
> Patrik
>
> ----- Original Message -----
> *From:* Simon HB9DRV <simon@hb9drv.ch>
> *To:* 'Patrik Tast' <patrik@poes-weather.com> ; 'Bastien Auneau'<ba@verisat.no>;
> usrp-users@lists.ettus.com
> *Sent:* Thursday, June 07, 2012 20:40
> *Subject:* RE: [USRP-users] Windows 7 64 bit build issues : bin folder is
> notcopied by INSTALL build, USRP not found
>
> No,****
>
> ** **
>
> Integrating USRP support into my software to a standard where I’m prepared
> to make it available for mission critical systems. Not a single commercial
> customers uses or even wants to use Linux.****
>
> ** **
>
> I do miss a proper interface specification such as is available with other
> radios such as RFspace.****
>
> ** **
>
> Simon Brown, HB9DRV
> http://dit-dit-dit.com****
>
> ** **
>
> You are standing at the end of a road before a small brick building.
> Around you is a forest.****
>
> A small stream flows out of the building and down a gully. The sunspot
> count is 285.****
>
> ** **
>
> *From:* Patrik Tast [mailto:patrik@poes-weather.com] ****
>
> ****
>
> Save time and use either Fedora or Ubuntu < 30 min?****
>
> Two weeks installing...oh man...? ****
>
>
SS
Stefano Speretta
Fri, Jun 8, 2012 3:31 PM
_ Why 64 bit version still prints Win32 on the command line ? Should I
just ignore that ?
-->it is the same when downloading the Win64 compiled version from
Ettus website. So I guess it can just be ignored
> _ Why 64 bit version still prints Win32 on the command line ? Should I
> just ignore that ?
> -->it is the same when downloading the Win64 compiled version from
> Ettus website. So I guess it can just be ignored
The Windows platform in Boost is called "win32" but there is no link to
a 32/64 bit architecture, it's just a static definition...
Check boost source code here:
http://www.boost.org/doc/libs/1_49_0/boost/config/select_platform_config.hpp
http://www.boost.org/doc/libs/1_49_0/boost/config/platform/win32.hpp
Stefano
SG
Stan Gamla
Mon, Jun 11, 2012 11:55 AM
Simon,
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).
Thanks in advance,
Stan
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Simon HB9DRV
Sent: 07 June 2012 18:20
To: 'Bastien Auneau'; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Windows 7 64 bit build issues : bin folder is
notcopied by INSTALL build, USRP not found
Hi,
Over the last two weeks I've been through the Windows 64-bit integration
process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only
be used this way
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I'm able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).
Simon Brown, HB9DRV
http://dit-dit-dit.com/ http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
-- UHD Device 0
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
Simon,
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).
Thanks in advance,
Stan
_____
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Simon HB9DRV
Sent: 07 June 2012 18:20
To: 'Bastien Auneau'; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Windows 7 64 bit build issues : bin folder is
notcopied by INSTALL build, USRP not found
Hi,
Over the last two weeks I've been through the Windows 64-bit integration
process. In my case I'm using the latest unstable Debug and Release builds.
I used VS2010
I built Boost from source
I have to use shared CTRL and MFC in the executable because UHD.dll can only
be used this way
I am now able to use UHD.dll and ship to my software commercial customers
without worrying about the USRP support issues. I'm able to get a reliable
20MHz bandwidth using complex floats from a WBX board with a 2.8GHz CPU
(i7).
Simon Brown, HB9DRV
<http://dit-dit-dit.com/> http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: usrp-users-bounces@lists.ettus.com
[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Bastien Auneau
Sent: 07 June 2012 16:14
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Windows 7 64 bit build issues : bin folder is not
copied by INSTALL build, USRP not found
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)
_ 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
running uhd_find_devices.exe gives :
__________________
C:\Program Files\UHD>uhd_find_devices.exe
Win32; Microsoft Visual C++ version 9.0; Boost_104900;
UHD_003.004.002-0-unknown
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_003.003.001-unknown
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
type: usrp2
addr: 192.168.10.3
name:
serial:
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
Bastien
SH
Simon HB9DRV
Mon, Jun 11, 2012 12:12 PM
Hi,
Will do. BTW - two weeks included work on my own software. For a Windows
purist the UHD.dll architecture is 'unusual', the steps needed to use it in
a major project just aren't documented. In my case I have many DLLs (one per
manufacturer/radio model) with a common set of exported functions, these
DLLs are loaded dynamically. This caused some nice problems to be overcome.
What I'll do is update a blog on my dit-dit-dit.com website, but it's clear
that Windows support s weak when compared to the many other interface
libraries I use (CodeJock, Intel IPP, .). Ideally Ettus would provide
interface documentation so that a lean, clean and well-written interface can
be created. (If you browse the source you will find some unpleasant
eye-openers. As a developer of 30+ years I would reject the source.)
But - now that I have been through the hoops I'm prepared to release my code
for in-house testing, but am still unhappy with UHD.dll and the lack of
low-level documentation. Ettus does describe the hardware as test equipment,
with better documentation it could be used well in the real world.
I'll update now, will report back.
Simon Brown, HB9DRV
http://dit-dit-dit.com/ http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Stan Gamla [mailto:cystrin@hotmail.com]
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).
Hi,
Will do. BTW - two weeks included work on my own software. For a Windows
purist the UHD.dll architecture is 'unusual', the steps needed to use it in
a major project just aren't documented. In my case I have many DLLs (one per
manufacturer/radio model) with a common set of exported functions, these
DLLs are loaded dynamically. This caused some nice problems to be overcome.
What I'll do is update a blog on my dit-dit-dit.com website, but it's clear
that Windows support s weak when compared to the many other interface
libraries I use (CodeJock, Intel IPP, .). Ideally Ettus would provide
interface documentation so that a lean, clean and well-written interface can
be created. (If you browse the source you will find some unpleasant
eye-openers. As a developer of 30+ years I would reject the source.)
But - now that I have been through the hoops I'm prepared to release my code
for in-house testing, but am still unhappy with UHD.dll and the lack of
low-level documentation. Ettus does describe the hardware as test equipment,
with better documentation it could be used well in the real world.
I'll update now, will report back.
Simon Brown, HB9DRV
<http://dit-dit-dit.com/> http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Stan Gamla [mailto:cystrin@hotmail.com]
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).
SH
Simon HB9DRV
Mon, Jun 11, 2012 1:30 PM
Hi Stan,
My notes are here:
http://dev.dit-dit-dit.com/Blog/tabid/88/post/ettus-research-notes/Default.a
spx
If you need help let me know. I think I have addressed all the issues you
will can come across.
Simon Brown, HB9DRV
http://dit-dit-dit.com/ http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Stan Gamla [mailto:cystrin@hotmail.com]
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).
Hi Stan,
My notes are here:
http://dev.dit-dit-dit.com/Blog/tabid/88/post/ettus-research-notes/Default.a
spx
If you need help let me know. I think I have addressed all the issues you
will can come across.
Simon Brown, HB9DRV
<http://dit-dit-dit.com/> http://dit-dit-dit.com
You are standing at the end of a road before a small brick building. Around
you is a forest.
A small stream flows out of the building and down a gully. The sunspot count
is 285.
From: Stan Gamla [mailto:cystrin@hotmail.com]
Building under Windows 7 is quite an effort but to do so with full 64-bit
support is an outstanding achievement (at least in my humble opinion and
based on my own failures). As it took you two weeks to "bring it all
together", could you please share any tricks and tips that you might have
discovered or developed along the way (and that perhaps are not documented
elsewhere). For example, which dependencies were needed and which in turn
were built from source (and with with special options).