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

Compilation Error #119

Closed
QwistyS opened this issue Nov 12, 2023 · 0 comments
Closed

Compilation Error #119

QwistyS opened this issue Nov 12, 2023 · 0 comments

Comments

@QwistyS
Copy link

QwistyS commented Nov 12, 2023

Hi.
New to this, would be happy if you assist me with issue I've got to.
i followed your instructions.

[Build steps for Visual Studio Code (Windows and Linux)](https://github.com/tksuoran/erhe#build-steps-for-visual-studio-code-windows-and-linux) git clone https://github.com/tksuoran/erhe Open erhe folder in Visual Studio code Execute command: CMake: Select Configure Preset Execute command: CMake: Configure Execute command: CMake: Build
after trying to compile.

Fallowing error appier.
image

‘JPH::StaticCompoundShapeSettings::StaticCompoundShapeSettings(JPH::StaticCompoundShapeSettings&&)’ is implicitly deleted because the default definition would be ill-formed: [build] 17 | class JPH_EXPORT StaticCompoundShapeSettings final : public CompoundShapeSettings [build] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/StaticCompoundShape.h:17:18: error: use of deleted function ‘JPH::CompoundShapeSettings::CompoundShapeSettings(JPH::CompoundShapeSettings&&)’ [build] In file included from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/StaticCompoundShape.h:7: [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/CompoundShape.h:17:18: note: ‘JPH::CompoundShapeSettings::CompoundShapeSettings(JPH::CompoundShapeSettings&&)’ is implicitly deleted because the default definition would be ill-formed: [build] 17 | class JPH_EXPORT CompoundShapeSettings : public ShapeSettings [build] | ^~~~~~~~~~~~~~~~~~~~~ [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/CompoundShape.h:17:18: error: use of deleted function ‘JPH::ShapeSettings::ShapeSettings(JPH::ShapeSettings&&)’ [build] In file included from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/ConvexShape.h:8, [build] from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/BoxShape.h:7, [build] from /home/danielm/src/erhe/src/erhe/physics/erhe_physics/jolt/jolt_collision_shape.hpp:8, [build] from /home/danielm/src/erhe/src/erhe/physics/erhe_physics/jolt/jolt_compound_shape.hpp:3: [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/Shape.h:138:18: note: ‘JPH::ShapeSettings::ShapeSettings(JPH::ShapeSettings&&)’ is implicitly deleted because the default definition would be ill-formed: [build] 138 | class JPH_EXPORT ShapeSettings : public SerializableObject, public RefTarget<ShapeSettings> [build] | ^~~~~~~~~~~~~ [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/Shape.h:138:18: error: use of deleted function ‘JPH::SerializableObject::SerializableObject(const JPH::SerializableObject&)’ [build] In file included from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Body/MassProperties.h:7, [build] from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Physics/Collision/Shape/Shape.h:7: [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/ObjectStream/SerializableObject.h:146:18: note: ‘JPH::SerializableObject::SerializableObject(const JPH::SerializableObject&)’ is implicitly deleted because the default definition would be ill-formed: [build] 146 | class JPH_EXPORT SerializableObject : public NonCopyable [build] | ^~~~~~~~~~~~~~~~~~ [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/ObjectStream/SerializableObject.h:146:18: error: use of deleted function ‘JPH::NonCopyable::NonCopyable(const JPH::NonCopyable&)’ [build] In file included from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/ObjectStream/ObjectStream.h:10, [build] from /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/ObjectStream/SerializableObject.h:7: [build] /home/danielm/src/erhe/build/Configure GCC Debug/_deps/joltphysics-src/Build/../Jolt/Core/NonCopyable.h:14:25: note: declared here [build] 14 | NonCopyable(const NonCopyable &) = delete; [build] | ^~~~~~~~~~~ [build] [486/733] Building CXX object src/erhe/imgui/CMakeFiles/erhe_imgui.dir/erhe_imgui/windows/pipelines.cpp.o [build] [487/733] Building CXX object src/erhe/imgui/CMakeFiles/erhe_imgui.dir/erhe_imgui/windows/performance_window.cpp.o [build] [488/733] Building CXX object src/erhe/imgui/CMakeFiles/erhe_imgui.dir/erhe_imgui/windows/framebuffer_window.cpp.o [build] [489/733] Building CXX object src/erhe/imgui/CMakeFiles/erhe_imgui.dir/erhe_imgui/windows/log_window.cpp.o [build] [490/733] Building CXX object src/erhe/physics/CMakeFiles/erhe_physics.dir/erhe_physics/jolt/jolt_constraint.cpp.o [build] [491/733] Building CXX object src/erhe/physics/CMakeFiles/erhe_physics.dir/erhe_physics/jolt/jolt_debug_renderer.cpp.o [build] [492/733] Building CXX object src/erhe/physics/CMakeFiles/erhe_physics.dir/erhe_physics/jolt/jolt_collision_shape.cpp.o [build] [493/733] Building CXX object src/erhe/physics/CMakeFiles/erhe_physics.dir/erhe_physics/jolt/jolt_convex_hull_collision_shape.cpp.o [build] [494/733] Building CXX object src/erhe/physics/CMakeFiles/erhe_physics.dir/erhe_physics/jolt/jolt_rigid_body.cpp.o [build] ninja: build stopped: subcommand failed. [proc] The command: /usr/bin/cmake --build "/home/danielm/src/erhe/build/Configure GCC Debug" --config Debug --target all exited with code: 1 [driver] Build completed: 00:03:26.618 [build] Build finished with exit code 1

Have no clue where to start.

@QwistyS QwistyS closed this as completed Nov 20, 2023
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