×
INDI Library v1.8.4 Released

Minor bugfix release with some highlights:

How can I modify a driver?

8 months 2 weeks ago
pch
Gold Boarder
Gold Boarder
Posts: 182
Karma: 2
More
How can I modify a driver? #40990
Please remove this /usr/bin/cmake directory.

Then follow carefully all the steps in this page:
www.indilib.org/develop/developer-manual...ent-environment.html

cmake is installed part of the pre-requisit:
sudo apt-get install libnova-dev libcfitsio3-dev libusb-1.0-0-dev zlib1g-dev libgsl0-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev kdesudo

And do not not copy files around, just follow the instruction.

Make sure the procedure to build and install Indi work, then edit the file you want and run "make install" again, this compile only the modified file and install the modified version ready for use.

The following user(s) said Thank You Doug6952

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

8 months 2 weeks ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1308
Karma: 7
More
How can I modify a driver? #40999
You need to install the build-essentials package in order to have cmake available on your machine. Have a look at the links that Patrick put in his comment #40961 which explain all that.

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
The following user(s) said Thank You Doug6952

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

8 months 2 weeks ago
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41001
libcfitsio3-dev was not available and libcfitsio- dev was what I could install. kdesudo was also not available.
I did install build-essentials.

On that page there are a lot of steps missing.

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

8 months 2 weeks ago
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41003
There was something else in the prerequisite list that ubuntu changed to a different name on it's own while it was installing.

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

8 months 2 weeks ago
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41004
Success!

I had to jump through some hoops to get kdesudo and libcfitsio3-dev installed. Still ran into some roadblocks and had to install other missing bits and then it worked and my mount moved in the right direction.
Now I have to do it again on the stellarmate where the driver is run from.

Thanks for your help!

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

8 months 2 weeks ago
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41010
Ran into more roadblocks trying to do this on stellarmate. There is no kdesudo available. I downloaded kdesudo.deb package for arm64, but when I tried to install it with GDebi installer I got an error message: "Error: Wrong architecture 'arm64' -- Run dpkg --add-architecture to add it and update afterwards"

I thought Rpi was arm64 architecture?

How can I get the modified driver to stellarmate?

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

8 months 2 weeks ago 8 months 2 weeks ago by Doug6952.
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41011
Here are 2 log files that were created when I ran the cmake command. one is an error log and the other is and output log.
Attachments:

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

8 months 2 weeks ago
Doug6952
Junior Boarder
Junior Boarder
Posts: 31
More
Topic Author
How can I modify a driver? #41058
Got kdesudo installed on the rpi using the armhf version. ran the cmake command again and it failed. Made sure I had all required programs installed. Still failed. Looked over the error log and output log (made no sense to me). Decided to start over by deleting the build folder and then running the commands from creating the build directory.

It worked!!! :woohoo:

Thanks for all your help!

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

8 months 2 weeks ago
pch
Gold Boarder
Gold Boarder
Posts: 182
Karma: 2
More
How can I modify a driver? #41065
Good!

Sorry to not reply to your last question but I am traveling and not always connected.
To clarify some points:
- RPi3 is 64bit hardware but most operating system are still 32bit so you need armhf packages.
- always delete the build directory if you want to start clean, otherwise cmake keep cache of previous files and not see the change in the environment.

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

Time to create page: 1.001 seconds