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

Ubuntu 22.04 下编译失败 #487

Open
lotest opened this issue Dec 1, 2024 · 0 comments
Open

Ubuntu 22.04 下编译失败 #487

lotest opened this issue Dec 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lotest
Copy link

lotest commented Dec 1, 2024

Describe the bug | Bug描述
A clear and concise description of what the bug is.

engine/source/_generated/reflection/level.reflection.gen.h:38:147: error: no match for ‘operator=’ (operand types are ‘std::vectorPiccolo::ObjectInstanceRes’ and ‘int’)
38 | ts(void* instance, void* field_value){ static_cast<LevelRes*>(instance)->m_objects = static_cast<int>(field_value**)**;}

engine/source/_generated/reflection/mesh_data.reflection.gen.h:344:153: error: no match for ‘operator=’ (operand types are ‘std::vector’ and ‘int’)
344 | void* instance, void* field_value){ static_cast<MeshData*>(instance)->index_buffer = static_cast<int>(field_value);}
| ^

animation.reflection.gen.h:63:144: error: no match for ‘operator=’ (operand types are ‘std::vectorPiccolo::AnimationResultElement’ and ‘int’)
63 | (void* instance, void* field_value){ static_cast<AnimationResult*>(instance)->node = static_cast<int>(field_value);}
| ^

engine/source/_generated/reflection/rigid_body.reflection.gen.h:86:158: error: no match for ‘operator=’ (operand types are ‘std::vectorPiccolo::RigidBodyShape’ and ‘int’)
86 | tance, void* field_value){ static_cast<RigidBodyComponentRes*>(instance)->m_shapes = static_cast<int>(field_value);}
| ^

engine/source/_generated/reflection/object.reflection.gen.h:87:164: error: no match for ‘operator=’ (operand types are ‘std::vector<Piccolo::Reflection::ReflectionPtrPiccolo::Component >’ and ‘int’)
87 | nce, void* field_value){ static_cast<ObjectDefinitionRes*>(instance)->m_components = static_cast<int>(field_value);}
| ^

Piccolo-0.0.9/engine/source/runtime/core/meta/serializer/serializer.h:67:31: error: static assertion failed: PSerializer::write has not been implemented yet!
67 | static_assert(always_false, "PSerializer::write has not been implemented yet!");
| ^~~~~~~~~~~~~~~

Desktop | 桌面环境

  • OS: [Ubuntu]
  • Version [22.04]
  • CPU [3700x, ]
  • GPU [NVidia RTX 1050ti]
  • Memory [32GB]
  • Compiler [Clang14, G++]
    -- The C compiler identification is GNU 11.4.0
    -- The CXX compiler identification is GNU 11.4.0

Additional context | 补充信息
Add any other context about the problem here.

@lotest lotest added the bug Something isn't working label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant