Alan Corey - 2016-10-31

I'm trying to build Piklab 0.16.2 from source under OpenBSD which doesn't do HID the same way as Linux (or at all?). I don't need it anyway. I last built under OpenBSD in 2008 with Piklab 0.14.3, but if I try to build that I seem to hit issues with multiple KDE versions. Newer is probably better, that was just a fallback.

Seems like there might be a simple way to build without HID like something to set in the cmake cache but maybe it wasn't anticipated so it wasn't exposed. I do use Linux at times but prefer OpenBSD.

My error messages:
[ 3%] Built target common
[ 4%] Generating dummy
Forcing svn_revision.h generation
[ 4%] Generating svn_revision.h
[ 4%] Built target generate
[ 7%] Built target global
[ 7%] Building CXX object src/common/port/CMakeFiles/port.dir/port.o
In file included from /usr/src/misc/gpsim/source/piklab/piklab-0.16.2/src/common/port/port.cpp:20:
/usr/src/misc/gpsim/source/piklab/piklab-0.16.2/src/common/port/hid_port.h:51: error: 'hiddev_report_info' does not name a type
/usr/src/misc/gpsim/source/piklab/piklab-0.16.2/src/common/port/hid_port.h:52: error: 'hiddev_report_info' does not name a type
/usr/src/misc/gpsim/source/piklab/piklab-0.16.2/src/common/port/hid_port.h:53: error: 'hiddev_usage_ref_multi' does not name a type
/usr/src/misc/gpsim/source/piklab/piklab-0.16.2/src/common/port/hid_port.h:54: error: 'hiddev_usage_ref_multi' does not name a type
src/common/port/CMakeFiles/port.dir/build.make:77: recipe for target 'src/common/port/CMakeFiles/port.dir/port.o' failed
gmake[2]: *** [src/common/port/CMakeFiles/port.dir/port.o] Error 1
CMakeFiles/Makefile2:322: recipe for target 'src/common/port/CMakeFiles/port.dir/all' failed
gmake[1]: *** [src/common/port/CMakeFiles/port.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
gmake: *** [all] Error 2

And a grumble for Sourceforge, not only is this page very bloated but I'm trying to enter my post into a box that's 183 x 57 pixels.