From bdb1eab942c64fa261f82f485bb00056f787a4e8 Mon Sep 17 00:00:00 2001 From: Chen <50514813+dota17@users.noreply.github.com> Date: Mon, 20 Jan 2020 17:32:54 +0800 Subject: [PATCH] update FAQ : py amalgamate.py does not work on windows console --- FAQ.mediawiki | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/FAQ.mediawiki b/FAQ.mediawiki index f713cb8..62116c2 100644 --- a/FAQ.mediawiki +++ b/FAQ.mediawiki @@ -54,6 +54,16 @@ Almost. We plan to be. == error: ambiguous overload for `operator[]` in `Json::Value` == Sorry. [http://stackoverflow.com/questions/18901781/jsoncpp-ambiguous-overload-only-in-windows See discussion]. +== py amalgamate.py does not work on windows console == +How to Fix :
+The shebang (top line) is preventing windows from running the script correctly.
+Take out the shebang on windows and run the command with +``` +py amalgamate.py COMMAND_LINE_ARGUMENTS +``` +The script will work as expected.
+Thanks [https://github.com/TheMaverickProgrammer @TheMaverickProgrammer] in [https://github.com/open-source-parsers/jsoncpp/issues/1129 Issue#1129] + = Other platforms = == How do I cross-compile for ARM? == Try ideas in issue #243: