igrr / esptool-ck

ESP8266 build/flash helper tool by Christian Klippel
GNU General Public License v2.0
360 stars 123 forks source link

Make fails on windows 10 #38

Closed yusijs closed 8 years ago

yusijs commented 8 years ago

So I've tried with both nmake from vs studio express 2015 and WinGNU make, and neither works. Any pointers on how to build this project?

WinGNU make

make fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git cc -std=gnu99 -Os -Wall -Iinfohelper -Ielf -Ibinimage -Iargparse -Iserialport -Iespcomm -DWINDOWS -DVERSION=\"\" -c -o argparse/argparse.o argparse/argparse.c process_begin: CreateProcess(NULL, cc -std=gnu99 -Os -Wall -Iinfohelper -Ielf -Ibinimage -Iargparse -Iserialport -Iespcomm -DWINDOWS -DVERSION=\"\" -c -o argparse/argparse.o argparse/argparse.c, ...) failed. make (e=2): The system cannot find the file specified. make: *\ [argparse/argparse.o] Error 2

nmake

Microsoft (R) Program Maintenance Utility Version 14.00.23506.0 Copyright (C) Microsoft Corporation. All rights reserved.

makefile(1) : fatal error U1036: syntax error : too many names to left of '=' Stop.

igrr commented 8 years ago

It builds with MinGW, please see build steps in appveyor.yml file.

yusijs commented 8 years ago

Fab, thanks, I'll give it a whirl!

yusijs commented 7 years ago

If anyone else happens across this: MinGW can compile this fine, but add CC=gcc after make all. Otherwise it'll fail with "cc: unknown command"