Skip to content

Latest commit https://github.com/esp8266/Arduino/pull/7060 prevent compilation under windows with arduino IDE #7749

Closed
@luc-github

Description

@luc-github
  • [x ] This issue complies with the issue POLICY doc.
  • [x ] I have read the documentation at readthedocs and the issue is not addressed there.
  • [ x] I have tested that the issue is present in current master branch (aka latest git).
  • [x ] I have searched the issue tracker for a similar issue.
  • [ NA] If there is a stack dump, I have decoded it.
  • [ x] I have filled out all fields below.

Platform

Settings in IDE

  • Module: Nodemcu
  • Flash Mode: dio
  • Flash Size: 4MB
  • lwip Variant: v2 Lower Memory
  • Reset Method: nodemcu
  • Flash Frequency: 40Mhz
  • CPU Frequency: 160MHz
  • Upload Using: NA
  • Upload Speed: NA

Problem Description

#7060 prevent compilation as it use mkdir.exe and cp.exe which do not exist under windows: mkdir is part of Microsoft shell not and exe and cp is unix tool not present on windows

when linking the compilation failed with following error message

exec: "mkdir": executable file not found in %PATH%

if mkdir is workrounded the a new message pop up

exec: "cp": executable file not found in %PATH%

image

Workaround 1:
revert #7060 allows compillation

Workaround 2:
add mkdir.exe and cp.exe from coreutils (http://gnuwin32.sourceforge.net/packages/coreutils.htm) allows compillation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions