RFC: remove FOX based testgui #284

Closed
opened 2021-06-15 09:08:20 -05:00 by mcuee · 6 comments
mcuee commented 2021-06-15 09:08:20 -05:00 (Migrated from github.com)

I think the Fox based testgui is not worth maintaining.

I think the Fox based testgui is not worth maintaining.
mcuee commented 2021-06-15 09:15:30 -05:00 (Migrated from github.com)

We can point users to hidapitester and hidpytoy.

hidapitester command line tool
https://github.com/todbot/hidapitester

hidpytoy: GUI
https://github.com/todbot/hidpytoy

We can point users to hidapitester and hidpytoy. hidapitester command line tool https://github.com/todbot/hidapitester hidpytoy: GUI https://github.com/todbot/hidpytoy
Youw commented 2021-06-15 11:14:04 -05:00 (Migrated from github.com)
> I think the Fox based testgui is not worth maintaining. https://github.com/libusb/hidapi/pull/220/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R62
mcuee commented 2021-06-15 20:45:32 -05:00 (Migrated from github.com)

@Youw Great. I am not a fan of auto-tools and I think CMake will be a bit better for HIDAPI (but I know libusb project rejected CMake ideas since auto-tools works fine)

@Youw Great. I am not a fan of auto-tools and I think CMake will be a bit better for HIDAPI (but I know libusb project rejected CMake ideas since auto-tools works fine)
Youw commented 2021-06-16 07:45:13 -05:00 (Migrated from github.com)

(but I know libusb project rejected CMake ideas since auto-tools works fine)

Yeah, "If it is not broke, don’t fix it" - has its pros and cons

> (but I know libusb project rejected CMake ideas since auto-tools works fine) Yeah, "If it is not broke, don’t fix it" - has its pros and cons
mcuee commented 2021-07-13 02:38:59 -05:00 (Migrated from github.com)

Close this since the latest README already mentioned that Test GUI is not actively being developed.

Close this since the latest README already mentioned that Test GUI is not actively being developed.
mcuee commented 2026-04-25 03:45:57 -05:00 (Migrated from github.com)

Interestingly TestGUI can still be built under the latest Ubuntu 26.04 once I install the dependency.

sudo apt install libfox-1.6-dev

Full build log.

mcuee  …/hidapi   master     v15.2.0  16:29  ./bootstrap 
+ autoreconf --install --verbose --force
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:20: installing './compile'
configure.ac:18: installing './missing'
hidtest/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'


mcuee  …/hidapi   master ?  16:30  mkdir build_autotools_gui

mcuee  …/hidapi   master ?  16:30  cd build_autotools_gui/
./  ../


mcuee  …/hidapi/build_autotools_gui   master ?  16:32  ../configure --enable-testgui   
This build script for HIDAPI is deprecated.
Consider using CMake instead.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/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 xargs -n works... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking operating system... x86_64-pc-linux-gnu
 (Linux back-end)
checking for libudev... yes
checking for clock_gettime in -lrt... yes
checking for libusb... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for fox... no
checking for fox... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating pc/hidapi-hidraw.pc
config.status: creating pc/hidapi-libusb.pc
config.status: creating Makefile
config.status: creating hidtest/Makefile
config.status: creating libusb/Makefile
config.status: creating linux/Makefile
config.status: creating mac/Makefile
config.status: creating testgui/Makefile
config.status: creating windows/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

mcuee  …/hidapi/build_autotools_gui   master ?    v15.2.0  16:32  make
make  all-recursive
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
Making all in linux
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
  CC       hid.lo
  CCLD     libhidapi-hidraw.la
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
Making all in libusb
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
  CC       hid.lo
  CCLD     libhidapi-libusb.la
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
Making all in hidtest
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
  CC       test.o
  CCLD     hidtest-libusb
  CCLD     hidtest-hidraw
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
Making all in testgui
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
  CXX      test.o
  CXXLD    hidapi-hidraw-testgui
  CXXLD    hidapi-libusb-testgui
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'

mcuee  …/hidapi/build_autotools_gui   master ?    v15.2.0  16:44  sudo make install
Making install in linux
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libhidapi-hidraw.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.so.0.0.0 /usr/local/lib/libhidapi-hidraw.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0 || { rm -f libhidapi-hidraw.so.0 && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so || { rm -f libhidapi-hidraw.so && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so; }; })
libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.lai /usr/local/lib/libhidapi-hidraw.la
libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.a /usr/local/lib/libhidapi-hidraw.a
libtool: install: chmod 644 /usr/local/lib/libhidapi-hidraw.a
libtool: install: ranlib /usr/local/lib/libhidapi-hidraw.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include/hidapi'
 /usr/bin/install -c -m 644 ../../hidapi/hidapi.h '/usr/local/include/hidapi'
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux'
Making install in libusb
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libhidapi-libusb.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.so.0.0.0 /usr/local/lib/libhidapi-libusb.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0 || { rm -f libhidapi-libusb.so.0 && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so || { rm -f libhidapi-libusb.so && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so; }; })
libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.lai /usr/local/lib/libhidapi-libusb.la
libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.a /usr/local/lib/libhidapi-libusb.a
libtool: install: chmod 644 /usr/local/lib/libhidapi-libusb.a
libtool: install: ranlib /usr/local/lib/libhidapi-libusb.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include/hidapi'
 /usr/bin/install -c -m 644 ../../hidapi/hidapi.h ../../libusb/hidapi_libusb.h '/usr/local/include/hidapi'
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb'
Making install in hidtest
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest'
Making install in testgui
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c hidapi-hidraw-testgui hidapi-libusb-testgui '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/hidapi-hidraw-testgui /usr/local/bin/hidapi-hidraw-testgui
libtool: install: /usr/bin/install -c .libs/hidapi-libusb-testgui /usr/local/bin/hidapi-libusb-testgui
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui'
make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/share/doc/hidapi'
 /usr/bin/install -c -m 644 ../README.md ../AUTHORS.txt ../LICENSE-bsd.txt ../LICENSE-gpl3.txt ../LICENSE-orig.txt ../LICENSE.txt '/usr/local/share/doc/hidapi'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 pc/hidapi-hidraw.pc pc/hidapi-libusb.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui'
Interestingly TestGUI can still be built under the latest Ubuntu 26.04 once I install the dependency. ``` sudo apt install libfox-1.6-dev ``` Full build log. ``` mcuee  …/hidapi   master   v15.2.0  16:29  ./bootstrap + autoreconf --install --verbose --force autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing './compile' configure.ac:18: installing './missing' hidtest/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' mcuee  …/hidapi   master ?  16:30  mkdir build_autotools_gui mcuee  …/hidapi   master ?  16:30  cd build_autotools_gui/ ./ ../ mcuee  …/hidapi/build_autotools_gui   master ?  16:32  ../configure --enable-testgui This build script for HIDAPI is deprecated. Consider using CMake instead. checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/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 xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ranlib... ranlib checking for archiver @FILE support... @ checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... gcc checking whether the compiler supports GNU Objective C... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking operating system... x86_64-pc-linux-gnu (Linux back-end) checking for libudev... yes checking for clock_gettime in -lrt... yes checking for libusb... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for fox... no checking for fox... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating pc/hidapi-hidraw.pc config.status: creating pc/hidapi-libusb.pc config.status: creating Makefile config.status: creating hidtest/Makefile config.status: creating libusb/Makefile config.status: creating linux/Makefile config.status: creating mac/Makefile config.status: creating testgui/Makefile config.status: creating windows/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands mcuee  …/hidapi/build_autotools_gui   master ?   v15.2.0  16:32  make make all-recursive make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' Making all in linux make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' CC hid.lo CCLD libhidapi-hidraw.la make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' Making all in libusb make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' CC hid.lo CCLD libhidapi-libusb.la make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' Making all in hidtest make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' CC test.o CCLD hidtest-libusb CCLD hidtest-hidraw make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' Making all in testgui make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' CXX test.o CXXLD hidapi-hidraw-testgui CXXLD hidapi-libusb-testgui make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' mcuee  …/hidapi/build_autotools_gui   master ?   v15.2.0  16:44  sudo make install Making install in linux make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libhidapi-hidraw.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.so.0.0.0 /usr/local/lib/libhidapi-hidraw.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0 || { rm -f libhidapi-hidraw.so.0 && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so || { rm -f libhidapi-hidraw.so && ln -s libhidapi-hidraw.so.0.0.0 libhidapi-hidraw.so; }; }) libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.lai /usr/local/lib/libhidapi-hidraw.la libtool: install: /usr/bin/install -c .libs/libhidapi-hidraw.a /usr/local/lib/libhidapi-hidraw.a libtool: install: chmod 644 /usr/local/lib/libhidapi-hidraw.a libtool: install: ranlib /usr/local/lib/libhidapi-hidraw.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/mkdir -p '/usr/local/include/hidapi' /usr/bin/install -c -m 644 ../../hidapi/hidapi.h '/usr/local/include/hidapi' make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/linux' Making install in libusb make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libhidapi-libusb.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.so.0.0.0 /usr/local/lib/libhidapi-libusb.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0 || { rm -f libhidapi-libusb.so.0 && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libhidapi-libusb.so.0.0.0 libhidapi-libusb.so || { rm -f libhidapi-libusb.so && ln -s libhidapi-libusb.so.0.0.0 libhidapi-libusb.so; }; }) libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.lai /usr/local/lib/libhidapi-libusb.la libtool: install: /usr/bin/install -c .libs/libhidapi-libusb.a /usr/local/lib/libhidapi-libusb.a libtool: install: chmod 644 /usr/local/lib/libhidapi-libusb.a libtool: install: ranlib /usr/local/lib/libhidapi-libusb.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/mkdir -p '/usr/local/include/hidapi' /usr/bin/install -c -m 644 ../../hidapi/hidapi.h ../../libusb/hidapi_libusb.h '/usr/local/include/hidapi' make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/libusb' Making install in hidtest make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/hidtest' Making install in testgui make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' /usr/bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c hidapi-hidraw-testgui hidapi-libusb-testgui '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/hidapi-hidraw-testgui /usr/local/bin/hidapi-hidraw-testgui libtool: install: /usr/bin/install -c .libs/hidapi-libusb-testgui /usr/local/bin/hidapi-libusb-testgui make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui/testgui' make[1]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' make[2]: Entering directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/share/doc/hidapi' /usr/bin/install -c -m 644 ../README.md ../AUTHORS.txt ../LICENSE-bsd.txt ../LICENSE-gpl3.txt ../LICENSE-orig.txt ../LICENSE.txt '/usr/local/share/doc/hidapi' /usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 pc/hidapi-hidraw.pc pc/hidapi-libusb.pc '/usr/local/lib/pkgconfig' make[2]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' make[1]: Leaving directory '/home/mcuee/build/libusb/hidapi/build_autotools_gui' ```
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libusb/hidapi#284
No description provided.