boost program options: win64: bcp namespace renamed version: *.lib file of program_options for *.dll is not created
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system
Research direction
Start with libs/program_options/build/Jamfile.v2 and compare the referenced commit and issue 60. Reproduce a shared Windows build for program_options with the supported Boost toolchain, then verify that the corresponding import library is generated alongside the DLL; the issue is done when this works for win32 and win64.
Written by the indexing model from the issue text.
Description
Between boost 1.63.0 and 1.65.1 line 12 of file 'libs/program_options/build/Jamfile.v2' has been changed:
https://github.com/boostorg/program_options/commit/1f9413f532e58b82d12e9185c2eb8bc45612914c
This change is the reason why the *.lib file for the program_options *.dll file is not created on win64/win32.
Please consider reverting the change mentioned above partially and put back the definition of the flag BOOST_PROGRAM_OPTIONS_DYN_LINK=1:
diff -ruN boost_1_65_1.orig/libs/program_options/build/Jamfile.v2 boost_1_65_1/libs/program_options/build/Jamfile.v2
--- boost_1_65_1.orig/libs/program_options/build/Jamfile.v2 2018-11-20 15:18:48.469951300 +0100
+++ boost_1_65_1/libs/program_options/build/Jamfile.v2 2018-11-22 10:27:15.108147800 +0100
@@ -11,6 +11,10 @@
boost-lib program_options
: $(SOURCES).cpp
- : # See https://svn.boost.org/trac/boost/ticket/5049
+ : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 # tell source we're building dll's
+ # See https://svn.boost.org/trac/boost/ticket/5049
<target-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901
- ;
\ No newline at end of file
+ :
+ : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
+ ;
+
Similar to issue: https://github.com/boostorg/program_options/issues/60
- Dominant language
- C++
- Stars
- 136
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/program_options
-
Provide C++20 module Open
Difficulty 5/5 Over a week Newbie friendliness 45/100
boostorg/program_options#160 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
boostorg/program_options#159 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
boostorg/program_options#147 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
boostorg/program_options#146 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
boostorg/program_options#144 ·
All issues in boostorg/program_options
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
duckdb/duckdb-wasm#2258 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·
-
Coarray integration tests carry no LABELS, so run_tests.py silently skips them under every backend Opencoarray
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
FISCO-BCOS/FISCO-BCOS#5642 ·