×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

PyINDI client fails to build

  • Posts: 25
  • Thank you received: 21
Has anyone managed to build `pyindi-client` recently against the stable 2.0.0 release? I'm getting a bunch of errors that I don't have enough context to understand / debug:

```
$ python setup.py install
...
...
/usr/local/include/libindi/basedevice.h:105: Warning 508: Declaration of 'registerProperty' shadows declaration accessible via operator->(),
/usr/local/include/libindi/basedevice.h:105: Warning 508: previous declaration of 'registerProperty'.
...
/usr/local/include/libindi/indipropertyview.h:177: Error: 'PropertyBasicText_getPermissionAsString' is multiply defined in the generated target language module.
/usr/local/include/libindi/indipropertybasic.h:71: Error: Previous declaration of 'PropertyBasicText_getPermissionAsString'
/usr/local/include/libindi/indipropertyview.h:185: Error: 'PropertyBasicText_getTimeout' is multiply defined in the generated target language module.
/usr/local/include/libindi/indipropertybasic.h:73: Error: Previous declaration of 'PropertyBasicText_getTimeout'
/usr/local/include/libindi/indipropertyview.h:204: Error: 'PropertyBasicText_count' is multiply defined in the generated target language module.
/usr/local/include/libindi/indipropertybasic.h:105: Error: Previous declaration of 'PropertyBasicText_count'
/usr/local/include/libindi/indipropertyview.h:207: Error: 'PropertyBasicText_findWidgetByName' is multiply defined in the generated target language module.
/usr/local/include/libindi/indipropertybasic.h:139: Error: Previous declaration of 'PropertyBasicText_findWidgetByName'
/usr/local/include/libindi/indipropertyview.h:324: Error: 'PropertyBasicText_at' is multiply defined in the generated target language module.
/usr/local/include/libindi/indipropertybasic.h:116: Error: Previous declaration of 'PropertyBasicText_at'
...
indiclientpython.i:70: Error: 'PropertyBasicBlob___getitem__' is multiply defined in the generated target language module.
indiclientpython.i:108: Error: Previous declaration of 'PropertyBasicBlob___getitem__'
indiclientpython.i:74: Error: 'PropertyBasicBlob___len__' is multiply defined in the generated target language module.
indiclientpython.i:112: Error: Previous declaration of 'PropertyBasicBlob___len__'
error: command '/usr/bin/swig' failed with exit code
```
4 months 2 weeks ago #100638

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 70
pyindi-client should compile against 2.0.0 to 2.0.3 from the following git checkout:

pip3 install "git+https://github.com/indilib/pyindi-client.git@674706f#egg=pyindi-client"

I track the compatibility of pyindi-client pretty closely for indi-allsky.
The following user(s) said Thank You: Peter Englmaier
4 months 2 weeks ago #100656

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds