You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't the only missing definitions - for example, I just noticed that while most libraries define BOOST_{NAME}_SOURCE in all of their cpp files, context defines BOOST_CONTEXT_SOURCE in its Jamfile, and without it, it won't add the dllexport specifiers.
So it also should be added to the CMakeLists in context:
I missed this (and probably others too) before because I've only built a static version so far, and unlike thread, the other libraries default to declarations without import/export symbols.
(uh, and sorry for opening all these as issues, but with a 1-commit repository with this recent commit date and older issues, I'm assuming you are just force pushing / rewriting a single commit)
uh, and sorry for opening all these as issues, but with a 1-commit repository with this recent commit date and older issues, I'm assuming you are just force pushing / rewriting a single commit
I do push a single new commit since it is generated from a script, but you can still do PRs and I will merge the changes into the scripts as well.
The boost thread library build depends on the existence of the
BOOST_THREAD_BUILD_LIB
(static) orBOOST_THREAD_BUILD_DLL
(dynamic) definitions.In the normal build, it is defined in its Jamfile.
Without one of these defined, it marks functions defined in cpp files with dllimport on Windows.
The following addition to its CMakeLists solves the problem:
The text was updated successfully, but these errors were encountered: