Closed jesusha123 closed 4 months ago
This is crashing on the second line? This one:
node["key"] = "value"; // it now is a map node
If so, I strongly suspect this is an issue with your setup, since there are unit tests that cover this basic use case. Could you take a closer look, and maybe ask on Stack Overflow?
I have a CLion debug configuration, and I switched the vcpkg triplet from x64-windows-release to x64-windows.
Based on the last comment, I suspected debug configurations do not work well with the x64-windows-release vcpkg triplet. It works now, although I don't understand why. I may take a look at this in the future.
I use another library, libcurl with x64-windows-release with CLion debug configuration and it works fine.
Anyways, thank you so much for your quick response.
Steps to reproduce
-DVCPKG_TARGET_TRIPLET=x64-windows-release -DCMAKE_TOOLCHAIN_FILE=C:\Users\Max\.vcpkg-clion\vcpkg\scripts\buildsystems\vcpkg.cmake
vcpkg.json file:
main.cpp file:
CMakeLists.txt file:
Observed results
Expected result
Not to crash
System