boostorg / boostorg/program_options
build error with boost 1.68
- Langage dominant
- C++
- Étoiles
- 136
- Forks
- 117
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par le program_options Jamfile.v2 et comparez sa définition de boost-lib avec l’exemple de boost.timer mentionné dans l’issue. Reproduisez le build de Boost 1.68 et vérifiez que program_options-mt.lib est créé et peut être copié avec succès.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100