-
Notifications
You must be signed in to change notification settings - Fork 211
Closed
Labels
bugc: bindingsComponent: GDNative bindings (mod api)Component: GDNative bindings (mod api)status: godot-4Issues concerning Godot 4.0 (current Vulkan branch)Issues concerning Godot 4.0 (current Vulkan branch)
Milestone
Description
Just tried to build this against the Godot vulkan branch.
Generated the api.json for bind_gen and can cargo build and this is the output.
I'm fully aware that the vulkan branch is not stable, just putting this here just in case.
warning: couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable
Compiling gdnative-bindings v0.7.0 (/gdnative-bindings)
error[E0412]: cannot find type `BaseMaterial3DShadingMode` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13535:39
|
13182 | / pub enum BaseMaterial3DBlendMode {
13183 | | ModeMix = 0,
13184 | | ModeAdd = 1,
13185 | | ModeSub = 2,
13186 | | ModeMul = 3,
13187 | | }
| |_- similarly named enum `BaseMaterial3DBlendMode` defined here
...
13535 | pub fn get_shading_mode(&self) -> BaseMaterial3DShadingMode {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DBlendMode`
error[E0412]: cannot find type `BaseMaterial3DTextureFilter` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13560:41
|
13172 | / pub enum BaseMaterial3DTextureChannel {
13173 | | Red = 0,
13174 | | Green = 1,
13175 | | Blue = 2,
13176 | | Alpha = 3,
13177 | | Grayscale = 4,
13178 | | }
| |_- similarly named enum `BaseMaterial3DTextureChannel` defined here
...
13560 | pub fn get_texture_filter(&self) -> BaseMaterial3DTextureFilter {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DTextureChannel`
error[E0412]: cannot find type `BaseMaterial3DShadingMode` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_methods.rs:27236:83
|
27236 | pub unsafe fn BaseMaterial3D_get_shading_mode(obj_ptr: *mut sys::godot_object) -> BaseMaterial3DShadingMode {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DBlendMode`
|
::: /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13182:1
|
13182 | / pub enum BaseMaterial3DBlendMode {
13183 | | ModeMix = 0,
13184 | | ModeAdd = 1,
13185 | | ModeSub = 2,
13186 | | ModeMul = 3,
13187 | | }
| |_- similarly named enum `BaseMaterial3DBlendMode` defined here
error[E0412]: cannot find type `BaseMaterial3DShadingMode` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_methods.rs:27245:18
|
27245 | let mut ret: BaseMaterial3DShadingMode = mem::transmute(0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DBlendMode`
|
::: /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13182:1
|
13182 | / pub enum BaseMaterial3DBlendMode {
13183 | | ModeMix = 0,
13184 | | ModeAdd = 1,
13185 | | ModeSub = 2,
13186 | | ModeMul = 3,
13187 | | }
| |_- similarly named enum `BaseMaterial3DBlendMode` defined here
error[E0412]: cannot find type `BaseMaterial3DTextureFilter` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_methods.rs:27337:85
|
27337 | pub unsafe fn BaseMaterial3D_get_texture_filter(obj_ptr: *mut sys::godot_object) -> BaseMaterial3DTextureFilter {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DTextureChannel`
|
::: /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13172:1
|
13172 | / pub enum BaseMaterial3DTextureChannel {
13173 | | Red = 0,
13174 | | Green = 1,
13175 | | Blue = 2,
13176 | | Alpha = 3,
13177 | | Grayscale = 4,
13178 | | }
| |_- similarly named enum `BaseMaterial3DTextureChannel` defined here
error[E0412]: cannot find type `BaseMaterial3DTextureFilter` in this scope
--> /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_methods.rs:27346:18
|
27346 | let mut ret: BaseMaterial3DTextureFilter = mem::transmute(0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `BaseMaterial3DTextureChannel`
|
::: /target/debug/build/gdnative-bindings-3c7fb92b47262212/out/bindings_types.rs:13172:1
|
13172 | / pub enum BaseMaterial3DTextureChannel {
13173 | | Red = 0,
13174 | | Green = 1,
13175 | | Blue = 2,
13176 | | Alpha = 3,
13177 | | Grayscale = 4,
13178 | | }
| |_- similarly named enum `BaseMaterial3DTextureChannel` defined here
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0412`.
error: could not compile `gdnative-bindings`.
Metadata
Metadata
Assignees
Labels
bugc: bindingsComponent: GDNative bindings (mod api)Component: GDNative bindings (mod api)status: godot-4Issues concerning Godot 4.0 (current Vulkan branch)Issues concerning Godot 4.0 (current Vulkan branch)