boostorg / boostorg/program_options

build error with boost 1.68

Aperta
#60 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
136
Fork
117
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the program_options Jamfile.v2 and compare its boost-lib definition with the boost.timer example mentioned in the issue. Reproduce the Boost 1.68 build and verify that program_options-mt.lib is created and can be copied successfully.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.