Hi Olo,
nobody's going to be mad at you because of your English, which, by the way, is very good!
English isn't my first language, either :) Welcome to the USRP developer community.
So, let's tackle this one by one:
If you take the code from init_usrp.cpp [1] and try to compile it in your project instead
of your own code, does it also segfault?
If not, then we need to look at your code.
If yes, then we need to look at your compilation settings. I'm not a Windows user myself,
but I remember (at least older) MSVC was not happy when you mix debug builds of libraries
and release builds of software, or vice versa.
Best regards,
Marcus
[1] https://github.com/EttusResearch/uhd/tree/UHD-4.3/host/examples/init_usrp
On 17.04.23 09:18, Olo via USRP-users wrote:
Hello,
Im trying to work with my B210 in Qt. The thing is I have added in .pro file (using
qmake) UHD (4.3.0.0) lib and include header files to my project with boost (1.82.0)
library and I cant do pretty mutch anything. I tried to list all devices and I cant
event set uhd::device_addr_t hint; because I got exeption there (Stopped in thread 0 by:
Exception at ... read access violation ...). The examples in UHD folder works great.
Please dont be mad at me because of my english or lack of info but I fell like Im really
lost at this point.
my SW:
-windows 10
-Qt 5.12.2
-msvc2019 x64
-uhd 4.3.0.0
-boost 1.82.0
Thanks for any response.
Olo
Sent with Proton Mail <https://proton.me/> secure email.
_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com