-
Couldn't load subscription status.
- Fork 2.7k
Description
Describe the bug
I can't build the library either as outlined in the front page (using vcpkg) or with CMake as outlined in the wiki.
To Reproduce
Steps to reproduce the behavior:
- Install MSYS2
- Open MinGW32 shell
- Install both the x86 and x64 toolchains
- Follow the rest of the provided instructions
Expected behavior
THE LIBRARY SHOULD BUILDDDDDDD.
Desktop (please complete the following information):
- OS: Windows 10
- Meson version: n/a
- Ninja version: n/a
Additional context
Output while trying the vcpkg method: (ran from vcpkg directory)
`$ ./vcpkg install jsoncpp --host-triplet=x64-mingw-static --triplet=x86-mingw-dynamic
Computing installation plan...
The following packages will be built and installed:
jsoncpp:x86-mingw-dynamic@1.9.5#2
-
vcpkg-cmake:x64-mingw-static@2023-05-04
-
vcpkg-cmake-config:x64-mingw-static@2022-02-06#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-mingw-static...
error: while detecting compiler information:
The log file content at "C:\msys64-crypto\home\user\vcpkg\buildtrees\detect_compiler\stdout-x64-mingw-static.log" is:
CMake Error at C:/msys64-crypto/home/user/vcpkg/scripts/ports.cmake:133 (message):
Cannot find port:Directory does not exist: C;/msys64-crypto/home/user/vcpkg/scripts/detect_compiler
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
`
I can't show the output I got with the CMake method provided by the wiki because it's too long, but it seems to be mostly undefined references to items beginning with std::__cxx11::. I'm guessing I have to specify C++11 somewhere but I have no clue how.
Somebody help please? I just want to build this so I can use it on a project but it feels like rocket science. I just need an include folder, a lib folder, and a bin folder with 32-bit MinGW binaries. I don't need any package management