×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Pyindi-client wrappers problem

  • Posts: 15
  • Thank you received: 0
Ok then, I followed your steps but I still get an error at cmake ../swig-indi-python

emalabro@emalabro-VirtualBox:~/libindipython$ cmake ../swig-indi-python
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.10")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'libindi'
-- found libindi, version 1.2.0
-- Could NOT find INDI (missing: INDI_MAIN_LIBRARIES) (found version "1.2.0")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CFITSIO_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/emalabro/swig-indi-python
used as include directory in directory /home/emalabro/swig-indi-python
CFITSIO_LIBRARIES (ADVANCED)
linked by target "_PyIndiDriver" in directory /home/emalabro/swig-indi-python

-- Configuring incomplete, errors occurred!
See also "/home/emalabro/libindipython/CMakeFiles/CMakeOutput.log".
7 years 11 months ago #7689

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

I don't see the CFITSIO in your case.

Look at my case:

oleh@oleh:~$ svn co pyindi-client.googlecode.com/svn/trunk/s...ndi/swig-indi-python
A swig-indi-python/python_simulator_ccd.py
A swig-indi-python/test-indidriver.py
A swig-indi-python/test-indiclient.py
A swig-indi-python/indidriverpython.i
A swig-indi-python/cmake_modules
A swig-indi-python/cmake_modules/FindCFITSIO.cmake
A swig-indi-python/cmake_modules/FindINDI.cmake
A swig-indi-python/tutorial_four_sk.xml
A swig-indi-python/indiclientpython.i
A swig-indi-python/CMakeLists.txt
Checked out revision 32.
oleh@oleh:~$ mkdir libindipython
oleh@oleh:~$ cd libindipython
oleh@oleh:~/libindipython$ cmake ../swig-indi-python
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.10")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'libindi'
-- found libindi, version 1.2.0
-- Could NOT find INDI (missing: INDI_MAIN_LIBRARIES) (found version "1.2.0")
-- Found CFITSIO 3.37: /usr/lib/x86_64-linux-gnu/libcfitsio.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oleh/libindipython
oleh@oleh:~/libindipython$
You can try my open project Astronomy Linux
7 years 11 months ago #7696

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

You can try install the CFITSIO from its sources:
wget ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio_latest.tar.gz
tar xvzf cfitsio_latest.tar.gz
cd cfitsio
./configure --prefix=/usr/local
make
sudo make install
You can try my open project Astronomy Linux
7 years 11 months ago #7697

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

  • Posts: 15
  • Thank you received: 0
Ok as soon as possible I will try this. This passage has to be done before anything else or there's no problem of temporal succession?
Is it possible to use Ekos virtual machine to do the steps?
7 years 11 months ago #7698

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

Hmm... I don't use Ekos virtual machine :(
You can try install last CFITSIO in any case.
You can try my open project Astronomy Linux
7 years 11 months ago #7699

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

  • Posts: 15
  • Thank you received: 0
CFTSIO will be good for Ubuntu 15.10? I'm currently using a virtual machine. anyway, even in Ekos returns an analogue problem at the same step. :unsure: I'll reply as soon I'll try to install CFTSIO :)

Thanks for all!
7 years 11 months ago #7700

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem


My current OS is Ubuntu 15.10 (64 bit).

P.S. Check these packages on your Ekos virtual machine:
You can try my open project Astronomy Linux
Last edit: 7 years 11 months ago by Oleg.
7 years 11 months ago #7701
Attachments:

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

P.P.S. try it:
sudo apt-get install libcfitsio3-dev
You can try my open project Astronomy Linux
7 years 11 months ago #7703

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

  • Posts: 15
  • Thank you received: 0
With your last suggestion it worked! :) thank you so much! just a thing... the following step is not very clear for me (sorry, I'm new to this kind of things :S )

6. install ws4py:
sudo mkdir /opt/ws4py
sudo chown user:user /opt/ws4py # !!! you must change user on your system login!

at the end of the 5. step, I'm currently in the libindipython dir. Shall I have to change the dir or follow the step as I read them? and I don't understand # !!! you must change user on your system login! ... Sorry again :dry:
7 years 11 months ago #7704

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

  • Posts: 15
  • Thank you received: 0
I just realised your comment :woohoo: sorry, just a lapsus :silly:
7 years 11 months ago #7705

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

What is you system login?
You can use the terminal command:
whoami

See my system login in attached picture:
You can try my open project Astronomy Linux
The following user(s) said Thank You: Emanuele
7 years 11 months ago #7706
Attachments:

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

  • Posts: 15
  • Thank you received: 0
Ok thanks, I finally managed to follow and complete all the steps :) problem solved :) :cheer:
7 years 11 months ago #7707

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

Time to create page: 0.830 seconds