×

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

Bi-monthly release with minor bug fixes and improvements

Unable to find Drivers

  • Posts: 19
  • Thank you received: 3

Unable to find Drivers was created by Greg

It is me again.

I am continuing to work on my project and have run into an error where I cannot find any drivers when I attempt to connect to a device in my code. I have downloaded and installed to drivers but when I run "client->connectDevice("Atik Horizon")" it results in an error. Is there another package that is needed in the cmake lists file?
4 years 8 months ago #41871

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

  • Posts: 1187
  • Thank you received: 370
Could you please be a little more specific what you try to do and what is not working?

- Wolfgang
4 years 8 months ago #41888

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

  • Posts: 19
  • Thank you received: 3

Replied by Greg on topic Unable to find Drivers

So I am trying to build a client using C++. I successfully built a client that controlled my camera and mount in python but the rest of my project is in C++, thus the change of languages. I am trying now to connect to the server in the code and then connect to the camera and mount; however, when I list the number of devices available it returns 0 and when I try to connect to the camera I get this error: INDI::BaseClient: Error. Unable to find driver Atik Horizon.

Is there another library or directory I need to link to in my CMakeLists file?
4 years 8 months ago #41960

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

  • Posts: 19
  • Thank you received: 3

Replied by Greg on topic Unable to find Drivers

My brain must have been tired on Friday. I forgot to tell the client to look for the devices using the "watchDevice()" command. Including this before attempting to connect to the device solved my issue.
4 years 8 months ago #41968

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

Time to create page: 0.905 seconds