Closed rgkirch closed 3 months ago
I'm no wizard with visual studio but I was able to build llvm doing exactly this. I needed to build llvm from source in order to get the llvm-config binary. https://stackoverflow.com/questions/17096804/where-is-llvm-config-in-windows/60024490#60024490
llvm-config does not exist in windows prebuilt binaries. You need to compile from the source code to get it.
Btw, that was kinda annoying. Is there a way to not need the llvm-config binary? On linux and macos I installed another package to get it which was easy to do.
Thanks!
After making these changes cmake completes successfully. I opened the Dale.sln file which opened Microsoft Visual Studio Community 2019 and then I clicked on the green play button in the toolbar
and got these errors
The error output doesn't appear to contain much detail about what the problem might be, and without a machine to test with, I don't think there's much I can do here, unfortunately.
Btw, that was kinda annoying. Is there a way to not need the llvm-config binary?
It's possible in theory, but that would require the user to provide all of the values that the build currently gets from llvm-config, and if one or more of those values were incorrect, it may well be difficult to diagnose/debug that problem. Requiring that llvm-config be present seems like the safest option here.
Makes sense, thanks. I learned that I can generate Ninja build files from CMake and build llvm-config (and hopefully Dale too) without Visual Studio.
After making these changes
and got these errors
cmake
completes successfully. I opened theDale.sln
file which opened Microsoft Visual Studio Community 2019 and then I clicked on the green play button in the toolbar