×

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

Bi-monthly release with minor bug fixes and improvements

Macos indilib XML problem

  • Posts: 2
  • Thank you received: 0
Hi,

I am on MacOS 10.13.6. I have downloaded the indilib source via github 2 days ago. Using cmake and make, I encountered one error and had to change the file "deepskydad_fr1.cpp" (drivers/rotator). Here, a typecast was needed in line 280: the function "abs" is used here and the compiler reports "ambiguity" problem. Solved by inserting a typecast to "long". However, running the client example gave errors: I started the indiserver with tutorial three CCD simulator and then ran the tutorial_client. It gave me the following output (from the client):
INDI::BaseClient::connectServer: Already connected.
Press any key to terminate the client.
And output from the server:

2021-12-20T11:55:54: Client 0: XML error: Line 1: Bogus leading attr name char: 1
2021-12-20T11:55:54: Client 0: XML read: <getProperties version='1.7'CCD Simulator device=''>

I guess that I must be doing something wrong and hope that someone in this forum can help :)

EDIT:

commenting out the following line in “tutorial_client.cpp” eliminates the problem:

camera_client->setBLOBMode(B_ALSO, MYCCD, nullptr);

Any thoughts?

 
Last edit: 2 years 3 months ago by John.
2 years 3 months ago #78721

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

Time to create page: 0.362 seconds