Skip to content

Spaces in path causes compilation error #4579

Closed
@jpasqua

Description

@jpasqua

Hardware:

Board: ESP32 D1 Mini
Core Installation version: 1.0.5 rc2
IDE name: Arduino IDE 1.8.13
Flash Frequency: 80Mhz
PSRAM enabled: N/A
Upload Speed: 921600
Computer OS: macOS 10.15.7

Description:

I'm trying to compile a project in a directory that contains spaces in the path:
/Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters
This is a standard example that comes with the TFT_eSPI library and works fine with other cores like the ESP8266. Removing all spaces from the path causes the error to go away.

Sketch: [Any sketch will fail]

void setup() {}
void loop() {}

Debug Messages:

bash -c "[ ! -f /Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters/partitions.csv ] || cp -f /Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters/partitions.csv /var/folders/97/nw96g6nn0k33z212yw4by4yr0000gn/T/arduino_build_953387/partitions.csv"
bash: line 0: [: too many arguments
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
exit status 64

Activity

Gius-8

Gius-8 commented on Dec 22, 2020

@Gius-8
Contributor

Same problem on Mac OS Big Sur (11.1)

coelner

coelner commented on Dec 24, 2020

@coelner
stale

stale commented on Jun 26, 2021

@stale

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale

stale commented on Jul 11, 2021

@stale

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Spaces in path causes compilation error · Issue #4579 · espressif/arduino-esp32