Skip to content
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

PS3.h file not found #68

Open
MyControlLab opened this issue Feb 25, 2024 · 1 comment
Open

PS3.h file not found #68

MyControlLab opened this issue Feb 25, 2024 · 1 comment

Comments

@MyControlLab
Copy link

Hello

I have installed the ps3 component in my ESP-IDF project as suggested in the readme but when i build the project i get an error telling me that the file PS3.h is not found
Probably because is didn't add the component to the CMakeList file but how do i do that ? Or is there another reason why i get this error

Thanks in advance

@andreabenini
Copy link

I'm having the same error. Considering this issue date you probably have already figured it out but I'll leave my comment here for future reference. This error is related to the newer version of ESP-IDF you're now using.
Espressif are now releasing v5.x version and according to original doc everything from 4.x and above strictly requires the CMakeLists.txt file in the component directory. This means they're now using CMake to build projects, with or without vscode you now require to have a working cmake setup.
From other issues in this project I've found a good CMakeLists.txt file which might give you some guidance but you'll have further errors later, like for example:

components/ps3/src/ps3.c: In function 'ps3SetBluetoothMacAddress':
components/ps3/src/ps3.c:287:5: error: implicit declaration of function 'esp_base_mac_addr_set' [-Werror=implicit-function-declaration]
  287 |     esp_base_mac_addr_set(base_mac);
      |     ^~~~~~~~~~~~~~~~~~~~~

Missing CMakeLists.txt file it's not the only problem, maybe a project refresh or a pull request can help to update and refresh for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants