Cross-Compiling for Linux on 4.15 gives errors

I did follow all of the steps for setting the clang and global vars from Linux Development Requirements for Unreal Engine | Unreal Engine 5.1 Documentation but I get 2 errors which I’m not sure how to fix.

First:

BootstrapPackagedGame.h(5,10): fatal error : 'windows.h' file not found

Second:

.../CrossCompilerTool/Development/ShaderFormatOpenGL/Module.ShaderFormatOpenGL.cpp.o: In function `FOpenGLFrontend::PrecompileShader(FShaderCompilerOutput&, FShaderCompilerInput const&, char const*, GLSLVersion, EHlslShaderFrequency)':
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1158: undefined reference to `glCreateShader'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1161: undefined reference to `glShaderSource'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1165: undefined reference to `glCompileShader'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1168: undefined reference to `glGetShaderiv'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1183: undefined reference to `glGetShaderiv'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1192: undefined reference to `glGetShaderInfoLog'
...\ShaderFormatOpenGL\Private/OpenGLShaderCompiler.cpp:1220: undefined reference to `glDeleteShader'

I’ve found another person with the same issue Build for linux on windows in 4.14 - Platform & Builds - Epic Developer Community Forums but their solution was… using instead of .

I’m using:

  • Visual Studio 2015
  • Unreal Engine 4.15
  • v8_clang-3.9.0-centos7

I’m having the exact same issue on ; so I’m pretty sure that isn’t the same problem. UE4.15.2.

I’m having the same issue on . Did you find the solution to the problem?

Do someone find the solution?

I am having the same issue on with UE4.15.3 anyone find a resolution?

I tried this with , Unreal 4.14, 4.15, studio 2015, and sutdio 2017