-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make: *** No rule to make target `/c/tools/sming/Sming/Makefile-windows.mk'. Stop. #205
Comments
Seems to be a environment issue. Not optimal, but if I hard code c:/tools/sming/Sming/ in line 49 of c:/tools/sming/Sming/Makefile-project.mk, I can make it further. Next message I get is: 10:45:33 **** Build of configuration Sming for project Basic_Serial **** 10:45:33 Build Finished (took 203ms) |
|
C:\Users\daUser>echo %SMING_HOME% C:\Users\daUser>echo %ESP_HOME% C:\Users\daUser>dir %SMING_HOME% Directory of C:\tools\sming\Sming 08/09/2015 08:59 AM .08/09/2015 08:59 AM .. 06/24/2015 08:53 PM 8,597 .cproject 06/24/2015 08:53 PM 815 .project 08/09/2015 08:59 AM .settings 08/09/2015 08:59 AM appinit 08/09/2015 08:59 AM apptest 08/09/2015 08:59 AM compiler 08/09/2015 08:59 AM include 08/09/2015 08:59 AM Libraries 06/24/2015 08:53 PM 7,687 License.txt 06/24/2015 08:53 PM 8,323 Makefile 06/24/2015 08:53 PM 554 Makefile-bsd.mk 06/24/2015 08:53 PM 541 Makefile-linux.mk 06/24/2015 08:53 PM 533 Makefile-macos.mk 08/09/2015 10:45 AM 13,847 Makefile-project.mk 06/24/2015 08:53 PM 540 Makefile-windows.mk 08/09/2015 08:59 AM Services 08/09/2015 08:59 AM SmingCore 08/09/2015 08:59 AM system 08/09/2015 08:59 AM Wiring 9 File(s) 41,437 bytes 12 Dir(s) 61,968,445,440 bytes free C:\Users\daUser>dir %ESP_HOME% |
Please Change |
After changing the "/" to "" in c:\tools\sming\Sming\Makefile-project.mk, per above, I now get an interesting new output: 11:02:45 **** Incremental Build of configuration Sming for project Basic_Serial **** 11:02:45 Build Finished (took 147ms) "out/build//c/tools/Sming/Sming/appinit" obviously can't be created, so I'm looking for that in the makefiles - any hints would be welcome... ;) |
|
Ok, rebooted and ran make from the command line.Still get the same error: C:\tools\sming.examples\Basic_Serial>echo %SMING_HOME% C:\tools\sming.examples\Basic_Serial>echo %ESP_HOME% C:\tools\sming.examples\Basic_Serial>make all |
Trying to make sense of the output. Changed line 271 in c:\tools\sming\Sming\Makefile-project.mk from: and got something that looked a little more executable: 15:17:50 **** Incremental Build of configuration Sming for project Basic_Serial **** 15:17:50 Build Finished (took 139ms) I'm not sure where the output directory is supposed to be, so I might just be throwing a wrench in the system... Seems like it should be in the project folder under build? |
@mshill current make file configuration is well tested. Can you please provide us with output of the following command: |
Ah ha! This looks interesting... C:\tools\sming.examples\Basic_Serial>where make |
Ok, reset all files to default, changed the path to ensure the "tools" exec were first in the chain - voila! It's all working now. For those who run into the same problem (at least in Windows 10):
Hope that saves some people some time... Thanks @kireevco! |
@mshill Yeah, that's another common issue - having another make.exe in the path. Another solution - use docker. Glad that you made it work! |
My problem: C:\tools\sming\Basic_Blink>echo %ESP_HOME% C:\tools\sming\Basic_Blink>echo %SMING_HOME% C:\tools\sming\Basic_Blink>make all same error at Eclipse with sming examples. Thank you. |
@realtimeup please provide diagnostics as specified here https://github.com/SmingHub/Sming/wiki/Troubleshooting-Windows |
C:>echo %PATH% C:>echo %SMING_HOME% C:>echo %ESP_HOME% C:>dir %SMING_HOME% Directory of C:\tools\sming\Sming 09/10/2015 15:59 .09/10/2015 15:59 .. 25/06/2015 00:53 8.597 .cproject 25/06/2015 00:53 815 .project 08/10/2015 09:28 .settings 08/10/2015 09:28 appinit 08/10/2015 09:28 apptest 08/10/2015 09:28 compiler 08/10/2015 09:28 include 08/10/2015 09:28 Libraries 25/06/2015 00:53 7.687 License.txt 25/06/2015 00:53 8.323 Makefile 25/06/2015 00:53 554 Makefile-bsd.mk 25/06/2015 00:53 541 Makefile-linux.mk 25/06/2015 00:53 533 Makefile-macos.mk 10/10/2015 09:19 13.840 Makefile-project.mk 25/06/2015 00:53 540 Makefile-windows.mk 10/10/2015 09:12 out 08/10/2015 09:28 Services 08/10/2015 09:28 SmingCore 08/10/2015 09:28 system 08/10/2015 09:28 Wiring 9 File(s) 41.430 bytes 13 Dir(s) 15.238.144.000 bytes free C:>dir %ESP_HOME% Directory of C:\Espressif 08/10/2015 09:27 .08/10/2015 09:27 .. 01/09/2015 00:17 18.828 changelog.txt 21/05/2015 21:52 2.061 Command line Unofficial Development Kit for Espressif ESP8266.lnk 16/01/2015 09:28 186 DevKit web site.url 08/10/2015 09:27 docs 08/10/2015 09:27 ESP8266_MESH_SDK 08/10/2015 09:27 ESP8266_RTOS_SDK 08/10/2015 09:27 ESP8266_SDK 08/10/2015 09:27 ESP8266_SDK_094 08/10/2015 09:27 ESP8266_SDK_095 08/10/2015 09:27 ESP8266_SDK_101 08/10/2015 09:27 ESP8266_SDK_110 08/10/2015 09:27 ESP8266_SDK_120 21/11/2014 11:22 180 Espressif web site.url 08/10/2015 09:27 examples 08/10/2015 09:27 extra 25/03/2015 09:16 137.750 Install.ico 08/10/2015 09:27 sdk [c:\Espressif\ESP8266_SDK] 08/10/2015 09:27 740.137 unins000.dat 08/10/2015 09:27 1.312.112 unins000.exe 08/10/2015 09:27 23.001 unins000.msg 21/11/2014 10:45 147.878 Uninstall.ico 08/10/2015 09:27 utils 08/10/2015 09:27 xtensa-lx106-elf 9 File(s) 2.382.133 bytes 16 Dir(s) 15.239.163.904 bytes free C:>where make C:>cd tools\sming\Sming C:\tools\sming\Sming>make clean C:\tools\sming\Sming>make C:\tools\sming\Sming>cd.. C:\tools\sming>cd Basic_Blink C:\tools\sming\Basic_Blink>make |
I alter file "c:\tools\sming\Sming\Makefile-project.mk" line 49 "include $(SMING_HOME)/Makefile-windows.mk " to "include c:\tools\Sming\Sming\Makefile-windows.mk" and make command execute perfect. but I a have make flash problem: Flash ok, but ESP no run correct, no start. (Blink_Basic led is always ON) Then, I alter command and run: Flash ok, ESP run perfect. (Led is blink). I change Offset 0x9000 to 0x09000 and 0xC000 to 0x3C000 |
Hi @kireevco ,
2- another, probably linked error message at setup (basically error: uncorrect syntax. The default option is not allowed more than 2 times.):
or its equivallent with 64 bits invocations
3- the various debugging info:
|
is there any solution for this? |
@lxkarthi solution is to make sure you are using proper tools. So try moving all mingw stuff to the front in your PATH. and yes, it's been mentioned above:
|
Thanks. I figured it out. my cygwin path was before mingw path. So it was using cygwin make. so \ and / problems arose. Now I removed other paths to make.exe in %PATH%. It works now. This is what I did in cmd.exe
|
Solved. |
Having a basic problem getting a fresh install of Sming to build. I followed the Windows setup guide, but when I open the eclipse examples, open the make targets, and run the "all", I get the following error:
10:13:15 **** Build of configuration Sming for project Basic_Serial ****
make all
C:\tools\sming\Sming/Makefile-project.mk:49: /c/tools/sming/Sming/Makefile-windows.mk: No such file or directory
make: *** No rule to make target `/c/tools/sming/Sming/Makefile-windows.mk'. Stop.
10:13:15 Build Finished (took 94ms)
On Windows 10 if that makes a difference. Apologize in advance if this has been answered somewhere else, I couldn't find info on it in my searches.
Thanks!
Mike
The text was updated successfully, but these errors were encountered: