Nick, Solved - thank you.
On Tue, May 18, 2021 at 10:55 PM Nick Østergaard <oe.n...@gmail.com> wrote: > Mm, normally you should use the mingw env in msys2, from your prompt it > appears you use the msys env. > > Normally I would expect all psths it uses for binsries to be unic like, > that is /c instead of c:/ > > ons. 19. maj 2021 02.55 skrev Clifford Neal Simon <csi...@uci.edu>: > >> Hi devs, >> >> I'm doing my first build from source, using msys2 on windows. >> I (shallow) cloned the main repository. >> I downloaded the tools and dependencies using pacman, according to here: >> https://dev-docs.kicad.org/en/build/windows-msys2/ >> Now I should be able to run cmake, but cmake fails. >> >> User@Programming MSYS ~/kicad/build/release >> $ /mingw64/bin/cmake -DCMAKE_BUILD_TYPE=Release \ >> -G "MSYS Makefiles" \ >> -DCMAKE_PREFIX_PATH=/mingw64 \ >> -DCMAKE_INSTALL_PREFIX=/mingw64 \ >> -DDEFAULT_INSTALL_PATH=/mingw64 \ >> ../../ >> -- The C compiler identification is unknown >> -- The CXX compiler identification is unknown >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - failed >> -- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe >> -- Check for working C compiler: C:/msys64/mingw64/bin/gcc.exe - broken >> CMake Error at >> C:/msys64/mingw64/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 >> (message): >> The C compiler >> >> "C:/msys64/mingw64/bin/gcc.exe" >> >> is not able to compile a simple test program. >> >> I looked at CMakeError.log. From what I can tell from there, it seems to >> be trying to compile "CMakeCCompilerId.c" with gcc but it passed the flags >> --target=arm-arm-none-eabi;-mcpu=cortex-m3 to gcc and gcc does not >> understand those flags. Those flags are very strange. I did not ask to >> cross-compile, and of course I would not expect for a cross-compilation to >> work. Have I missed a step? >> >> -Clifford >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : kicad-developers@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp