Menu

#37 cygwin g++ error

0.5.0
closed-works-for-me
nobody
5
2015-03-06
2011-08-07
flashpixx
No

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

Discussion

  • flashpixx

    flashpixx - 2011-08-07

    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

     
  • Christopher Dunn

    Our cmake builds now work on cygwin: https://github.com/open-source-parsers/jsoncpp/

     
  • Christopher Dunn

    • status: open --> closed-works-for-me
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.