-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with MSVC #12
Comments
Hi, This project build on top of LLVM as a library. You first need to compile LLVM for Windows and then compile this one with CMake. https://llvm.org/docs/GettingStartedVS.html Once you have LLVM installed somewhere, you only need to provide the path of the cmake folder and compile. 待たせてごめん またせてごめん |
It gives me a lot of errors... |
Most of the logs are warnings, on LLVM headers and some on our plugins. But your error is
It's from
If you are building from a Windows x86_64 could you try this modification ? diff --git a/utils/CryptoUtils.h b/utils/CryptoUtils.h
index 8964c41..6cc9617 100644
--- a/utils/CryptoUtils.h
+++ b/utils/CryptoUtils.h
@@ -47,7 +47,7 @@ extern ManagedStatic<CryptoUtils> cryptoutils;
#endif
#define ENDIAN_64BITWORD
-#elif defined(__x86_64__)
+#elif defined(__x86_64__) || defined(_M_X64)
#ifndef ENDIAN_LITTLE
#define ENDIAN_LITTLE I don't have a Windows with MSVC on hand to check if it works but I saw this macro used inside LLVM so it might just works. |
My develop environment is Windows and Visual Studio, how can I use the project with them, I didn't see any documentation. Sincerely thanks to reply.
The text was updated successfully, but these errors were encountered: