Open dalbert2 opened 1 year ago
Sorry about this. It looks like a bug in the CMake build where it is building a dependency twice.
Can you try the latest development snapshot? I removed CMake entirely in favour of a simple (non-autotools) configure script and Makefile some time ago. I just haven't made a release of it yet (or updated the README) so the latest release still uses CMake.
You can build the latest development snapshot with the usual:
./configure && make && sudo make install
Thank you Nicholas, the develop snapshot builds and runs perfectly under cygwin!
~/msgpack_develop/msgpack-tools-develop
$ make
c++ -Icontrib/mpack/src -Icontrib/rapidjson/include -Icontrib/libb64/include -Icontrib/libb64/src -Wall -Wextra -Wpedantic -Wno-unused-parameter -DVERSION=\"1.0\" -DLIBB64_VERSION=\"1.2.1\" -g -fPIC -DPIC -DNDEBUG -Os -MMD -MF .build/msgpack2json.d -o msgpack2json src/msgpack2json.cpp
c++ -Icontrib/mpack/src -Icontrib/rapidjson/include -Icontrib/libb64/include -Icontrib/libb64/src -Wall -Wextra -Wpedantic -Wno-unused-parameter -DVERSION=\"1.0\" -DLIBB64_VERSION=\"1.2.1\" -g -fPIC -DPIC -DNDEBUG -Os -MMD -MF .build/json2msgpack.d -o json2msgpack src/json2msgpack.cpp
I downloaded a fresh tarball of the v6 release and make fails as below. I'm using gcc 11.3.0 under cygwin 64 on windows 11: