You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the below errors on Windows 11 when running 'scons' from the project root as instructed. Any ideas?
[Initial build] cl /Foextension\src\openvic-extension\singletons\GameSingleton.obj /c extension\src\openvic-extension\singletons\GameSingleton.cpp /TP /std:c++20 /nologo /utf-8 /Zc:preprocessor /MD /O2 /DTYPED_METHOD_BIND /DNOMINMAX /DWINDOWS_ENABLED /DDEBUG_ENABLED /DDEBUG_METHODS_ENABLED /DNDEBUG /D_HAS_EXCEPTIONS=0 /Igodot-cpp\gdextension /Igodot-cpp\include /Igodot-cpp\gen\include /Iextension\deps\openvic-simulation\src /Iextension\deps\openvic-simulation\deps\openvic-dataloader\include /Iextension\deps\gli /Iextension\deps\gli\external /Iextension\src
[Initial build] scons: *** [extension\deps\openvic-simulation\src\openvic-simulation\military\Unit.windows.template_debug.x86_64.obj] Error 2
cl /Foextension\src\openvic-extension\singletons\LoadLocalisation.obj /c extension\src\openvic-extension\singletons\LoadLocalisation.cpp /TP /std:c++20 /nologo /utf-8 /Zc:preprocessor /MD /O2 /DTYPED_METHOD_BIND /DNOMINMAX /DWINDOWS_ENABLED /DDEBUG_ENABLED /DDEBUG_METHODS_ENABLED /DNDEBUG /D_HAS_EXCEPTIONS=0 /Igodot-cpp\gdextension /Igodot-cpp\include /Igodot-cpp\gen\include /Iextension\deps\openvic-simulation\src /Iextension\deps\openvic-simulation\deps\openvic-dataloader\include /Iextension\deps\gli /Iextension\deps\gli\external /Iextension\src
GameSingleton.cpp
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(176): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(176): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(178): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(178): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(180): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(180): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(182): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(182): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(184): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(184): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(188): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(188): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(190): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(190): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(192): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(192): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(194): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(194): note: The target type has no constructors
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(196): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>'
extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv/CsvGrammar.hpp(196): note: The target type has no constructors
LoadLocalisation.cpp
scons: *** [extension\deps\openvic-simulation\deps\openvic-dataloader\src\openvic-dataloader\csv\Parser.windows.template_debug.x86_64.obj] Error 2
scons: building terminated because of errors.
Let me know if you need any extra info from me. Thanks!
The text was updated successfully, but these errors were encountered:
fonziemedia
changed the title
Errors when running 'scones' on Windows 11
Errors when running 'scons' on Windows 11
Dec 9, 2023
What version of MSVC and cl are you using? Does this issue still persist after #169?
Spartan322
changed the title
Errors when running 'scons' on Windows 11error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ovdl::csv::grammar::ParseOptions<T>' on Windows 11
Jan 29, 2024
Getting the below errors on Windows 11 when running 'scons' from the project root as instructed. Any ideas?
Let me know if you need any extra info from me. Thanks!
The text was updated successfully, but these errors were encountered: