Binaries included but bunch of compile errors #62
-
Hi all, i try to run the matplotplusplus in a windows environment and under visual studio 2017. All includes are correct, but i get a bunch of compile errors. Are there some other dependencies that i have to install first? This is only a part of all 1700 errors. Can i try something else? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
For what reason is it indicating that a ";" is missing in common.h? Why would just "const" be a syntax error in C++17? All that seems very weird. Maybe you can follow the instructions for building from source on your computer to figure where things are going differently. The library is building and installing fine for windows, linux, and mac os: |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response, i have tried to build the from source, (i'm not very familiar with cmake :( ) but now i get an error on the world_map_10m.cpp, that the expression was not evaluated to a constant. What i have done: Checking Build System |
Beta Was this translation helpful? Give feedback.
-
Can you try that with: mkdir build
cmake -version
cmake .. -G "Visual Studio 16 2019" -A x64 -DCMAKE_CXX_FLAGS="/O2" -DCMAKE_BUILD_TYPE=Release
cmake --build . -j 2 --config Release
cmake --install .
cpack . This is how we build it in Continuous Integration for Windows. To build from source you need to "Make sure you have a recent version of Visual Studio" and this is very true. I don't think "Visual Studio 15 2017" implemented the complete C++17 standard yet. |
Beta Was this translation helpful? Give feedback.
Can you try that with:
This is how we build it in Continuous Integration for Windows.
To build from source you need to "Make sure you have a recent version of Visual Studio" and this is very true. I don't think "Visual Studio 15 2017" implemented the complete C++17 standard yet.