protonscr

Compile error

dxvkclosed
doitsujin/dxvk#201 · opened 2018-03-24 by SveSop · updated 2018-03-24 · 1 comments · github
SSveSop 2018-03-24 github

Get a compile error when i try to compile today.. Not kept up to date as of late, so dont really know when this happened tho.

../src/d3d11/d3d11_options.cpp:5:21: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
   const static std::unordered_map<std::string, D3D11OptionSet> g_d3d11AppOptions = {{
                     ^~~~~~~~~~~~~
../src/d3d11/d3d11_options.cpp: In function ‘dxvk::D3D11OptionSet dxvk::D3D11GetAppOptions(const string&)’:
../src/d3d11/d3d11_options.cpp:11:23: error: ‘g_d3d11AppOptions’ was not declared in this scope
     auto appOptions = g_d3d11AppOptions.find(AppName);
                       ^~~~~~~~~~~~~~~~~
[103/113] Compiling C++ object 'src/d3d11/d3d11@sha/d3d11_rasterizer.cpp.obj'.
ninja: build stopped: subcommand failed.
[1/12] Compiling C++ object 'src/d3d11/d3d11@sha/d3d11_options.cpp.obj'.
FAILED: src/d3d11/d3d11@sha/d3d11_options.cpp.obj 
/usr/bin/x86_64-w64-mingw32-g++ -Og -gdwarf-2 -Isrc/d3d11/d3d11@sha -Isrc/d3d11 -I../src/d3d11 -I.././include -Isrc/dxvk -I../src/dxvk -Isrc/dxgi -I../src/dxgi -Isrc/dxbc -I../src/dxbc -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1z -O3 -MMD -MQ 'src/d3d11/d3d11@sha/d3d11_options.cpp.obj' -MF 'src/d3d11/d3d11@sha/d3d11_options.cpp.obj.d' -o 'src/d3d11/d3d11@sha/d3d11_options.cpp.obj' -c ../src/d3d11/d3d11_options.cpp
../src/d3d11/d3d11_options.cpp:5:21: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
   const static std::unordered_map<std::string, D3D11OptionSet> g_d3d11AppOptions = {{
                     ^~~~~~~~~~~~~
../src/d3d11/d3d11_options.cpp: In function ‘dxvk::D3D11OptionSet dxvk::D3D11GetAppOptions(const string&)’:
../src/d3d11/d3d11_options.cpp:11:23: error: ‘g_d3d11AppOptions’ was not declared in this scope
     auto appOptions = g_d3d11AppOptions.find(AppName);
                       ^~~~~~~~~~~~~~~~~
^Cninja: build stopped: interrupted by user.

This is with 0900e1b5f905c68b49f676d7b3a3433b7bfd286a

Ddoitsujin maintainer 2018-03-24 github

I don't know why you need the include when I don't, but should be fixed now.

Nothing extracted yet.