2

I am trying to implement Boost and UHD in a windows VS2015. I installed Boost . I downloaded the binary, installed it, build builder with bootstrap.bat then build it with

bjam --build-dir=build-directory --toolset=msvc14.0  address-model=64 --build-type=complete stage

I installed UHD from Ettus uhd_3.10.1.1-release_x64_VS2015.exe. Then I started my project. I linked all the libraries.

1: VC++ Directories > Executable Directories > ...\UHD\bin ( as an attempt to solve this problem)

2: C/C++ > General> Additional include directories ...\boost_1_63_0; ...\UHD\bin; ...\UHD\include;

3: Linker > General > Additional Library Directories : ...\UHD\lib; ..\boost_1_63_0\stage\lib; ...\boost_1_63_0;

4: Linker > Input > Additional Dependencies > uhd.lib

When I launch my own or example code from GitHub I get an error saying that the code cant be execute because uhd.dll file is missing. If I put the uhd.dll file in the VS project directory I get access violation: 0xC0....05. Has anyone encountered this issue before ?

Itchydon
  • 2,572
  • 6
  • 19
  • 33
Marek Wojnicz
  • 57
  • 2
  • 7
  • you need to *either* download binary boost or build it from scratch. Doing both is basically a recipe for conflicts, and I'd very much guess that's the reason for your access violation. The fact that uhd.dll needs to be in the PATH or the same directory as the executable is absolutely normal and just how dynamic linking works under windows. – Marcus Müller Jul 18 '17 at 08:42
  • I downloaded the binary of the builder, at least from what i understand. I linked and added uhd.dll to the folder, and i still cant launch it. Boost was installed correctly it works for purpouses others then UHD. – Marek Wojnicz Jul 18 '17 at 08:47
  • Did you solved this problem? – Bastianon Massimo Jul 18 '18 at 07:05
  • @BastianonMassimo unfortunately no, i was told to focus on something else then stopped working there – Marek Wojnicz Aug 03 '18 at 11:12

0 Answers0