usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Building UHD using MSVC 2008

PH
Pol Henarejos
Mon, May 21, 2012 3:20 PM

Dear list,

I am trying to build UHD driver using MSVC 2008, since it is my
compiler. I know that in Build Guide MSVC 2010 is required but I have
not it. I would like to request you if you could provide me support for
this compiler.

When I build UHD using MSVC 2008 everything goes fine. But when I start
some example or test the program closes suddenly with no useful error
(windows error 0xc0000005). I tried to run the program as Administrator
but no luck. Dependancy walker does not say anything anormal. All
libraries are x64. I use the release mode and the master branch (git
003.004.001-145-g38043612). I also do not provide usb support, only usrp2.

Do you have some hint?

Thank you.

Sincerely.

--

Pol Henarejos
Research Engineer, MSc
pol.henarejos@cttc.es

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Engineering Unit
Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 396 71 70  Ext: 2177
Fax. +34 93 645 29 01
www.cttc.es

Dear list, I am trying to build UHD driver using MSVC 2008, since it is my compiler. I know that in Build Guide MSVC 2010 is required but I have not it. I would like to request you if you could provide me support for this compiler. When I build UHD using MSVC 2008 everything goes fine. But when I start some example or test the program closes suddenly with no useful error (windows error 0xc0000005). I tried to run the program as Administrator but no luck. Dependancy walker does not say anything anormal. All libraries are x64. I use the release mode and the master branch (git 003.004.001-145-g38043612). I also do not provide usb support, only usrp2. Do you have some hint? Thank you. Sincerely. -- Pol Henarejos Research Engineer, MSc pol.henarejos@cttc.es Centre Tecnològic de Telecomunicacions de Catalunya (CTTC) Engineering Unit Parc Mediterrani de la Tecnologia Av. Carl Friedrich Gauss, 7 08860 Castelldefels, Barcelona (Spain) Tel: +34 93 396 71 70 Ext: 2177 Fax. +34 93 645 29 01 www.cttc.es
JB
Josh Blum
Mon, May 21, 2012 4:55 PM

On 05/21/2012 08:20 AM, Pol Henarejos wrote:

Dear list,

I am trying to build UHD driver using MSVC 2008, since it is my
compiler. I know that in Build Guide MSVC 2010 is required but I have

FWIW, MSVC 2010 express is free

not it. I would like to request you if you could provide me support for
this compiler.

When I build UHD using MSVC 2008 everything goes fine. But when I start
some example or test the program closes suddenly with no useful error
(windows error 0xc0000005). I tried to run the program as Administrator
but no luck. Dependancy walker does not say anything anormal. All
libraries are x64. I use the release mode and the master branch (git
003.004.001-145-g38043612). I also do not provide usb support, only usrp2.

Do you have some hint?

What you are seeing is an access violation. There is some bug related to
MSVC2008 and boost that causes it. Other users have reported this, but
unfortunately, I have not been able to replicate the issue with MSVC2008
pro and boost 1.47 from boost pro website.

A user posted a patch here that may work around the issue:
http://comments.gmane.org/gmane.comp.hardware.usrp.e100/3420

-josh

On 05/21/2012 08:20 AM, Pol Henarejos wrote: > Dear list, > > I am trying to build UHD driver using MSVC 2008, since it is my > compiler. I know that in Build Guide MSVC 2010 is required but I have FWIW, MSVC 2010 express is free > not it. I would like to request you if you could provide me support for > this compiler. > > When I build UHD using MSVC 2008 everything goes fine. But when I start > some example or test the program closes suddenly with no useful error > (windows error 0xc0000005). I tried to run the program as Administrator > but no luck. Dependancy walker does not say anything anormal. All > libraries are x64. I use the release mode and the master branch (git > 003.004.001-145-g38043612). I also do not provide usb support, only usrp2. > > Do you have some hint? > What you are seeing is an access violation. There is some bug related to MSVC2008 and boost that causes it. Other users have reported this, but unfortunately, I have not been able to replicate the issue with MSVC2008 pro and boost 1.47 from boost pro website. A user posted a patch here that may work around the issue: http://comments.gmane.org/gmane.comp.hardware.usrp.e100/3420 -josh