I Opened a new project. I can see it in my file system. It looks just like my other three projects. It created all the correct folders.
I went to install a library, but when asked for the project, the drop-down menu did not include the new project. /Home/Projects did not show the new project either. “Add Existing” did not help, just enabled me to open it.
The project shows up in the left Explorer pane under the other three projects in the workspace. I can add folders. files, edit files, etc. But, I can’t add libraries.
My other three projects had been for ESP32. This new is for ESP8266. Just thought I would mention that.
Need some help. Thanks
Hi.
How did you create that project? Is that a project created with PlatformIO or is it just a folder?
Does it have all the necessary files inside like the platformio.ini?
Regards,
Sara
I created the project from Pio/Home New Project. I Created the project the same way I created all three other projects in the workspace. All the folders are there.
I took a screen shot that shows all but could not incorporate it here using the “insert image”. Can I send it to the email you use to inform me your answer is available?
Hi.
To share an image, share a link to google drive, imgur or dropbox, for example.
Regards,
Sara
If you can see the photo, look at the left pane: “WebServerDisplaySensorReadings” is the new project. It is listed in the Workplace under the other three projects I created in the same manner. You can see the complete file structure has been created. On the right, I show the PlatormIO/Pio/Projects window. It does, indeed, show four projects. However, when you look at the listed projects, one is in another workplace and is not associated with the three in your course
Hi.
I can see the photo.
It seems to me that all folders are in the same workspace.
A workaround is to include the library by copying the lib_deps line on the library to the platformio.ini file.
What is exactly the library you would like to include?
Regards,
Sara
Sara
You can see the photo!! Wonder why I can’t?
It is OK that they are in the same workspace – right?
Yes,yes I know I can simply copy the libraries I used from the previous projects into the current project. But, there is one library I can’t copy because I have not used it before – the BME280. I suppose I could include it in one of the old projects and copy it into the new.
I created the project properly – so why the problem? Why a work around?
What I need to finally do is completely delete the new project from the computer and slowly and carefully create it again. If it fails again – then PlatformIO should have to answer why.
Hi.
Yes, it is ok that they are in the same workspace. That is not the problem.
I don’t know why you’re getting that issue.
To get more specialized help, maybe the PlatformIO forum is more suitable: https://community.platformio.org/
I’m sorry that I can’t help much.
Regards,
Sara
I am happy to say, but a little miffed that when I deleted the project folder, and re-created the project, in exactly the same way, it now recognizes the project. It’s not like the process is complicated. You type one line. make two selections, and hit finish. Oh, well.