-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can't build with latest godot git version... #1
Comments
Hey @hradec , there are a bunch of changes that went through in the last week or so that I need to update in this project. One thing that is very important and possibly the cause of your particular issue is that the headers in the godot_header repo are outdated. They will hopefully be updated soon now that Godot 3 has gone into feature freeze. Assuming you are building Godot 3 from source as well you can set an environment variable to point to \modules\gdnative\include Other then that the tres file needs to be replaced by a gdnlib file that is structured differently, I've done this for the openvr repo already though I'm still having some issues with it crashing on the objects it exposes. Hope to have that fixed sometime this week. |
Before anything, thanks for the quick reply!!! really appreciate!! :) Yep, I'm building from godot 3.0. Actually, this error is happening after I've updated the
So, it seens it's not only that. I was able to get it to compile further by adding this to the ./src/godot_openhmd.c file:
since it seens the but then I got more errors:
and it seems the I'll keep digging (as time permits), since I can't wait to get my DK1 to work in godot 3.0! If you have any more pointers to share, maybe I can get this working for you! ;) anyhow, thanks loads for this driver anyway!! really cool!!! cheers... |
Yes a number of things were renamed very recently. Have a look at the most recent changes to godot_openvr: You'll see the API struct has been broken up into 3 parts which now need to be initialised. The godot_openhmd.tres file needs to be similarly changed to a gdnlib file with that new layout. I need to find time to do the final refactoring changes to the openvr implementation so I know what I still need to change and retrofit the same changes here and to the reference implementation. But yeah if you have some time that be good. There are more changes then this, Karroffel and Endragor have been doing a lot of changes to make GDNative libraries deployable on iOS and android |
See PR #2, that should fix the issues. I haven't tested it other then checking if it'll run. |
I'm getting this error:
examining the godot headers, the godot_alloc() is indeed defined there... so not sure what's going on!
I'll keep digging, but any help would be greatly appreciated!
cheers...
-H
The text was updated successfully, but these errors were encountered: