Comments (7)
Hi there !
Thanks for offering your help ;-)
I've tried a couple times with varying levels of success on 64-bit Linux to build the project working following the README.md
As you say the project is currently not really stabilized due to GDNative API being developed in the same time. However this is getting better since we've almost reached the final Godot 3.0.
Considering building for yourself the project I would recommend you to follow what's done on travis/appveyor (this way you get to know which Godot-python commit compile with which Godot commit). Obviously the final 3.0 would easier this a lot by providing a single gdnative wrapper archive containing both include headers and the static library for each architectures (comparing to now where we have to curl the godot's github build repo for a specific library version&architecture).
I'm thinking about taking a stab at updating the examples / README as a PR now that we're closer to 3.0 (and saw your latest PR was merged) but wanted to make sure I don't do work that's already in progress.
I'm not working on documentation (most of my time on the project right now is dedicated to suffer on the windows version...) so I'll be really happy if you start working on this part.
Considering the tests&examples folders. The tests/bindings
is the only project I'm running really frequently so I'm sure it is up to date. Then I'm trying to keep examples/pong
up to date. Then there is the others which I planned to update once the library is stabilized, so you can work on them if you want ;-)
from godot-python.
Great! The travis file was a definite help on the new build system. Using the released pegged in the SConstruct got everything to build nice and easy!
That said, running
scons platform=x11-64 test
builds everything fine, but errors out with
ERROR: open_dynamic_library: Method/Function Failed, returning ERR_CANT_OPEN
Any ideas?
--
P.S. My overall plan is to get build instructions as part of the README.md from a clean Ubuntu docker container. Then do the same for Windows once you are free from that hell!
from godot-python.
My guess is either Godot cannot find libpythonscript.so
(so you should check the symlinks and the pythonscript.gdnlib
in the project) or libpython3.so cannot be loaded here:
godot-python/pythonscript/pythonscript.c
Lines 97 to 103 in d7f4b0a
You should put a breakpoint there to find that out (and check if you got information about pythonscript loading in Godot output log)
from godot-python.
Ah, looks like another moving target issue.
Error: tests/bindings/pythonscript/libpythonscript.so: undefined symbol: godot_char_string_destroy
I'll play around with later builds.
from godot-python.
Have both tests and example working again with the 20180113-2 build on my branch here. Will start on some of the docs this weekend!
from godot-python.
Error: tests/bindings/pythonscript/libpythonscript.so: undefined symbol: godot_char_string_destroy
godot_char_string_* has been added very recently to Godot main codebase. You must be using an old version... (the patch is from 2018-01-10, not even sure it is in rc1)
from godot-python.
Closing the issue now that #49 have been merged
from godot-python.
Related Issues (20)
- Installing packages only shows "requirement already satisfied " but points to global python installation HOT 2
- [Godot 4] Better numpy support for image / np.arrays HOT 2
- Best way to display the texture produced in python on a spatial material HOT 4
- Adding Custom Icons to Classes for Nodes HOT 2
- Weird bug when using pip lib that connects to the external camera. HOT 2
- Test project crashes while loading methods (invalid pointer) HOT 2
- impossible to use wandb. HOT 1
- Build failure
- Cant set shader parameter on custom visual shader
- get_children() not working when Label3D is a child. HOT 1
- Question - Embedded Application HOT 2
- Path incorrect for godot-headers HOT 6
- Pass or return Python instance to/from Godot
- How to access nodes from the tree.
- Segmentation fault while using matplotlib under Linux
- make.py initialization fails
- godot3 export python problem HOT 2
- trying on fedora linux HOT 4
- PythonJIT like LuaJIT.
- GDExtension HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-python.