×

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

Bi-monthly release with minor bug fixes and improvements

Trying to use tutorial_one

  • Posts: 116
  • Thank you received: 2
Hello,

I am trying to run tutorial_one what should be simple but i keep getting the following errors:

2020-07-11T13:13:13: Driver examples/tutorial_one/tutorial_one: 2020-07-11T13:13:13: Driver examples/tutorial_one/tutorial_one: execlp: No such file or directory
Child process 11064 died
2020-07-11T13:13:13: Driver examples/tutorial_one/tutorial_one: stderr EOF
2020-07-11T13:13:13: Driver examples/tutorial_one/tutorial_one: Terminated after #10 restarts.
2020-07-11T13:13:13: good bye

I have done all the steps from the readme etc.

Please could anybody help?
3 years 8 months ago #56717

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

  • Posts: 180
  • Thank you received: 30
3 years 8 months ago #56722

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

  • Posts: 116
  • Thank you received: 2

Replied by Joshua R on topic Trying to use tutorial_one

Looks like it. But i can't find the solution there.
3 years 8 months ago #56723

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

  • Posts: 311
  • Thank you received: 42

Replied by wotalota on topic Trying to use tutorial_one

Is your default directory location set to the build area, it just looks like it can not find the executable.
From your example `ls -l examples/tutorial_one/` should show you an executable file tutorial_one.
3 years 8 months ago #56818

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

  • Posts: 116
  • Thank you received: 2

Replied by Joshua R on topic Trying to use tutorial_one

Can't find an executable tutorial_one. Here the ls-l:

joshua@Cheops:~/indi/libindi/examples/tutorial_one$ ls -l
total 44
-rw-rw-r-- 1 joshua joshua 12677 jul 11 14:46 CMakeCache.txt
drwxrwxr-x 5 joshua joshua 4096 jul 14 16:53 CMakeFiles
-rw-rw-r-- 1 joshua joshua 1136 jul 14 16:53 cmake_install.cmake
-rw-r--r-- 1 joshua joshua 136 apr 27 2018 CMakeLists.txt
-rw-rw-r-- 1 joshua joshua 7754 jul 11 14:55 Makefile
-rw-r--r-- 1 joshua joshua 3805 apr 27 2018 simpledevice.cpp
-rw-r--r-- 1 joshua joshua 767 apr 27 2018 simpledevice.h

It must be some stupid thing i am missing or not doing correctly.
Last edit: 3 years 8 months ago by Joshua R.
3 years 8 months ago #56851

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

  • Posts: 311
  • Thank you received: 42

Replied by wotalota on topic Trying to use tutorial_one

mkdir ~/Projects
cd ~/Projects
git clone github.com/indilib/indi.git
mkdir -p build/indi
cd build/indi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi
sudo make install

indiserver -v examples/tutorial_one/tutorial_one


joshua@Cheops:~/indi/libindi/examples/tutorial_one$ ls -l

You are in what looks like a source files directory.
If you just run indiserver without any parameters it will output the version of indi you are running.
Assuming you have done a build to get the examples. The instructions above are what I find on the web site.
There you would find the executable under ~/Projects/build/indi.
set default to your home directory and issue the following command it might help you locate the build/output directory and the executable.

cd ~
find . -name tutorial_one
3 years 8 months ago #56869

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

  • Posts: 116
  • Thank you received: 2

Replied by Joshua R on topic Trying to use tutorial_one

Finally succeeded.

These correct steps can be found here:

github.com/indilib/indi

Thanks all
3 years 8 months ago #56899

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

Time to create page: 1.346 seconds