Unreal Engine 4.12.5 : Project Could Not Be Compiled

You are the one who created the file - you should know where it is. It even tells you where it is. Source/BatteryCollector/BatteryCollector.h.

Did you move files around without rebuilding your solution? Right click on your uproject file and regenerate the solution. Is this the first time you’ve compiled? It is also possible that the UBT is not properly registering the letters in your name.

I’ve already posted this in an another section but i gonna try my chanc here too

I’ve tried to create a C++ project and I have this error, i really don’t know why.

Running C:/Program Files (x86)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe BatteryCollector Development Win64 -project=“C:/Users/François Grèzes/Documents/Unreal Projects/BatteryCollector/BatteryCollector.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE @progress push 5% Parsing headers for BatteryCollectorEditor Running UnrealHeaderTool “C:\Users\Fran?ois Gr?zes\Documents\Unreal Projects\BatteryCollector\BatteryCollector.uproject” “C:\Users\Fran?ois Gr?zes\Documents\Unreal Projects\BatteryCollector\Intermediate\Build\Win64\BatteryCollectorEditor\Development\BatteryCollectorEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed Reflection code generated for BatteryCollectorEditor in 4,1196503 seconds @progress pop Performing 8 actions (2 in parallel) [2/8] Resource PCLaunch.rc PCH.BatteryCollector.h.cpp C:\Users\Fran?ois Gr?zes\Documents\Unreal Projects\BatteryCollector\Intermediate\Build\Win64\UE4Editor\Development\BatteryCollector\PCH.BatteryCollector.h.cpp(1): fatal error C1083: Cannot open include file: ‘C:\Users\Fran??ois Gr??zes\Documents\Unreal Projects\BatteryCollector\Source\BatteryCollector\BatteryCollector.h’: No such file or directory [3/8] Resource ModuleVersionResource.rc.inl ERROR: UBT ERROR: Failed to produce item: C:\Users\Fran?ois Gr?zes\Documents\Unreal Projects\BatteryCollector\Binaries\Win64\UE4Editor-BatteryCollector.dll Total build time: 21,96 seconds

Seems like i don’t have a .h file but i don’t know where to find this file, I’ve already tried to re-install VS and UE4 but i’ve always this error.

If someone know what to do please help… :’(

Thanks for the answer in the other post, it worked,

and i’ve never create any files for the moments, the compilation fail at the creation of the project.