Boost logo

Boost Users :

From: Anand Arumugam (anand.arumug_at_[hidden])
Date: 2021-02-14 01:06:06


Hello all,

How to properly link boost library DLLs? I have #define-d the following:

#define BOOST_ALL_DYN_LINK
#define BOOST_DYN_LINK
#define BOOST_THREAD_USE_DLL
#define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION
#define BOOST_THREAD_VERSION 4

And I still get the following problem:

---------------------------
testprogs.exe - System Error
---------------------------
The code execution cannot proceed because
boost_thread-vc142-mt-gd-x64-1_75.dll was not found. Reinstalling the
program may fix this problem.
---------------------------
OK
---------------------------

I get the same error when I try to run the program using DLLs that I built
and while running using the prebuilt binaries.

Not sure what step I'm missing. The program runs fine if I build using
static libs. The problem is only with DLLs.

Any help is much appreciated.

Thanks,
Anand.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net