Open juniorfr opened 6 days ago
try: https://c3-lang.org/install-c3/prebuilt-binaries/#installing-on-windows come on discord if you have trouble
Run the python script msvc_build_libraries.py , that should be enough.
Run the python script msvc_build_libraries.py , that should be enough.
That wasn't enough!
try: https://c3-lang.org/install-c3/prebuilt-binaries/#installing-on-windows come on discord if you have trouble
I tried this
I'm using Widows 11...
What error do you see? Do you have msvc_sdk folder that the python script produces in the same directory as c3c.exe?
I installed it following the guide above, with the msvc_sdk
folder and still got the error failed to find windows kit root
.
Can you show me the command you're using to compile?
Just to eliminate all possible errors, can you try copy everything to C:\ and run from there?
I just installed fresh Windows 11 and tried to run C3 on it
Steps I used
msvc_build_libraries
with pythonx64 Native tools command prompt
(available after installing Visual Studio, only console that had clang in it)Maybe it helps @juniorfr
You should not need to download VS @tonis2
@lerno I had trouble getting cl.exe
available at command line, whats the better way to download it at windows ?
What exe? @tonis2
Sorry my bad, Windows requires this cl.exe
from me probably because I'm trying to compile a library with c-source file
This is the error I'm getting, I got it fixed, but I had to mess with Visual Studio
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.
Failed to compile c sources using command '"cl.exe /c ./window.c3l\win32.c /Fo:build\tmp\c3w/win32.obj"'.
Example manifest
Yes, if you use c compilation you need a c compiler.
@juniorfr can you let us know the steps you took when trying to compile?
Do you need any additional packages in Windows to run the code? and how do I download it? I'm a noob btw