Skip to content

Arduino IDE 2.2.1 & ESP32 cam: fatal error: bits/cpu_defines.h: No such file or directory  #8951

@Akiradanica

Description

@Akiradanica

Board

ESP32 Cam Module

Device Description

ESP 32 Cam Motherboard or Arduino Uno

Hardware Configuration

nothing i guess

Version

v2.0.14

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

40 MHz

PSRAM enabled

yes

Upload speed

115200

Description

When i tried verifying code (blank code or the Camera Web server code )and with the attach "Ai Thinker ESP32-CAM" board.

it states that
"fatal error: bits/cpu_defines.h: No such file or directory
#include <bits/cpu_defines.h>"

In addition when i install the esp32 board for the first time, my internet is poor.

i tried reinstalling everything, and unistalling the arduino ide itself, delete its files, but same issue appear.

Sketch

more on how to completely clean unistall the arduino ide

Debug Message

fatal error: bits/cpu_defines.h: No such file or directory
 #include <bits/cpu_defines.h>

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions