×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Indi 1.5.0 compilation problem with Goqat

  • Posts: 10
  • Thank you received: 0
Hi
Trying to compile Goqat, I got compilation error :
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.


I've tried tu put CXXFLAGS -std=gnu++11 in the Makefile but it doesn't change anything
Could somedy help me thanks
Denis Decebal UDREA
4 years 3 months ago #18936

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

Have you tried contacting Goqat author?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Decebal UDREA
4 years 3 months ago #18938

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

  • Posts: 10
  • Thank you received: 0
Thanks Yes.
Answer's pending.
Denis Decebal UDREA
4 years 3 months ago #18940

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

  • Posts: 314
  • Thank you received: 94
Wait...
What is your OS?

I do not have any problem in GoQat 2.1.2 compilation with INDI Library: 1.5.0
astronom@ubuntu:~/goqat-2.1.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for ./autogen.sh... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for LIBGOOCANVAS... yes
checking for gdk_seat functions in gdk... no
checking for glib-2.0 >= 2.32... yes
checking for main in -lqsiapi... yes
checking for ReadoutSpeed in QSI library... yes
checking for LIBUSB... yes
checking for libusb_init in -lusb-1.0... yes
checking for libusb_error_name... yes
checking for LIBUDEV... yes
checking for libindi >= 1.4.0... yes
checking for connect in -lindiclient... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for LIBGTHREAD... yes
checking for LIBV4L2... yes
checking for GraceOpenVA in -lgrace_np... yes
checking for pin_init_user in -lparapin... yes
checking for XPAOpen in -lxpa... yes
checking for /usr/include/xpa/xpa.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for std::unique_ptr... no
checking for std::auto_ptr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating data/DemoScript.pl
config.status: creating data/DemoScript.sh
config.status: creating data/Analyse_HFD.pl
config.status: creating data/GoQat_SExtractor.pl
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
You can try my open project Astronomy Linux
The following user(s) said Thank You: Jasem Mutlaq, Decebal UDREA
Last edit: 4 years 3 months ago by Oleg.
4 years 3 months ago #18942

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

  • Posts: 10
  • Thank you received: 0
Thanks Oleg for your answer,

I use Ubuntu 16.04

Like for you the ./configure command doesn't fall in error. See below

Problems are lined to the make command
decebal@Hei-Long:~/softs-Astro/goqat-2.1.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for ./autogen.sh... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for LIBGOOCANVAS... yes
checking for gdk_seat functions in gdk... no
checking for glib-2.0 >= 2.32... yes
checking for main in -lqsiapi... no
configure: ******** No QSI library - compiling without QSI CCD camera support!
checking for ReadoutSpeed in QSI library... no
checking for LIBUSB... yes
checking for libusb_init in -lusb-1.0... yes
checking for libusb_error_name... yes
checking for LIBUDEV... yes
checking for libindi >= 1.4.0... yes
checking for connect in -lindiclient... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for LIBGTHREAD... yes
checking for LIBV4L2... yes
checking for GraceOpenVA in -lgrace_np... no
configure: ******** No grace library - compiling without Grace support!
checking for pin_init_user in -lparapin... no
configure: ******** No parapin library - compiling without parallel port support!
checking for XPAOpen in -lxpa... no
configure: ******** No xpa library - compiling without DS9 support!
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for std::unique_ptr... no
checking for std::auto_ptr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating data/DemoScript.pl
config.status: creating data/DemoScript.sh
config.status: creating data/Analyse_HFD.pl
config.status: creating data/GoQat_SExtractor.pl
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
Denis Decebal UDREA
Last edit: 4 years 3 months ago by Oleg.
4 years 3 months ago #18967

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

  • Posts: 314
  • Thank you received: 94
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
4 years 3 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
4 years 3 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
4 years 3 months ago #18983

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

  • Posts: 314
  • Thank you received: 94
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
4 years 3 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
4 years 2 months ago #19036

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

  • Posts: 314
  • Thank you received: 94

Another solution is Ubuntu Astronomy 16.04 .
You can try my open project Astronomy Linux
The following user(s) said Thank You: Decebal UDREA
4 years 2 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
4 years 2 months ago #19039

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

Time to create page: 0.734 seconds