×

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

Bi-monthly release with minor bug fixes and improvements

Indi 1.5.0 compilation problem with Goqat

  • Posts: 314
  • Thank you received: 95
You have to install these:
sudo apt install gawk grace
You can try my open project Astronomy Linux
The following user(s) said Thank You: Decebal UDREA
6 years 7 months ago #18979

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

  • Posts: 10
  • Thank you received: 0
Thanks. Not really sure I need Grace... But I did it however.
Same results error from indiclient.cpp

"indi_client.cpp
In file included from /usr/include/c++/5/thread:35:0,
from /usr/include/libindi/baseclient.h:27,
from indi_client.cpp:36:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \"
Denis Decebal UDREA
6 years 7 months ago #18982

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

  • Posts: 10
  • Thank you received: 0
After some web exploration I succeed to put an compiler's option like CCCFLAGS=-std=cxx11
This options works and the preceding error has disappeared.

But ther's another one now : "cannot convert 'std::__cxx11::string{aka std::__cxx_string<char>} to 'const char*' for.......
After exploring the net I founded that problem seems linked to an incompatibility with .... CXX11 option !
It's quite embarrassing... For one part I need this option for the other it's incompatible !
Denis Decebal UDREA
6 years 7 months ago #18983

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

  • Posts: 314
  • Thank you received: 95
Hmm...
My OS based on Ubuntu 16.04.3 (64-bit), but I do not have similar problem.
You can try my open project Astronomy Linux
6 years 7 months ago #18985

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

  • Posts: 10
  • Thank you received: 0
Hi
Goquat Author thinks there's a retro-compatibility problem with indi version 1.5.0. He's yet looking...

I should like try to use the indi version 1.4.0 But cannot install it ! There's a broken packet with the + libgsl0-dev dependency

Have I to compile source of 1.4.0 or does some another solution exists ?
Denis Decebal UDREA
6 years 7 months ago #19036

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

  • Posts: 314
  • Thank you received: 95

Another solution is Ubuntu Astronomy 16.04 .
You can try my open project Astronomy Linux
The following user(s) said Thank You: Decebal UDREA
6 years 7 months ago #19038

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

  • Posts: 10
  • Thank you received: 0
Thanks Oleg. Will try that
Denis Decebal UDREA
6 years 7 months ago #19039

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

  • Posts: 10
  • Thank you received: 0
I've tried Ubuntu Astronomy. Nice ! but most of capture programs doesn't recognize my DMK21 and the one I wanted since the beginning is GoQat .

Goqat is present in this distribution, but say :

"Error when loading shared libraries libindi.so.1: cannot open shared object file: no such file or directory"

Quite vexing isn't :-(

And I can't get this file cause I'm connected with a guest account, given the fact I don't know password of "astronom" user
Denis Decebal UDREA
6 years 7 months ago #19072

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

Ok, so I took a look at it. In Makefile.am, after bin_PROGRAMS = GoQat, add this:
AM_CXXFLAGS = -std=gnu++11

Then in indiclient.cpp, go to the end of the file, replace function newMessage with this:
void INDIClient::newMessage (INDI::BaseDevice *dp, int messageID)
{
	/* Display a message from the indi server */
	indi_new_message (dp->messageQueue (messageID).c_str ());
}

I was missing few dependencies as well, so I ran this:
sudo apt-get install libudev-dev automake

Then simply run ./configure --prefix=/usr

then make and make install. I tested it with latest INDI and it works.
The following user(s) said Thank You: nMAC, Decebal UDREA
Last edit: 6 years 7 months ago by Jasem Mutlaq.
6 years 7 months ago #19073

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

  • Posts: 10
  • Thank you received: 0
Thanks,

I'll try that in a few day : I've a little travel now..
Denis Decebal UDREA
6 years 7 months ago #19082

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

  • Posts: 486
  • Thank you received: 87
I have been playing around with GoQat too and, just to confirm, compiled it with Jasem instructions and it worked fine.
The following user(s) said Thank You: Decebal UDREA
6 years 7 months ago #19088

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

  • Posts: 314
  • Thank you received: 95

Default password is: 12341234
Run in Terminal:
sudo apt update
sudo apt upgrade
wget http://canburytech.net/GoQat/download/goqat-2.1.2.tar.gz
tar xzvf goqat-2.1.2.tar.gz
cd goqat-2.1.2
./configure
make
sudo make install
You can try my open project Astronomy Linux
The following user(s) said Thank You: Decebal UDREA
Last edit: 6 years 7 months ago by Oleg.
6 years 7 months ago #19090
Attachments:

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

Time to create page: 1.022 seconds