Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultdevice.h #5

Open
pj-camp opened this issue Feb 1, 2023 · 4 comments
Open

defaultdevice.h #5

pj-camp opened this issue Feb 1, 2023 · 4 comments

Comments

@pj-camp
Copy link

pj-camp commented Feb 1, 2023

Understand I have limited knowledge of makefiles in general. Ran Cmake. Seemed to work. Then ran make and received the error message "defaultdevice.h no such file or directory." This is following a full install of INDI (which is supposed to contain this driver in the first place but does not). So if defaultdevice.h is not part of INDI and also not part of this package, something seems to be missing.

@pj-camp
Copy link
Author

pj-camp commented Feb 14, 2023

Here is the correct answer. In addition to indi-bin, you must also install libindi-dev. That is where all the 26 missing header files are. That would be a nice thing to add to the readme since that library is not installed with INDI by default. I spent an unnecessary amount of time over the past two weeks figuring it out.

The driver gets made in whatever folder you've been working in. That isn't where it needs to be. You have to sudo copy it to /usr/bin. You also have to go to /usr/share/indi and create an appropriate xml file. Easiest to just edit an existing one, replacing everything that looks like it should be indi_ardust, and then save as indiardust4.xml.

This is all obvious to programmers and LInux geeks but for people who just want to get some observing done, it is pretty annoying.

@Agwising
Copy link

hi! can you show me an example of the xml file? thank you!

@pj-camp
Copy link
Author

pj-camp commented Feb 18, 2023

Sure! This is what I used.

indi_ardust4 0.1

@Agwising
Copy link

That's the only line? Sorry I'm not familiar so much with programming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants