I try to compile / use the library unter Cygwin with g++ and I get the errors:
g++ -o buildscons/linux-gcc-4.3.4/src/jsontestrunner/main.o -c -Wall -Iinclude -I. src/jsontestrunner/main.cpp
g++ -o buildscons/linux-gcc-4.3.4/src/jsontestrunner/jsontestrunner.exe buildscons/linux-gcc-4.3.4/src/jsontestrunner/main.o -Llibs/linux-gcc-4.3.4 -lpthread -ljson_linux-gcc-4.3.4_libmt /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ljson_linux-gcc-4.3.4_libmt
I build the library with the command "scons platform=linux-gcc"
Thanks
Manually build with "g++ -shared -o libjson.dll json_reader.cpp json_writer.cp json_value.jpp -I../../include" within the src/lib_json directory works
Our
cmake
builds now work on cygwin: https://github.com/open-source-parsers/jsoncpp/