×

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

Bi-monthly release with minor bug fixes and improvements

Roll_off startup crash

  • Posts: 315
  • Thank you received: 42

Replied by wotalota on topic Roll_off startup crash

That should have fixed it. It looks like you deleted the // comment indicator in front of the "Initiate" line
Perhaps you did not execute the git command to fetch the changed code?
You could start over.

To build the rolloffino roof driver, the INDI 3rdparty driver build files are needed. To obtain them see the directions in section 3 of the following web page, up to and including the git clone command.

In addition to the libraries listed in section 3, install libindi-dev

indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html.

Following on from the example of using ~/Projects as the work area in the above directions.
cd ~/Projects/indi-3rdparty
git clone github.com/wotalota/indi-rolloffino.git
mkdir indi-rolloffino/build
cd indi-rolloffino/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
sudo make install

Example:
tg@tbreak:indi-3rdparty$ git clone github.com/wotalota/indi-rolloffino.git
Cloning into 'indi-rolloffino'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 64 (delta 31), reused 32 (delta 14), pack-reused 0
Unpacking objects: 100% (64/64), 35.46 KiB | 1.69 MiB/s, done.
tg@tbreak:indi-3rdparty$ mkdir indi-rolloffino/build
tg@tbreak:indi-3rdparty$ cd indi-rolloffino/build

tg@tbreak:build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- 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 INDI: /usr/local/lib/libindidriver.so;/usr/local/lib/libindiAlignmentDriver.so (found version "1.8.6")
-- Found NOVA: /usr/lib/x86_64-linux-gnu/libnova.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /wrk/dev/indi-3rdparty/indi-rolloffino/build

tg@tbreak:build$ make -j4
Scanning dependencies of target indi_rolloffino
[ 50%] Building CXX object CMakeFiles/indi_rolloffino.dir/rolloffino.cpp.o
[100%] Linking CXX executable indi_rolloffino
[100%] Built target indi_rolloffino

tg@tbreak:build$ sudo make install
[sudo] password for tg:
[100%] Built target indi_rolloffino
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/bin/indi_rolloffino
-- Set runtime path of "/usr/bin/indi_rolloffino" to ""
-- Installing: /usr/local/share/indi/indi_rolloffino.xml
tg@tbreak:build$
Last edit: 3 years 8 months ago by wotalota.
3 years 8 months ago #57583

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

Hello
So I'm going to try tomorrow, because I'm not at home, your solution, because indeed I may have put the old version.
3 years 8 months ago #57586

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

I'm having a problem with this command line.
<code>christophe@MiniPc:~$ cd ~/Projects/indi-3rdparty
christophe@MiniPc:~/Projects/indi-3rdparty$ git clone github.com/wotalota/indi-rolloffino.git
fatal: le dépôt 'github.com/wotalota/indi-rolloffino.git' n'existe pas
christophe@MiniPc:~/Projects/indi-3rdparty$

</code>
Last edit: 3 years 8 months ago by Porchet.
3 years 8 months ago #57846

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

  • Posts: 554
  • Thank you received: 138
Pretty obvious, incorrect URL.

chris@AstroPi:~/Projects/indi-3rdparty $ git clone github.com/wotalota/indi-rolloffino.git
Cloning into 'indi-rolloffino'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 64 (delta 31), reused 32 (delta 14), pack-reused 0
Unpacking objects: 100% (64/64), done.
3 years 8 months ago #57847

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

I have the same problem as before.
christophe@MiniPc:~/Projects/indi-3rdparty$ git clone github.com/wotalota/indi-rolloffino.git
fatal: le dépôt 'github.com/wotalota/indi-rolloffino.git' n'existe pas
christophe@MiniPc:~/Projects/indi-3rdparty$
3 years 8 months ago #57849

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

  • Posts: 554
  • Thank you received: 138
For the same reason.
3 years 8 months ago #57851

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

  • Posts: 554
  • Thank you received: 138
Part of the problem is that what I posted got changed in the forum software.

This is what I wanted to post:
chris@AstroPi:~/Projects/indi-3rdparty $ git clone https://github.com/wotalota/indi-rolloffino.git
Cloning into 'indi-rolloffino'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 64 (delta 31), reused 32 (delta 14), pack-reused 0

The important thing is the that the github address starts with "https://" This is important, it is why it isn't working for you. If you leave this out it won't work.
It is useful to go to the github repositiory on the web, it is possible to copy the web address from the repository there.
3 years 8 months ago #57852

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

Okay, thanks. I've moved on. Now I've got this.
[code]christophe@MiniPc:~/Projects/indi-3rdparty/indi-rolloffino/build$ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
bash: -DCMAKE_INSTALL_PREFIX=/usr: Aucun fichier ou dossier de ce type
christophe@MiniPc:~/Projects/indi-3rdparty/indi-rolloffino/build$
/code]
What file should I have that's visibly missing?
3 years 8 months ago #57853

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

  • Posts: 294
  • Thank you received: 54
You are missing the cmake command before -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../

It should be:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
3 years 8 months ago #57854

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

  • Posts: 554
  • Thank you received: 138
Porchet,
What's happening is that you are making a series of trivial mistakes in the precise form of the commands that you are using. All these commands are described correctly in the INSTALL file that is part of the indi-rollofino project.

Each time this happens your first action is to post asking for help.
You could resolve these things yourself by comparing your commands with the commands in the INSTALL file. Transcription errors are one of the most frequent reasons for things not to work. It's much more satisfying to resolve these things for yourself.
3 years 8 months ago #57857

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

Yes, it is,
whenever I do things with Linux, I'm never really sure what I'm doing.
Besides I find it's complicated for a novice to make a lexicon of each command, because each time there's a trick to know, besides English is not my language.

Anyway, anyway,
The thing is, originally when I installed the driver with Tom, I'm absolutely not made that way.
Because I created a folder on the desktop where I installed the driver.
So what I should have done was copy the driver file that's in indi-3dparty and replace it with the one that's in my file.
And then reinstall it like I did the first time.
Because that way I remember the procedure.
But as I say, I'm never on command lines under Linux.
K
Translated with www.DeepL.com/Translator (free version)
3 years 8 months ago #57862

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Roll_off startup crash

so I got to do the procedure.
But I can't connect the arduino to Kstars.

Last edit: 3 years 8 months ago by Porchet.
3 years 8 months ago #57868
Attachments:

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

Time to create page: 0.984 seconds