-
I have a project that depends on a few libraries that are mainly built using vcpkg (i.e. vcpkg install boost:x64-windows), which by default work with Release mode and the -MD flag, but I've been struggling to get coinbrew to give me a compatible build - by default it seems to build static Debug (-MTd) libs which eventually throw a linker error when I try to build the project that depends on everything. I've tried adding the --enable-shared flag to the coinbrew command line by itself, and also with ADD_CXXFLAGS="-MD -LD", but it seems to only change the file size of the resulting libs without building a corresponding set of dlls. It must be user error, but I'm out of things to try - any help would be much appreciated! basically just trying to get "plain old" Release-mode dlls that play nice with other libraries built with vcpkg. Using Windows 10, Msys2, and VS2019, following these steps:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
--enable-msvc=MD
should be what you need. My apologies if that's not mentioned in the documentation anywhere!