I just tried to build urho with several different configurations and any of it wasn’t able to finish.
Compile output: pastebin.com/qparxknU
There are several warnings in external libs such SDL, AngelScript
and errors:
Scanning dependencies of target Urho3DPlayer
[ 75%] Building CXX object Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/Urho3DPlayer.cpp.obj
[ 75%] Linking CXX executable ..\..\..\bin\Urho3DPlayer.exe
../../../lib/libUrho3D.a(SDL_windowswindow.c.obj):SDL_windowswindow.c:(.text+0x5ac): undefined reference to `WIN_GL_SetupWindow'
collect2.exe: error: ld returned 1 exit status
Source\Tools\Urho3DPlayer\CMakeFiles\Urho3DPlayer.dir\build.make:97: recipe for target 'bin/Urho3DPlayer.exe' failed
mingw32-make.exe[2]: *** [bin/Urho3DPlayer.exe] Error 1
CMakeFiles\Makefile2:1515: recipe for target 'Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/all' failed
Makefile:148: recipe for target 'all' failed
mingw32-make.exe[1]: *** [Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
19:11:25: The process "C:\Program Files (x86)\CMake\bin\cmake.exe" exited with code 2.
Error while building/deploying project Urho3D (kit: Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
The same problem for dx9 and dx11. Somehow opengl compile without error but its has odd graphical artifacts.
Well i guess somehow linker cant find WIN_GL_SetupWindow function, maybe i do the compilation process incorrectly. Investigation in progress :ugeek:
linker errro ~_~
[ 74%] Linking CXX executable ..\..\..\bin\Urho3DPlayer.exe
F:/Qt/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lD3DCompiler_47
F:/Qt/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lD3DCompiler_47
collect2.exe: error: ld returned 1 exit status
D3DCompiler_47.dll exist in system32, im going to check what will happen when i change DIRECTX_D3DCOMPILER to D3DCompiler_43.dll
Well, i just returned to starting point
../../../lib/libUrho3D.a(SDL_windowswindow.c.obj):SDL_windowswindow.c:(.text+0x5ac): undefined reference to `WIN_GL_SetupWindow'
collect2.exe: error: ld returned 1 exit status
I just compiled with opengl and i dont have artifacts, however when i try to run editor / ninja snow example or even player itself it stops running and exit with segmentation fault >.<
[1] 2512 segmentation fault ./Urho3DPlayer.exe