Showing 1 of 2440 conversations about:
OlivierPons
239
May 30, 2017
bookmark_border
Let's try again to compile on Windows. After following closely https://github.com/kiibohd/controller/wiki/Windows-Setup and then going to https://github.com/kiibohd/controller/wiki/Configuration I go to: ~/infinity-ergodox/controller (code got by " git clone https://github.com/kiibohd/controller.git ") then tried mkdir build && cd build && cmake ..
Here's what I got:
gcc -- Chip Selected: mk20dx128vlf5 -- Chip Family: mk20dx -- CPU Selected: cortex-m4 -- Compiler Source Files: Lib/mk20dx.c;Lib/delay.c;Lib/time.c -- Bootloader Type: dfu -- The C compiler identification is GNU 5.4.1 -- Check for working C compiler: /cygdrive/c/GNUToolsARMEmbedded/5.4.2016q3/bin/arm-none-eabi-gcc.exe -- Check for working C compiler: /cygdrive/c/GNUToolsARMEmbedded/5.4.2016q3/bin/arm-none-eabi-gcc.exe -- broken CMake Error at /usr/share/cmake-3.6.2/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/cygdrive/c/GNUToolsARMEmbedded/5.4.2016q3/bin/arm-none-eabi-gcc.exe" is not able to compile a simple test program. It fails with the following output:
Change Dir: /home/Olivier/infinity-ergodox/controller/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make.exe" "cmTC_954ec/fast"
/usr/bin/make -f CMakeFiles/cmTC_954ec.dir/build.make CMakeFiles/cmTC_954ec.dir/build ------------------------------------------------------------------------------------------------ >>>>>"is not able to compile a simple test program"<<<<< Once again compilation big fail. ------------------------------------------------------------------------------------------------ Let's try to remove the cmake from cygwin, then add the path in my "~/.bashrc" with: export PATH=/cygdrive/c/Program\ Files/CMake/bin/:$PATH
I get:
~/infinity-ergodox/controller/build # cmake .. CMake Error: The current CMakeCache.txt directory C:/cygwin/home/Olivier/infinity-ergodox/controller/build/CMakeCache.txt is different than the directory /home/Olivier/infinity-ergodox/controller/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt CMake Error: The source "C:/cygwin/home/Olivier/infinity-ergodox/controller/CMakeLists.txt" does not match the source "/home/Olivier/infinity-ergodox/controller/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
How do you solve this??
May 30, 2017
aenertia
56
May 31, 2017
bookmark_border
Just install fedora/Ubuntu in a VM
May 31, 2017
OlivierPons
239
May 31, 2017
bookmark_border
I've installed Mint / multiboot. Then... on the boot menu, only Mint appeared... what a panic moment... then "sudo update-grub && sudo reboot" and everything was ok, I'll try again on Mint tonight.
May 31, 2017
View Full Discussion