alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.34k stars 334 forks source link

why MinGW and vs2017 failed, but vs2022 success #339

Open baiqinglun opened 1 year ago

baiqinglun commented 1 year ago

Bug category

Describe the bug

I succeeded when I compiled with vs2022, but failed with vs2017 and mingw.

Steps to Reproduce

# Your steps go here
vscode build tool
click [gcc/vs2017 Release/ vs2022 Release]
click [CMake Release]
[Build]
[run]
cmake .. <options> -DCMAKE_BUILD_TYPE=Release

Output

```console # The output you got vs2017 Error ![image](https://user-images.githubusercontent.com/72600300/236357400-ef2102cb-b63a-4e24-bd76-0bf5ee9e5b3a.png) mingw(gcc12.2) error ![image](https://user-images.githubusercontent.com/72600300/236357529-08f7c81c-4da2-40d5-bea8-f377bc441812.png) ```

Platform

Environment Details:

Additional context