Difference between revisions of "Errors Unreal Compile"

From PSwiki
Jump to navigation Jump to search
Line 1: Line 1:
== Cant find mysql.h ==
2>c:\users\luke\documents\unreal projects\myproject2\psunreal\source\psunreal\util/SQLWrapper.h(7): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
You need to install MariaDB Connector from: https://mariadb.com/downloads/mariadb-tx/connector
Select C++ connector and the platform you need.
Copy the /lib and /include into PSUnreal\ThirdParty\MariaDB
== ShaderCompilingManager ==
== ShaderCompilingManager ==



Revision as of 15:58, 1 August 2017

Cant find mysql.h

2>c:\users\luke\documents\unreal projects\myproject2\psunreal\source\psunreal\util/SQLWrapper.h(7): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory

You need to install MariaDB Connector from: https://mariadb.com/downloads/mariadb-tx/connector

Select C++ connector and the platform you need.

Copy the /lib and /include into PSUnreal\ThirdParty\MariaDB


ShaderCompilingManager

 >	UE4Editor-Engine.dll!FShaderCompilingManager::ProcessCompiledShaderMaps(TMap<int,FShaderMapFinalizeResults,FDefaultSetAllocator,TDefaultMapKeyFuncs<int,FShaderMapFinalizeResults,0> > & CompiledShaderMaps, float TimeBudget) Line 1210	C++

Need to open your project sln, go under Programs and compile "ShaderCompileWorker" project

Error on startup after switching branches

 GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAA ..... http://imgur.com/1zoH3ko

This was happening after switching from release branch (which contained 4.11 preview) to 4.10 branch. I checked and the file C:\Users\Luke\Documents\Unreal Projects\MyProject2\Binaries\Win64\UE4Editor-MyProject2.dll was old. I deleted all files older than today, then used

* git reset --hard
* git checkout .

Recompiled.


Error while building lights from the editor

 LogStaticLightingSystem:Warning: Failed to build lighting!!! Lighting build failed. Swarm failed to kick off.

Need to open UE4.sln from Visual Studio, go under Programs and recompile UnrealLighmass