Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.1.0
-
None
-
Windows 7
Description
I have the error below during the build of Qt 5.1.0.
My windows path (C:\Windows\System32) contains D3DCompiler_x.dll from 33 to 43.
I succeed to build 5.0.2 on the same machine with the same configuration.
It looks like D3DCOMPILER_DLL preprocessor define is incorrect in C:\Qt\Qt5.1.0\src\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp line 58.
I don't know if I should instead be in the case of ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES being defined but I couldn't find any information about it.
g++ -c -pipe -fno-keep-inline-dllexport -g -std=c++0x -fexceptions -mthreads -fr tti -Wall -Wextra -Wno-unknown-pragmas -Wno-comment -Wno-missing-field-initializ ers -Wno-switch -Wno-unused-parameter -Wno-write-strings -Wno-sign-compare -Wno- missing-braces -Wno-unused-but-set-variable -Wno-unused-variable -Wno-narrowing -Wno-maybe-uninitialized -Wno-strict-aliasing -Wno-type-limits -Wno-reorder -Wno -conversion-null -Wno-delete-non-virtual-dtor -DUNICODE -D_WINDOWS -D_UNICODE -D _CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 -D_WIN32_WINNT=0x0600 -DWINVER=0x0600 -DANGLE_DISABLE_TRACE -DANGLE_DISABLE_PERF -DANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0 -DANGLE_USE_N EW_PREPROCESSOR=1 -D_DEBUG -I. -I"C:\openssl-1.0.1e\include" -I"C:\icu\include" -I"." -I".." -I"C:\Qt\Qt5.1.0\src\qtbase\src\angle\src\..\include" -I"..\..\..\3 rdparty\angle\src" -I"..\..\..\3rdparty\angle\include" -I"..\..\src" -I"..\..\.. \3rdparty\angle\src\libGLESv2" -I"..\..\..\..\mkspecs\win32-g++" -o .obj\debug_s hared\Renderer.o ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp: In member function 'bool rx::Renderer::initializeCompiler()': ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:58:1: error: expecte d ')' before ';' token ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:58:53: error: expect ed primary-expression before ')' token ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:58:53: error: expect ed ';' before ')' token ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp: In member function 'void** rx::Renderer::compileToBinary(gl::InfoLog&, const char*, const char*, UI NT, bool)': ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:121:5: error: 'pD3DC ompile' was not declared in this scope ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:121:17: error: expec ted ';' before 'compileFunc' ..\..\..\3rdparty\angle\src\libGLESv2\renderer\Renderer.cpp:128:95: error: 'comp ileFunc' was not declared in this scope Makefile.Debug:788: recipe for target '.obj/debug_shared/Renderer.o' failed mingw32-make[6]: *** [.obj/debug_shared/Renderer.o] Error 1
Thanks for your help.