Create-Engine/remake/build.log

78 lines
5.0 KiB
Plaintext
Raw Normal View History

2025-04-19 01:29:00 +00:00
[ERROR] g++ -std=c++20 -Wall -g -Isrc/include -Isrc/include/lua -Isrc/vendor -Isrc/vendor/imgui -Isrc/vendor/box2d/ -IC:/msys64/mingw64/include -IC:\msys64\mingw64\lib\libyaml-cpp.a -Isrc\vendor\imgui -MMD -MP -c src\src\Components\PhysicsComponent.cpp -o src\build\Components\PhysicsComponent.o
cc1plus.exe: warning: C:\msys64\mingw64\lib\libyaml-cpp.a: not a directory
In file included from C:/msys64/mingw64/include/yaml-cpp/parser.h:13,
from C:/msys64/mingw64/include/yaml-cpp/yaml.h:10,
from src\src\Components\Component.h:5,
from src\src\Components\PhysicsComponent.h:2,
from src\src\Components\PhysicsComponent.cpp:1:
C:/msys64/mingw64/include/yaml-cpp/dll.h:22:65: note: '#pragma message: Defining YAML_CPP_API for DLL import'
22 | # pragma message( "Defining YAML_CPP_API for DLL import" )
| ^
src\src\Components\PhysicsComponent.h:13:21: error: 'b2World' has not been declared
13 | void CreateBody(b2World* world, const glm::vec2& position);
| ^~~~~~~
src\src\Components\PhysicsComponent.h:29:5: error: 'b2Body' does not name a type; did you mean 'b2BodyId'?
29 | b2Body* body = nullptr;
| ^~~~~~
| b2BodyId
src\src\Components\PhysicsComponent.h:30:5: error: 'b2World' does not name a type; did you mean 'b2WorldId'?
30 | b2World* world = nullptr;
| ^~~~~~~
| b2WorldId
src\src\Components\PhysicsComponent.h:26:10: error: 'void PhysicsComponent::OnImGuiInspector()' marked 'override', but does not override
26 | void OnImGuiInspector() override;
| ^~~~~~~~~~~~~~~~
src\src\Components\PhysicsComponent.cpp:12:6: error: variable or field 'CreateBody' declared void
12 | void PhysicsComponent::CreateBody(b2World* world, const glm::vec2& position) {
| ^~~~~~~~~~~~~~~~
src\src\Components\PhysicsComponent.cpp:12:35: error: 'b2World' was not declared in this scope; did you mean 'b2WorldId'?
12 | void PhysicsComponent::CreateBody(b2World* world, const glm::vec2& position) {
| ^~~~~~~
| b2WorldId
src\src\Components\PhysicsComponent.cpp:12:44: error: 'world' was not declared in this scope
12 | void PhysicsComponent::CreateBody(b2World* world, const glm::vec2& position) {
| ^~~~~
src\src\Components\PhysicsComponent.cpp:12:51: error: expected primary-expression before 'const'
12 | void PhysicsComponent::CreateBody(b2World* world, const glm::vec2& position) {
| ^~~~~
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::DestroyBody()':
src\src\Components\PhysicsComponent.cpp:39:9: error: 'body' was not declared in this scope
39 | if (body && world) {
| ^~~~
src\src\Components\PhysicsComponent.cpp:39:17: error: 'world' was not declared in this scope
39 | if (body && world) {
| ^~~~~
2025-04-19 01:35:52 +00:00
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::SetVelocity(const glm::vec2&)':
src\src\Components\PhysicsComponent.cpp:46:9: error: 'body' was not declared in this scope
46 | if (body) body->SetLinearVelocity(b2Vec2(vel.x, vel.y));
| ^~~~
src\src\Components\PhysicsComponent.cpp: In member function 'glm::vec2 PhysicsComponent::GetVelocity() const':
src\src\Components\PhysicsComponent.cpp:50:9: error: 'body' was not declared in this scope
50 | if (body) {
| ^~~~
2025-04-19 01:29:00 +00:00
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::SetFriction(float)':
src\src\Components\PhysicsComponent.cpp:59:9: error: 'body' was not declared in this scope
59 | if (body && body->GetFixtureList())
| ^~~~
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::SetFixedRotation(bool)':
src\src\Components\PhysicsComponent.cpp:70:9: error: 'body' was not declared in this scope
70 | if (body)
| ^~~~
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::SyncFromPhysics()':
src\src\Components\PhysicsComponent.cpp:75:9: error: 'body' was not declared in this scope
75 | if (body) {
| ^~~~
src\src\Components\PhysicsComponent.cpp:77:9: error: 'object' was not declared in this scope; did you mean 'Object'?
77 | object->SetLocalPosition({ pos.x, pos.y });
| ^~~~~~
| Object
src\src\Components\PhysicsComponent.cpp: In member function 'void PhysicsComponent::SyncToPhysics()':
src\src\Components\PhysicsComponent.cpp:82:9: error: 'body' was not declared in this scope
82 | if (body) {
| ^~~~
src\src\Components\PhysicsComponent.cpp:83:25: error: 'object' was not declared in this scope; did you mean 'Object'?
83 | glm::vec2 pos = object->GetLocalPosition();
| ^~~~~~
| Object