Hello,
I'm trying to build the last version of libsigrok for support to Hantek
6022BL oscilloscope. I'm running Manjaro and the error shows up either
using Pamac or building the git locally on the terminal. Pamac doesn't
show history from the beginning, the extracts here are from the local
build terminal which might not have the same config as the Manjaro
repository. Anyway, the errors are the same.
GEN bindings/ruby/doc.i
GEN bindings/ruby/classes_wrap.cpp
CXX bindings/ruby/classes_wrap.o
In file included from /usr/include/c++/5.3.0/type_traits:35:0,
from /usr/include/sigc++-2.0/sigc++/visit_each.h:22,
from /usr/include/sigc++-2.0/sigc++/functors/slot.h:6,
from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
from /usr/include/sigc++-2.0/sigc++/signal.h:8,
from /usr/include/sigc++-2.0/sigc++/sigc++.h:104,
from /usr/include/glibmm-2.4/glibmm/thread.h:50,
from /usr/include/glibmm-2.4/glibmm.h:89,
from bindings/ruby/classes_wrap.cpp:2011:
/usr/include/c++/5.3.0/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 \
^
In file included from /usr/include/glibmm-2.4/glibmm/exception.h:25:0,
from /usr/include/glibmm-2.4/glibmm/error.h:23,
from /usr/include/glibmm-2.4/glibmm/thread.h:48,
from /usr/include/glibmm-2.4/glibmm.h:89,
from bindings/ruby/classes_wrap.cpp:2011:
/usr/include/glibmm-2.4/glibmm/ustring.h:102:9: error: expected
nested-name-specifier before ‘iterator_category’
using iterator_category = std::bidirectional_iterator_tag;
This is followed by an immense series of errors which I presume to be a
consequence of the first. The compiler supports c++11 and the flag is
activated.
libsigrok configuration summary:
- Package version................. 0.5.0
- Library ABI version............. 3:0:0
- Prefix.......................... /usr/local
- Building on..................... x86_64-unknown-linux-gnu
- Building for.................... x86_64-unknown-linux-gnu
Compile configuration:
- C compiler...................... gcc
- C compiler version.............. gcc (GCC) 5.3.0
- C compiler flags................ -g -O2
- Additional C compiler flags..... -std=c99 -fvisibility=hidden
- C compiler warnings............. -Wall -Wextra -Wmissing-prototypes
- C++ compiler.................... g++
- C++ compiler version............ g++ (GCC) 5.3.0
- C++ compiler flags.............. -g -O2 -std=c++11
- C++ compiler warnings........... -Wall -Wextra
Detected libraries (required):
- glib-2.0 >= 2.32.0.............. 2.48.0
- libzip >= 0.10.................. 1.1.2
Detected libraries (optional):
- libserialport >= 0.1.1.......... 0.1.1
- libftdi1 >= 1.0................. 1.2
- libusb-1.0 >= 1.0.16............ 1.0.20
- librevisa >= 0.0.20130412....... no
- libgpib......................... no
- libieee1284..................... yes
- check >= 0.9.4.................. 0.10.0
- glibmm-2.4 >= 2.32.0............ 2.48.1
- python = 3.5.................... no
- python3 = 3.5................... 3.5
- pygobject-3.0 >= 3.0.0.......... 3.20.0
- ruby............................ no
- ruby-2.3........................ 2.3.0
Will somebody please help? I don't have a windows machine to operate the
scope and it doesn't like a virtual machine, doesn't trigger.
TIA,
jss
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel