HxGodot / hxgodot

A Haxe GDExtension for Godot 4
MIT License
232 stars 11 forks source link

Compilation errors (mac) #15

Closed Greg209 closed 1 year ago

Greg209 commented 2 years ago

With the latest commit I'm getting build errors from make debug.

Error: In file included from ./src/godot/MultiMesh.cpp:18:
In file included from include/godot/Mesh.h:9:
In file included from include/godot/Resource.h:9:
In file included from include/godot/RefCounted.h:9:
In file included from include/godot/Object.h:24:
../gen/godot/native_structs.hpp:47:9: error: unknown type name 'ObjectID'; did you mean 'Object'?
        ObjectID collider_id;
        ^~~~~~~~
        Object
include/godot/Object.h:11:25: note: 'Object' declared here
HX_DECLARE_CLASS1(godot,Object)
                        ^
In file included from ./src/godot/MultiMesh.cpp:18:
In file included from include/godot/Mesh.h:9:
In file included from include/godot/Resource.h:9:
In file included from include/godot/RefCounted.h:9:
In file included from include/godot/Object.h:24:
../gen/godot/native_structs.hpp:69:9: error: unknown type name 'ObjectID'; did you mean 'Object'?
        ObjectID collider_id;
        ^~~~~~~~
        Object
include/godot/Object.h:11:25: note: 'Object' declared here
HX_DECLARE_CLASS1(godot,Object)
                        ^
In file included from ./src/godot/MultiMesh.cpp:18:
In file included from include/godot/Mesh.h:9:
In file included from include/godot/Resource.h:9:
In file included from include/godot/RefCounted.h:9:
In file included from include/godot/Object.h:24:
../gen/godot/native_structs.hpp:80:9: error: unknown type name 'ObjectID'; did you mean 'Object'?
        ObjectID collider_id;
        ^~~~~~~~
        Object
include/godot/Object.h:11:25: note: 'Object' declared here
HX_DECLARE_CLASS1(godot,Object)
                        ^
In file included from ./src/godot/MultiMesh.cpp:18:
In file included from include/godot/Mesh.h:9:
In file included from include/godot/Resource.h:9:
In file included from include/godot/RefCounted.h:9:
In file included from include/godot/Object.h:24:
../gen/godot/native_structs.hpp:89:9: error: unknown type name 'ObjectID'; did you mean 'Object'?
        ObjectID collider_id;
        ^~~~~~~~
        Object
include/godot/Object.h:11:25: note: 'Object' declared here
HX_DECLARE_CLASS1(godot,Object)
                        ^
In file included from ./src/godot/MultiMesh.cpp:18:
In file included from include/godot/Mesh.h:9:
In file included from include/godot/Resource.h:9:
In file included from include/godot/RefCounted.h:9:
In file included from include/godot/Object.h:24:
../gen/godot/native_structs.hpp:98:30: error: expected ')'
        void (*callback)(void; // void
                             ^
../gen/godot/native_structs.hpp:98:25: note: to match this '('
        void (*callback)(void; // void
                        ^
5 errors generated.
dazKind commented 1 year ago

Macos builds are fixed. Closing this particular issue now