Ecere SDK/eC Forums • View topic - About bindings




Ecere SDK/eC Forums

Ecere Developers Community

About bindings

General help specific to the Linux platform.

About bindings

Postby ubuntourist » Sun Aug 18, 2019 5:38 pm

OK. So, I'm currently on an up-to-date Arch Linux system and on the dev branch of the official ecere-sdk repo (also up to date).

make -- with all the right magic to figure out where the ffi.h include lives -- and make install worked, and the IDE identifies itself as
Code: Select all
Ecere Software Development Kit v0.44.15 "Ryōan-ji" (64 bit)
Build 0.44.15-680-g27f097dd

But make bindings could use a make install-bindings or some such.

It appears the voodoo from last year (2018) no longer applies to the current dev branch:
Code: Select all
~/Learn/ecere$ cp -r ~/gits/ecere-sdk/bindings/py/ python/
~/Learn/ecere$ cd python/
~/Learn/ecere/python$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
~/Learn/ecere/python$ export PYTHONPATH=$PYTHONPATH:.
~/Learn/ecere/python$ alias python=python3
~/Learn/ecere/python$ python samples/hello3D.py
Traceback (most recent call last):
  File "samples/hello3D.py", line 4, in <module>
    from ecere import *
  File "/home/ubuntourist/Learn/ecere/python/ecere.py", line 1, in <module>
    from eC import *
  File "/home/ubuntourist/Learn/ecere/python/eC.py", line 1, in <module>
    from _pyeC import *
ImportError: libecere_c.so: cannot open shared object file: No such file or directory

So, where do I install what for Python bindings to work? (I'm guessing I don't need everything from ./bindings/py/, just the shared object libraries?)
ubuntourist
 
Posts: 2
Joined: Mon Aug 28, 2017 8:05 am

Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron