Skip to content

Binaries included but bunch of compile errors #62

Answered by alandefreitas
SebBil asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@SebBil
Comment options

@alandefreitas
Comment options

Answer selected by SebBil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #62 on September 22, 2020 19:38.