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

Issues compiling in Linux (Ubuntu and derivates...) #10

Closed
Ezzz-dev opened this issue Nov 2, 2023 · 1 comment
Closed

Issues compiling in Linux (Ubuntu and derivates...) #10

Ezzz-dev opened this issue Nov 2, 2023 · 1 comment

Comments

@Ezzz-dev
Copy link

Ezzz-dev commented Nov 2, 2023

/home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/ui/uimanager.h:119:70: required from here
/usr/include/c++/13/type_traits:1411:38: error: invalid use of incomplete type ‘class UIWidget’
1411 | : public integral_constant<bool, __is_base_of(_Base, _Derived)>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/luaengine/luaobject.h:26,
from /home/ezzz/Desktop/GitHub/otclientv8/src/framework/core/module.h:29:
/home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/util/stats.h:47:7: note: forward declaration of ‘class UIWidget’
47 | class UIWidget;
| ^~~~~~~~
In file included from /home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/stdext/stdext.h:36,
from /home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/global.h:44:
/home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/stdext/shared_object.h: In instantiation of ‘stdext::shared_object_ptr::shared_object_ptr(T*, bool) [with T = UIWidget]’:
/home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/ui/uimanager.h:119:70: required from here
/home/ezzz/Desktop/GitHub/otclientv8/src/framework/../framework/stdext/shared_object.h:62:58: error: ‘value’ is not a member of ‘std::is_base_of<stdext::shared_object, UIWidget>’
62 | static_assert(std::is_base_of<shared_object, T>::value, "classes using shared_object_ptr must be a derived of stdext::shared_object");

Using vcpkg and Ubuntu 22.04

@Erza
Copy link
Member

Erza commented Jan 15, 2025

It should be fine with the latest changes, if not, we can re-open the issue

@Erza Erza closed this as completed Jan 15, 2025
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

2 participants