#317 Piklab compilation error under Mac OS X

closed-fixed
nobody
5
2014-08-18
2012-12-12
Alexey Grachov
No

Can't compile.

$ make
[ 0%] Generating synchronous.moc
[ 1%] Generating storage.moc
Scanning dependencies of target common
[ 1%] Building CXX object src/common/common/CMakeFiles/common.dir/args.o
[ 1%] Building CXX object src/common/common/CMakeFiles/common.dir/bitvalue.o
[ 2%] Building CXX object src/common/common/CMakeFiles/common.dir/group.o
[ 2%] Building CXX object src/common/common/CMakeFiles/common.dir/misc.o
[ 2%] Building CXX object src/common/common/CMakeFiles/common.dir/number.o
[ 2%] Building CXX object src/common/common/CMakeFiles/common.dir/purl_base.o
[ 2%] Building CXX object src/common/common/CMakeFiles/common.dir/storage.o
[ 3%] Building CXX object src/common/common/CMakeFiles/common.dir/synchronous.o
[ 3%] Building CXX object src/common/common/CMakeFiles/common.dir/version_data.o
Linking CXX static library ../../../lib/libcommon.a
[ 3%] Built target common
Scanning dependencies of target generate
[ 4%] Generating dummy
Forcing svn_revision.h generation
[ 4%] Generating svn_revision.h
[ 4%] Built target generate
[ 4%] Generating process_kde.moc
[ 4%] Generating process.moc
[ 5%] Generating progress_monitor.moc
[ 5%] Generating purl.moc
Scanning dependencies of target global
[ 5%] Building CXX object src/common/global/CMakeFiles/global.dir/about.o
[ 5%] Building CXX object src/common/global/CMakeFiles/global.dir/generic_config.o
[ 6%] Building CXX object src/common/global/CMakeFiles/global.dir/log.o
[ 6%] Building CXX object src/common/global/CMakeFiles/global.dir/pfile.o
/usr/include/c++/4.2.1/memory: In destructor ‘std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = QNetworkReply]’:
/Users/alexey/piklab-0.16.2/src/common/global/purl.h:38: instantiated from ‘std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = PURL::NetAccess]’
/Users/alexey/piklab-0.16.2/src/common/global/pfile.cpp:129: instantiated from here
/usr/include/c++/4.2.1/memory:259: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
[ 6%] Building CXX object src/common/global/CMakeFiles/global.dir/process.o
[ 6%] Building CXX object src/common/global/CMakeFiles/global.dir/progress_monitor.o
[ 6%] Building CXX object src/common/global/CMakeFiles/global.dir/purl.o
[ 7%] Building CXX object src/common/global/CMakeFiles/global.dir/xml_data_file.o
[ 7%] Building CXX object src/common/global/CMakeFiles/global.dir/process_kde.o
Linking CXX static library ../../../lib/libglobal.a
[ 7%] Built target global
Scanning dependencies of target port
[ 7%] Building CXX object src/common/port/CMakeFiles/port.dir/parallel.o
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:36: warning: unused parameter ‘device’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:199: warning: unused parameter ‘pin’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:199: warning: unused parameter ‘on’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:199: warning: unused parameter ‘type’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:220: warning: unused parameter ‘pin’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:220: warning: unused parameter ‘type’
/Users/alexey/piklab-0.16.2/src/common/port/parallel.cpp:220: warning: unused parameter ‘value’
[ 7%] Building CXX object src/common/port/CMakeFiles/port.dir/port.o
In file included from /Users/alexey/piklab-0.16.2/src/common/port/port.cpp:20:
/Users/alexey/piklab-0.16.2/src/common/port/hid_port.h:15:28: error: linux/hiddev.h: No such file or directory
In file included from /Users/alexey/piklab-0.16.2/src/common/port/port.cpp:20:
/Users/alexey/piklab-0.16.2/src/common/port/hid_port.h:51: error: ‘hiddev_report_info’ does not name a type
/Users/alexey/piklab-0.16.2/src/common/port/hid_port.h:52: error: ‘hiddev_report_info’ does not name a type
/Users/alexey/piklab-0.16.2/src/common/port/hid_port.h:53: error: ‘hiddev_usage_ref_multi’ does not name a type
/Users/alexey/piklab-0.16.2/src/common/port/hid_port.h:54: error: ‘hiddev_usage_ref_multi’ does not name a type
make[2]: *** [src/common/port/CMakeFiles/port.dir/port.o] Error 1
make[1]: *** [src/common/port/CMakeFiles/port.dir/all] Error 2
make: *** [all] Error 2

Discussion

  • Alexey Grachov
    Alexey Grachov
    2012-12-14

    Is it possible to exclude any usb support for Mac OS?

     
  • Alexey Grachov
    Alexey Grachov
    2013-02-05

    • status: open --> closed-fixed