question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

examples/espidf-arduino-blink build fails: unknown type name '_lock_t'

See original GitHub issue

I followed the directions in platform-espressif32/examples/espidf-arduino-blink/README.md exactly, but the build failed with error: unknown type name '_lock_t' in lots of places.

Instead of using the zip file I also tired cloning https://github.com/platformio/platform-espressif32.git directly but the example failed the same way in both the master and develop branches.

The examples/arduino-blink builds fine.

I’m new to platformio and I’m trying to build a project that uses classic bluetooth which appears to need a tweak using menuconfig to build. Researching that issue lead me to the espidf-arduino-blink.

Here’s my build.log.

skip@Dell-7040:~/zips$ platformio --version
PlatformIO Core, version 5.2.3
skip@Dell-7040:~/zips$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
skip@Dell-7040:~/zips$

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maxgerhardtcommented, Jan 20, 2022

He already said

wiped my .platformio/packages directory and that fixed it.

Same as this person.

0reactions
stale[bot]commented, Sep 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build error: "Unknown type name 'ffi_cif'" - Stack Overflow
I had this problem compiling an open source project on iPhone 6 simulator. Built it for earlier devices and it worked fine.
Read more >
Compile time error, unknown type name 'hb_font_t' #2226
I'm building locally from source (using custom makepkg configuration on Arch/Manjaro). Today I got this error while compiling the current ...
Read more >
error : unknown type name 'IUnknown' - MSDN - Microsoft
Hi,. I am using the "Visual Studio 2017 - Clang with Microsoft CodeGen (v141_clang_c2)" tool chain and getting:.
Read more >
UVISION: error: unknown Type Name - Arm Developer
My project is configured for Arm Compiler 6. Despite the project build results in 0 Error (s) - 0 Warning (s), µVision's Dynamic...
Read more >
Error build ADIOS2 2.4.1, unknown type name 'INT4' - GitLab
Hi guys, I'm new to ADIOS2, When I tried to install ADIOS2, I got error making the package, I wonder why it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found