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

Add #include <memory> to src/info.cpp (unique_ptr, current_font, GetBitmapFont errors) #34

Open
knuxyl opened this issue Jul 8, 2022 · 0 comments

Comments

@knuxyl
Copy link

knuxyl commented Jul 8, 2022

On Arch with latest everything (compiler, kernels, etc), tivtc fails to compile due to unique_ptr not being a member of "std". The solution is to add #include to the top of src/info.cpp.

This allows compilation, but then at runtime this is thrown
/usr/include/c++/11.2.0/bits/unique_ptr.h:659: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp [], _Dp>::operator const [with _Tp = MTGuardChildFilter; _Dp = std::default_delete<MTGuardChildFilter []>; typename std::add_lvalue_reference<_Tp>::type = MTGuardChildFilter&; std::size_t = long unsigned int]: Assertion 'get() != pointer()' failed.

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