boostorg / boostorg/program_options

build error with boost 1.68

Open
#60 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
136
Forks
117
PR merge metrics
No merged PRs in 30d

Description

When building boost 1.68, I have an error when building program_options where it cannot copy the program_options-mt.lib file.

It seems the .lib file is not created since nothing is exported when not using `BOOST_ALL_DYN_LIB`.

Taking example on boost.timer, I modified the Jamfile.v2 file to look like this
```
boost-lib program_options
: $(SOURCES).cpp
: # See https://svn.boost.org/trac/boost/ticket/5049
hpux,gcc:_INCLUDE_STDC__SOURCE_199901
shared:BOOST_PROGRAM_OPTIONS_DYN_LINK=1
static:BOOST_PROGRAM_OPTIONS_STATIC_LINK=1
;
```

and it seems to fix my issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.