kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21101
Re: linux gcc vs windows mingw issues
I found the issue, this packages are missing in the instructions:
pacman -S mingw-w64-i686-toolchain
pacman -S make
Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Mário Luzeiro [mrluzeiro@xxxxx]
Sent: 03 November 2015 22:28
To: kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] linux gcc vs windows mingw issues
>> http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/md_Documentation_development_compiling.html#build_windows.
Hi all,
I am following the build kicad instruction on windows for the first time but cmake is failing. Is something missing in the instructions?
Help!
Thanks
Mario
$ cmake -DCMAKE_BUILD_TYPE=Release \
> -G "MSYS Makefiles" \
> -DCMAKE_PREFIX_PATH=/mingw64 \
> -DCMAKE_INSTALL_PREFIX=/mingw64 \
> -DDEFAULT_INSTALL_PATH=/mingw64 \
> -DOPENSSL_ROOT_DIR=/mingw64 \
> -DKICAD_SKIP_BOOST=ON \
> -DKICAD_SCRIPTING=ON \
> -DKICAD_SCRIPTING_MODULES=ON \
> -DKICAD_SCRIPTING_WXPYTHON=ON \
> ../../
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: C:/msys64/home/m_luzeiro/kicad_new3d-viewer/build/release/CMakeFiles/3.3.1/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: C:/msys64/home/m_luzeiro/kicad_new3d-viewer/build/release/CMakeFiles/3.3.1/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:10 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
if it is in the PATH.
CMake Error at CMakeLists.txt:10 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_AR was not found, please set to archive program.
-- Configuring incomplete, errors occurred!
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
Follow ups
References