Error compiling c++ project

when I open a c++ project and compiling, it crashes
the log is :

Log file open, 09/13/16 15:24:52
LogInit:Display: Running engine for game: Test
LogPlatformFile: Not using cached wrapper
LogInit:Display: RandInit(-264129881) SRandInit(-264129873).
LogTaskGraph: Started task graph with 4 named threads and 7 total threads with 1 sets of task threads.
LogStats: Stats thread started at 0.030194
LogInit:Warning: Incompatible or missing module: libUE4Editor-Test.so
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.0.4 (compiled against 2.0.4)
LogInit: Display metrics:
LogInit: PrimaryDisplayWidth: 1600
LogInit: PrimaryDisplayHeight: 900
LogInit: PrimaryDisplayWorkAreaRect:
LogInit: Left=51, Top=24, Right=1600, Bottom=900
LogInit: VirtualDisplayRect:
LogInit: Left=51, Top=24, Right=1600, Bottom=900
LogInit: TitleSafePaddingSize: X=0.000 Y=0.000
LogInit: ActionSafePaddingSize: X=0.000 Y=0.000
LogInit: Number of monitors: 1
LogInit: Monitor 0
LogInit: Name: 0
LogInit: ID: display0
LogInit: NativeWidth: 1600
LogInit: NativeHeight: 900
LogInit: bIsPrimary: true
LogDesktopPlatform: DesktopPlatformLinux is not using LinuxNativeDialogs.
Running /UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Test Development Linux -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
LogHAL: FLinuxPlatformProcess::CreateProc: UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe" Test Development Linux -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE’
LogHAL: FLinuxPlatformProcess::CreateProc: spawned child 13978
Using clang version ‘3.5.2’ (string), 3 (major), 5 (minor), 2 (patch)
ERROR: Couldn’t find target rules file for target ‘-progress’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Location: /UnrealEngine/Engine/Intermediate/Build/BuildRules/UE4Rules.dll
Target rules found:
UE4Client - /UnrealEngine/Engine/Source/UE4Client.Target.cs
UE4Editor - /UnrealEngine/Engine/Source/UE4Editor.Target.cs
UE4Game - /UnrealEngine/Engine/Source/UE4Game.Target.cs
UE4Server - /UnrealEngine/Engine/Source/UE4Server.Target.cs
BlankProgram - /UnrealEngine/Engine/Source/Programs/BlankProgram/BlankProgram.Target.cs
BuildPatchTool - /UnrealEngine/Engine/Source/Programs/BuildPatchTool/BuildPatchTool.Target.cs
CrashReportClient - /UnrealEngine/Engine/Source/Programs/CrashReporter/CrashReportClient/CrashReportClient.Target.cs
MinidumpDiagnostics - /UnrealEngine/Engine/Source/Programs/CrashReporter/MinidumpDiagnostics/MinidumpDiagnostics.Target.cs
CrossCompilerTool - /UnrealEngine/Engine/Source/Programs/CrossCompilerTool/CrossCompilerTool.Target.cs
UnrealLaunchDaemon - /UnrealEngine/Engine/Source/Programs/IOS/UnrealLaunchDaemon/UnrealLaunchDaemon.Target.cs
DsymExporter - /UnrealEngine/Engine/Source/Programs/Mac/DsymExporter/DsymExporter.Target.cs
ShaderCacheTool - /UnrealEngine/Engine/Source/Programs/Mac/ShaderCacheTool/ShaderCacheTool.Target.cs
UE4EditorServices - /UnrealEngine/Engine/Source/Programs/Mac/UE4EditorServices/UE4EditorServices.Target.cs
UnrealAtoS - /UnrealEngine/Engine/Source/Programs/Mac/UnrealAtoS/UnrealAtoS.Target.cs
ParallelExecutor - /UnrealEngine/Engine/Source/Programs/ParallelExecutor/ParallelExecutor.Target.cs
ShaderCompileWorker - /UnrealEngine/Engine/Source/Programs/ShaderCompileWorker/ShaderCompileWorker.Target.cs
SlateViewer - /UnrealEngine/Engine/Source/Programs/SlateViewer/SlateViewer.Target.cs
SymbolDebugger - /UnrealEngine/Engine/Source/Programs/SymbolDebugger/SymbolDebugger.Target.cs
TestPAL - /UnrealEngine/Engine/Source/Programs/TestPAL/TestPAL.Target.cs
UnrealCEFSubProcess - /UnrealEngine/Engine/Source/Programs/UnrealCEFSubProcess/UnrealCEFSubProcess.Target.cs
UnrealCodeAnalyzer - /UnrealEngine/Engine/Source/Programs/UnrealCodeAnalyzer/UnrealCodeAnalyzer.Target.cs
UnrealFileServer - /UnrealEngine/Engine/Source/Programs/UnrealFileServer/UnrealFileServer.Target.cs
UnrealFrontend - /UnrealEngine/Engine/Source/Programs/UnrealFrontend/UnrealFrontend.Target.cs
UnrealHeaderTool - /UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/UnrealHeaderTool.Target.cs
UnrealLightmass - /UnrealEngine/Engine/Source/Programs/UnrealLightmass/UnrealLightmass.Target.cs
UnrealPak - /UnrealEngine/Engine/Source/Programs/UnrealPak/UnrealPak.Target.cs
UnrealVersionSelector - /UnrealEngine/Engine/Source/Programs/UnrealVersionSelector/UnrealVersionSelector.Target.cs
BootstrapPackagedGame - /UnrealEngine/Engine/Source/Programs/Windows/BootstrapPackagedGame/BootstrapPackagedGame.Target.cs

LogHAL: Child 13978 is no longer running (zombie), Wait()ing immediately.
LogHAL: Child 13978’s return code is 5.
LogInit:Warning: Still incompatible or missing module: libUE4Editor-Test.so
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (14)
LogModuleManager: Shutting down and abandoning module TextureCompressor (13)
LogModuleManager: Shutting down and abandoning module ShaderCore (12)
LogModuleManager: Shutting down and abandoning module Landscape (11)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (10)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (9)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (8)
LogModuleManager: Shutting down and abandoning module Renderer (7)
LogModuleManager: Shutting down and abandoning module Engine (6)
LogModuleManager: Shutting down and abandoning module CoreUObject (5)
LogModuleManager: Shutting down and abandoning module NetworkFile (4)
LogModuleManager: Shutting down and abandoning module StreamingFile (3)
LogModuleManager: Shutting down and abandoning module SandboxFile (2)
LogModuleManager: Shutting down and abandoning module PakFile (1)
LogExit: Exiting.
LogInit: Tearing down SDL.
Log file closed, 09/13/16 15:25:02

Okay, but could you write something more about this problem? Did you get it immediately after creating new project? Or after making some changes and adding some troublesome script? I think your words can actually tell us more than debug log, after all you are smarter than a compiler :slight_smile:

maybe these lines are important ?!
Using clang version ‘3.5.2’ (string), 3 (major), 5 (minor), 2 (patch)
ERROR: Couldn’t find target rules file for target ‘-progress’ in rules assembly 'UE4Rules,

when I create the project it opens in the ide but not the editor and this error is when trying to load the project in the editor

Hey Rowan_creeper-

Are you using the engine built from source or a binary version of the engine from the Launcher? If you are using a source engine, are you building the project after creation prior to trying to open the editor? Please include any additional information you can provide about your setup to help me reproduce the issue locally.

its a source engine and i am on Linux using the Codelite ide and this is when I create a project it opens in the ide but not the editor and then when I try to load it from the project browser this is the error

When installing the engine, did you create a make file for UE4Editor? This ensures the editor gets built and can be opened. Instructions for building the engine for Linux can be found here: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

When reaching the $ make step, be sure to include ShaderCompileWorker UnrealLightmass UnrealPak UE4Game UE4Editor

I can open blueprint projects fine and I did run make

also it still happens in 4.13

Hey Rowan_creeper-

Since you are using a source version of the engine, after creating the project it is expected that the code opens in your IDE but not the editor. Once the code opens in the IDE, you need to compile the code project prior to opening it in the editor. Can you confirm that after creating a project and opening it in Codelite, you are able to compile the code and then try opening the project again.

Cheers

il try this