[Read Replies] Issue when comping aseprite on Windows 11

What solutions have you tried? I’ve tried to reinstall Visual Studio, CMake, Ninja and Skia.

Did you select the individual components and Desktop Development for C++? Yes I’ve installed Visual Studio Community 2020 with Desktop Development for C++ with the Win 10 10.0.18362.0 Individual Component.

What error did you get?

-- The C compiler identification is MSVC 19.35.32217.1
-- The CXX compiler identification is MSVC 19.35.32217.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/OneDrive/Área de Trabalho/Aseprite-compiling/deps/CMake/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
  The C compiler

    "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: C:/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-0j82q2

    Run Build Command(s):C:/OneDrive/READET~1/Aseprite-compiling/deps/CMake/bin/ninja.exe cmTC_e2234 && [1/2] Building C object CMakeFiles\cmTC_e2234.dir\testCCompiler.c.obj
    [2/2] Linking C executable cmTC_e2234.exe
    FAILED: cmTC_e2234.exe
    cmd.exe /C "cd . && "C:\Users\Aseprite-compiling\deps\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_e2234.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MICROS~3\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_e2234.dir\testCCompiler.c.obj  /out:cmTC_e2234.exe /implib:cmTC_e2234.lib /pdb:cmTC_e2234.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
    RC Pass 1: command "rc /fo CMakeFiles\cmTC_e2234.dir/manifest.res CMakeFiles\cmTC_e2234.dir/manifest.rc" failed (exit code 0) with the following output:
 The system cannot find the determined file
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:32 (project)


-- Configuring incomplete, errors occurred!

I’ve seem that, an admin/dev has said that you can copy build files thru machines that are owned by you, I did just that, but I will still try to get solutions to that as I’ve seem many people with the same issue and barely any solutions. :heart: