I downloaded the necessary files to use NodeMCU ESP8266 with Arduino IDE but i keep getting this error message:
cc1plus.exe: fatal error: C:\Users\TARÇIN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266\CommonHFile.h: No such file or directory
compilation terminated.
exit status 1
Compilation error: exit status 1
When i looked at the location there was a file named CommonHFile.h. What is causing this problem?
gcjr
June 18, 2023, 1:01pm
2
i don't see anything similar to CommonHFile.h under my esp8266 libraries
guessing it's part of the application code you copied and is missing is mis-named
libraries find ESP8266* -name "*.h" | awk -F/ '{ print $NF }' | sort -u
AnalogBinLogger.h
ArduinoFiles.h
ArduinoStream.h
ArduinoWiFiServer.h
AvrAdcLogger.h
AvrDevelopersGpioPinMap.h
BearSSLHelpers.h
BlockDevice.h
BlockDeviceInterface.h
BobuinoGpioPinMap.h
BufferedPrint.h
CertStoreBearSSL.h
ClientContext.h
CompileDateTime.h
ConditionalPrinter.h
DebugMacros.h
DigitalPin.h
ESP8266AVRISP.h
ESP8266HTTPClient.h
ESP8266HTTPUpdateServer-impl.h
ESP8266HTTPUpdateServer.h
ESP8266LLMNR.h
ESP8266NetBIOS.h
ESP8266SSDP.h
ESP8266WebServer-impl.h
ESP8266WebServer.h
ESP8266WebServerSecure.h
ESP8266WiFi.h
ESP8266WiFiAP.h
ESP8266WiFiGeneric.h
ESP8266WiFiGratuitous.h
ESP8266WiFiMesh.h
ESP8266WiFiMulti.h
ESP8266WiFiSTA.h
ESP8266WiFiScan.h
ESP8266WiFiType.h
ESP8266httpUpdate.h
ESP8266mDNS.h
EncryptedConnectionData.h
EncryptedConnectionLog.h
EspnowConnectionManager.h
EspnowDatabase.h
EspnowEncryptionBroker.h
EspnowMeshBackend.h
EspnowNetworkInfo.h
EspnowProtocolInterpreter.h
EspnowTransmitter.h
ExFatConfig.h
ExFatFile.h
ExFatFormatter.h
ExFatLib.h
ExFatLogger.h
ExFatPartition.h
ExFatTypes.h
ExFatVolume.h
ExpiringTimeTracker.h
FatFile.h
FatFormatter.h
FatLib.h
FatLibConfig.h
FatPartition.h
FatVolume.h
FloodingMesh.h
FmtNumber.h
FreeStack.h
FsApiConstants.h
FsDateTime.h
FsFile.h
FsLib.h
FsNew.h
FsStructs.h
FsVolume.h
GpioPinMap.h
HeapMonitor.h
JsonTranslator.h
LEAmDNS.h
LEAmDNS_Priv.h
LEAmDNS_lwIPdefs.h
LeonardoGpioPinMap.h
MegaGpioPinMap.h
MeshBackendBase.h
MeshCryptoInterface.h
MessageData.h
MinimumSerial.h
MutexTracker.h
NetworkInfo.h
NetworkInfoBase.h
Parsing-impl.h
PeerRequestLog.h
PrintBasic.h
PrintTemplates.h
RequestData.h
RequestHandler.h
RequestHandlersImpl.h
ResponseData.h
SdCard.h
SdCardInfo.h
SdCardInterface.h
SdFat.h
SdFatConfig.h
SdSpiArduinoDriver.h
SdSpiAvr.h
SdSpiBareUnoDriver.h
SdSpiBaseClass.h
SdSpiCard.h
SdSpiDriver.h
SdSpiLibDriver.h
SdSpiSoftDriver.h
SdioCard.h
SdioTeensy.h
Serializer.h
SleepingBeautyGpioPinMap.h
SoftSPI.h
Standard1284GpioPinMap.h
StdioStream.h
SysCall.h
TcpIpMeshBackend.h
TcpIpNetworkInfo.h
Teensy2GpioPinMap.h
Teensy2ppGpioPinMap.h
TimeTracker.h
TransmissionOutcome.h
TransmissionResult.h
TypeConversionFunctions.h
UdpContext.h
UnoGpioPinMap.h
Uri.h
UriBraces.h
UriGlob.h
UriRegex.h
UserTypes.h
UtilityFunctions.h
WiFiClient.h
WiFiClientSecure.h
WiFiClientSecureBearSSL.h
WiFiServer.h
WiFiServerSecure.h
WiFiServerSecureBearSSL.h
WiFiState.h
WiFiUdp.h
bufstream.h
certs.h
command.h
fstream.h
index_htm.h
ios.h
iostream.h
istream.h
mimetable.h
ostream.h
sdios.h
slist.h
upcase.h
system
Closed
December 15, 2023, 1:02pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.