Skip to content

Typo in install instruction #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SloCompTech opened this issue Sep 2, 2017 · 0 comments
Closed

Typo in install instruction #661

SloCompTech opened this issue Sep 2, 2017 · 0 comments

Comments

@SloCompTech
Copy link
Contributor

I discovered that parameters in install instructions are switched. If I run:

meson --buildtype shared --default-library release build
usage: meson [-h] [--prefix PREFIX] [--libdir LIBDIR]
             [--libexecdir LIBEXECDIR] [--bindir BINDIR] [--sbindir SBINDIR]
             [--includedir INCLUDEDIR] [--datadir DATADIR] [--mandir MANDIR]
             [--infodir INFODIR] [--localedir LOCALEDIR]
             [--sysconfdir SYSCONFDIR] [--localstatedir LOCALSTATEDIR]
             [--sharedstatedir SHAREDSTATEDIR]
             [--backend {ninja,vs,vs2010,vs2015,vs2017,xcode}]
             [--buildtype {plain,debug,debugoptimized,release,minsize}]
             [--strip] [--unity {on,off,subprojects}] [--werror]
             [--layout {mirror,flat}] [--default-library {shared,static}]
             [--warnlevel {1,2,3}] [--stdsplit] [--errorlogs]
             [--cross-file CROSS_FILE] [-D option] [-v]
             [--wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload}]
             [directories [directories ...]]
meson: error: argument --buildtype: invalid choice: 'shared' (choose from 'plain', 'debug', 'debugoptimized', 'release', 'minsize')

If I switch parameters

meson --buildtype release --default-library shared build
The Meson build system
Version: 0.42.0
Source dir: /home/martin/Workspace/Projects/Libraries/jsoncpp
Build dir: /home/martin/Workspace/Projects/Libraries/jsoncpp/build
Build type: native build
Project name: jsoncpp
Native C++ compiler: c++ (gcc 5.4.0)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Configuring version.h using configuration
WARNING: The variable(s) 'JSONCPP_USE_SECURE_MEMORY' in the input file 'src/lib_json/version.h.in' are not present in the given configuration data
Build targets in project: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant