Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails with vs 19 #3

Open
tangorn opened this issue Dec 15, 2019 · 1 comment
Open

build fails with vs 19 #3

tangorn opened this issue Dec 15, 2019 · 1 comment

Comments

@tangorn
Copy link

tangorn commented Dec 15, 2019

1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583,1): error C2678: binary '==': no operator found which takes a left-hand operand of type 'const _Ty' (or there is no acceptable conversion)
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Projects\SkyrimVRTools\src\ScaleformVR.cpp(44,8): message : could be 'bool ScaleformVR::ScaleformCallback::operator ==(const ScaleformVR::ScaleformCallback &)'
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583,1): message : while trying to match the argument list '(const _Ty, const _Ty)'
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1582): message : while compiling class template member function 'auto std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove(const _Ty &)'
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Projects\SkyrimVRTools\src\ScaleformVR.cpp(51): message : see reference to class template instantiation 'std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>' being compiled
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1594,1): error C2451: conditional expression of type 'void' is illegal
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1594,22): message : Expressions of type void cannot be converted to other types
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583): message : see reference to function template instantiation 'auto std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove_if<std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove::<lambda_bdae7e4de864a523027aa8840fb19c55>>(_Pr1)' being compiled
1>        with
1>        [
1>            _Pr1=std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove::<lambda_bdae7e4de864a523027aa8840fb19c55>
1>        ]
1>Done building project "SkyrimVRTools.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
@tangorn
Copy link
Author

tangorn commented Dec 15, 2019

BTW submodule link to SKSEVR mirror is broken, i used the link in your example project to work around it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant