-
Hello! Love this project, I've been following it for a little while now and decided I wanted to start playing around with it for myself and/or maybe try to contribute if I can. I tried following the instructions given on the documentation site to compile cppfront, namely:
I'm (unfortunately) running windows, so I'm trying it out using the msvc compiler. When trying to build this, the compiler hits 100+ error and quits out. I installed Note: I also tried this with mingw's g++ and the compiler didn't error out, but I left it running in the background and after about 8 hours decided something must be wrong. I'm opening this as a discussion rather than an issue because I assume the problem is probably me, but I can move this to an issue if there actually is something wrong. Here's the compiler log:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I'm using
'latest' instead of c++20 but I'm also using msvc 14.41. If you are able maybe try updating visual studio. |
Beta Was this translation helpful? Give feedback.
-
I actually did try this with originally with But weird, I just tried this again using the original command recommended in the guide ( Note: It's still failing to compile with Clang though. |
Beta Was this translation helpful? Give feedback.
I think what you said here is basically the answer:
Make sure you have a sufficiently new cl version. As of writing, it should be v19.
Edit:
Also, make sure that your up-to-date compiler is also using the up-to-date libs! In one case, I've gotten compiler errors the same as the original question even though my compiler was v19 because it was using v14 libs. See the log: