Errors Unreal Compile
Can't find 'mysql.h'
2>c:\users\[username]\documents\unreal projects\[project name]\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
- From the MarioDB install directory, copy both
lib/
andinclude/
(with subfolders) intoPSUnreal\ThirdParty\MariaDB\
- Right-click on PSUnreal.uproject and select
Generate project files
Cannot open 'stdio.h'
fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
When installing VS2017 I got this error while compiling Wordnet.
The file is under C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt
You need to go to the project Properties and retarget the SDK to this one:
Project->Properties->General->Windows SDK Version->10.0.xxxxx
orProject->Retarget solution->Windows SDK Version: 10.0.xxxxx
Cannot open 'Wordnet.lib'
fatal error LNK1181: cannot open input file 'C:\Users\[Username]\Documents\Unreal Projects\[Project Name]\PSUnreal\ThirdParty\Wordnet\lib\x64\Wordnet.lib'
Compile Worldnet.sln, then copy the resulting lib from x64\Release\Wordnet.lib
to PSUnreal\ThirdParty\Wordnet\lib\x64\
Cannot load libmariadb.dll at runtime
When starting PSUnreal\Scripts\server.bat you get an error libmariadb.dll cannot be found.
Copy libmariadb.dll from PSUnreal\ThirdParty\MariaDB\lib to PSUnreal\Binaries\Win64
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
Could not find the code file "... MyCharacterTest.h" after hot reload
For testing purposes I renamed one C++ class from MyCharacterTest to psCharacter. Now if
- I launch the editor from within VS I see it as the latest version, so psCharacter
- if I launch the editor with a script, namely: C:\UnrealEngine\Engine\Binaries\Win64\UE4Editor.exe