Skip to content

"No such file or directory : ctags_target_for_gcc_minus_e.cpp" #266

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

Closed
ridhaos opened this issue Mar 5, 2018 · 1 comment
Closed

"No such file or directory : ctags_target_for_gcc_minus_e.cpp" #266

ridhaos opened this issue Mar 5, 2018 · 1 comment
Labels
conclusion: off topic Off topic for this repository topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ridhaos
Copy link

ridhaos commented Mar 5, 2018

Hello:
I have a big problem when I'm trying to compile a blink sketch with my hardware definition. I'm running into an error and i didin't understand the cause of problem.

Arduino: 1.8.5 (Windows 10), Board: "STM8S-Discovery"

Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\variants\STM8S105C6-Discovery" -sp -o "C:\Users\OUERTA~1\AppData\Local\Temp\arduino_build_766050\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Users\OUERTA~1\AppData\Local\Temp\arduino_build_766050\sketch\Blink.ino.cpp"
clang++.exe: error: no such file or directory: 'C:\Users\OUERTA~1\AppData\Local\Temp\arduino_build_766050\preproc\ctags_target_for_gcc_minus_e.cpp'

clang++.exe: error: no input files

C:\Users\OUERTA~1\AppData\Local\Temp\arduino_build_766050\sketch\Blink.ino.cpp:1:10: fatal error: 'Arduino.h' file not found

#include <Arduino.h>

         ^~~~~~~~~~~

1 error generated.

unknown file type Safa\AppData\Local\Arduino15\packages\STM8\tools\cxppstm8\4.1.1\\hstm8"

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\system/libstm8s

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\system/libstm8s/include

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\system/Drivers/STM8S_StdPeriph_Driver/inc/

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\cores\arduino/libstm8s

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\cores\arduino/libstm8s/STM8S_StdPeriph_Driver/inc

unknown file type -I

unknown file type C:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\cores\arduino/libstm8s/STM8S_StdPeriph_Driver

unknown file type -dF_CPU=16000000

unknown file type -dARDUINO=10805

unknown file type -dARDUINO_STM8S_Discovery

unknown file type -dARDUINO_ARCH_STM8

unknown file type -d

unknown file type STM8S105

unknown file type -IC:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\cores\arduino

unknown file type -IC:\Users\Ouertani Safa\AppData\Local\Arduino15\packages\STM8\hardware\stm8\2017.10.10\variants\STM8S105C6-Discovery

unknown file type -sp

unknown file type -o

exit status 1
Error compiling for board STM8S-Discovery.
@facchinm
Copy link
Member

facchinm commented Mar 5, 2018

Hi @ridhaos ,
the problem looks related with spaces in your username (C:\Users\Ouertani Safa). Probably STM8 core doesn't properly escape the path (like here , some escapes look wrong).
Please open an issue on the STM8 core reporting the issue and, in case the problem is on our side, comment here so I'll reopen this one. Thanks!

@facchinm facchinm closed this as completed Mar 5, 2018
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project conclusion: off topic Off topic for this repository labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: off topic Off topic for this repository topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants