dotnet / llilc

This repo contains LLILC, an LLVM based compiler for .NET Core. It includes a set of cross-platform .NET code generation tools that enables compilation of MSIL byte code to LLVM supported platforms.
MIT License
1.52k stars 153 forks source link

Unable to generate VS solution for LLVM + LLILC #1094

Closed hygeanne closed 2 years ago

hygeanne commented 6 years ago

Hey guys!

I’m following the getting started on Windows and I’m trying to run the command:

“cmake -G "Visual Studio 12 2013 Win64" ..\llvm -DWITH_CORECLR=\bin\Product\$platform.$arch.$build> -DLLVM_OPTIMIZED_TABLEGEN=ON”

I’m getting an the error that says “system is unable to find the file specified.” I then tried to run this a folder up but then I get a “access is denied.” I’ve tried to redo the whole process in different locations and run the administrator command prompt. I’ve even tried temporarily disabling the firewall.

Has anyone else had issues with getting this to work? Were there any small tweaks you had to make?

Any suggestions would be super helpful. Thanks!!

PathogenDavid commented 6 years ago

I have not actually used LLILC, but:

-DWITH_CORECLR=\bin\Product

This looks like wrong to me. This is going to look for the folder bin\Product at the root of the current drive. (IE: C:\bin\Product), which would be weird. You need to add your full path to wherever you built CoreCLR during the step "Clone and build CoreCLR".

hygeanne commented 6 years ago

Wow that helped a lot thanks so much!