Error link to src file

hey !
Platformio can’t find the source file the father had a folder name with “[” or “]”.
I tried to link the file in platformio.ini using “src_dir” and it gives me the same error "Error: Nothing to build. Please put your source code file: ’ username\file [project] '
Ty

Could you provide platformio.ini and project files structure?

hi, thank you for you reply, there is the file structure and platformio.ini
C:\LIAMSE\Project[1]\ROBOT\ : eclipse project folder"created using platformio"::

/platformio.ini*************/
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; Redirecting...
[platformio]
env_default = megaatmega2560

[env:uno]
platform = atmelavr
board = uno
framework = arduino
upload_protocol = dragon_isp
upload_flags = -Pusb
build_unflags = “-flto”

[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
upload_protocol = atmelice_isp
upload_flags = -Pusb
build_unflags = “-flto”

[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
upload_protocol = dragon_isp
upload_flags = -Pusb
build_unflags = “-flto”

Thanks a lot for the report! The bug is fixed in
https://github.com/platformio/platformio-core/commit/ddd07138dd2c90a45d8f464e25869f38493981a3

Please re-test with Development Version

it’s work, Thank you !
In order to use platformio as stable version on our system. Could you please tell us in which stable version it will be implemented?
Thanks in advance.

  1. You can use stable version of PIO Core but avoid using of [] in project path (these are Glob’s special chars)
  2. The nearest milestone is PIO Core 3.3. See Milestones - platformio/platformio-core · GitHub
1 Like

Hi.

I’m continuing the job of liams. We can’t change the project path because of the rules of our system to save the files. So, we will be working with the development version until the next release.

We do have an other problem. “é” doesn’t seems to work too when we declare “lib_extra_dirs” in platformio.ini. Is it possible to add almost all characters with accent available on paths? I know, I ask for much, but I was wondering if it is possible.

If not, is there any way to add them ourself directly into platformio.ini?

Thanks in advance.

We have an issue for that

1 Like

Ok. Thanks. I will follow it.

For the moment, I managed to do it through indirect access (using …\…\).