• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

PlatformIO Problem – Won't Recognize Project

Q&A Forum › Category: ESP8266 › PlatformIO Problem – Won't Recognize Project
0 Vote Up Vote Down
ytram99 asked 3 years ago

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

11 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

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

0 Vote Up Vote Down
ytram99 answered 3 years ago

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?
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
To share an image, share a link to google drive, imgur or dropbox, for example.
Regards,
Sara

0 Vote Up Vote Down
ytram99 answered 3 years ago

PlatformIO 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

0 Vote Up Vote Down
ytram99 answered 3 years ago

The photo did not show up

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

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

0 Vote Up Vote Down
ytram99 answered 3 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

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

0 Vote Up Vote Down
ytram99 answered 3 years ago

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.

0 Vote Up Vote Down
ytram99 answered 3 years ago

I wanted to say Thanks for trying to help

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi again.
I’m glad everything is working again.
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.