<\/a><\/figure>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u30d3\u30eb\u30c9\u3092\u8a66\u3059\u3082\u3001libsigrok \u306emake \u3067\u5931\u6557\u3002\u4ee5\u4e0b\u6b21\u56de\u518d\u958b\u3059\u308b\u3068\u304d\u306e\u30e1\u30e2\u3002<\/p>\n\n\n\n
\u30fbBuilding manually\nhttp:\/\/sigrok.org\/wiki\/Mac_OS_X\n\n\u2605Install MacPorts,\n\u2605Install Qt, download qt-mac-opensource-4.7.4.dmg\n\u2605\u4ee5\u4e0b\u5fc5\u9808\n\n$ sudo port install boost libusb libzip libftdi0\n$ sudo port install autoconf automake cmake glib2 python33 libtool pkgconfig\n$ export PKG_CONFIG_PATH=\/usr\/local\/lib\/pkgconfig\/\n\n---------------------\nlibserialport --> OK\nlibsigrok --> NG\nlibsigrokdecode --> OK\nsigrok-cli --> NG (libsigrok\u5fc5\u9808)\nPulseView --> NG (libsigrokcxx>=0.4.0 \u5fc5\u9808)\n---------------------\n\n\u25bclibserialport\n$ git clone git:\/\/sigrok.org\/libserialport\n$ cd libserialport\n$ .\/autogen.sh\n$ .\/configure\n$ make\n$ sudo make install\n\n\u2605OK\n\n HOPE:libserialport junkhack$ make\n \/Applications\/Xcode.app\/Contents\/Developer\/usr\/bin\/make all-am\n CC serialport.lo\n CC macosx.lo\n CCLD libserialport.la\n HOPE:libserialport junkhack$ \n HOPE:libserialport junkhack$ sudo make install\n Password:\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/lib'\n \/bin\/sh .\/libtool --silent --mode=install \/usr\/local\/bin\/ginstall -c libserialport.la '\/usr\/local\/lib'\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/include'\n \/usr\/local\/bin\/ginstall -c -m 644 libserialport.h '\/usr\/local\/include'\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/lib\/pkgconfig'\n \/usr\/local\/bin\/ginstall -c -m 644 libserialport.pc '\/usr\/local\/lib\/pkgconfig'\n HOPE:libserialport junkhack$\n\n\u25bclibsigrok\n$ git clone git:\/\/sigrok.org\/libsigrok\n$ cd libsigrok\n$ .\/autogen.sh\n$ .\/configure\n$ make\u2605\u3053\u3051\u308b\u3002\u3053\u308c\u304c\u5165\u3089\u306a\u3044\u3068\u9032\u307e\u306a\u3044\u3002\n$ sudo make install\n\n libsigrok configuration summary:\n - Package version................. 0.4.0-git-17124cf\n - Library ABI version............. 2:0:0\n - Prefix.......................... \/usr\/local\n - Building on..................... x86_64-apple-darwin13.4.0\n - Building for.................... x86_64-apple-darwin13.4.0\n \n Compile configuration:\n - C compiler...................... gcc\n - C compiler version.............. Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)\n - C compiler flags................ -g -O2\n - Additional C compiler flags..... -std=c99 -fvisibility=hidden\n - C compiler warnings............. -Wall -Wextra -Wmissing-prototypes\n - C++ compiler.................... g++\n - C++ compiler version............ Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)\n - C++ compiler flags.............. -g -O2 -std=c++11\n - C++ compiler warnings........... -Wall -Wextra\n \n Detected libraries (required):\n - glib-2.0 >= 2.32.0.............. 2.44.1\n - libzip >= 0.10.................. 0.11.2\n \n Detected libraries (optional):\n - libserialport >= 0.1.1.......... 0.1.1\n - libftdi1 >= 1.0................. no\n - libftdi >= 0.16................. 0.20\n - libusb-1.0 >= 1.0.16............ 1.0.19\n - librevisa >= 0.0.20130412....... no\n - libgpib......................... no\n - libieee1284..................... no\n - check >= 0.9.4.................. no\n - glibmm-2.4 >= 2.32.0............ 2.44.0\n - python = 2.7.................... 2.7\n - pygobject-3.0 >= 3.0.0.......... no\n \n Enabled hardware drivers:\n - agilent-dmm..................... yes\n - appa-55ii....................... yes\n - asix-sigma...................... yes\n - atten-pps3xxx................... yes\n - baylibre-acme................... no (missing: sys_timerfd_h)\n - beaglelogic..................... yes\n - brymen-bm86x.................... yes\n - brymen-dmm...................... yes\n - cem-dt-885x..................... yes\n - center-3xx...................... yes\n - chronovu-la..................... yes\n - colead-slm...................... yes\n - conrad-digi-35-cpu.............. yes\n - deree-de5000.................... yes\n - demo............................ yes\n - fluke-dmm....................... yes\n - fx2lafw......................... yes\n - gmc-mh-1x-2x.................... yes\n - gwinstek-gds-800................ yes\n - hameg-hmo....................... yes\n - hantek-dso...................... yes\n - hung-chang-dso-2100............. no (missing: libieee1284)\n - ikalogic-scanalogic2............ yes\n - ikalogic-scanaplus.............. yes\n - kecheng-kc-330b................. yes\n - kern-scale...................... yes\n - korad-kaxxxxp................... yes\n - lascar-el-usb................... yes\n - manson-hcs-3xxx................. yes\n - maynuo-m97...................... yes\n - mic-985xx....................... yes\n - motech-lps-30x.................. yes\n - norma-dmm....................... yes\n - openbench-logic-sniffer......... yes\n - pipistrello-ols................. yes\n - rigol-ds........................ yes\n - saleae-logic16.................. yes\n - scpi-pps........................ yes\n - serial-dmm...................... yes\n - sysclk-lwla..................... yes\n - teleinfo........................ yes\n - testo........................... yes\n - tondaj-sl-814................... yes\n - uni-t-dmm....................... yes\n - uni-t-ut32x..................... yes\n - victor-dmm...................... yes\n - yokogawa-dlm.................... yes\n - zeroplus-logic-cube............. yes\n \n Enabled SCPI backends:\n - TCP............................. yes\n - RPC............................. yes\n - serial.......................... yes\n - VISA............................ no\n - GPIB............................ no\n - USBTMC.......................... yes\n \n Enabled language bindings:\n - C++............................. yes\n - Python.......................... no (missing: PyGObject, SWIG)\n - Java............................ no (missing: SWIG, JNI headers)\n\n\n HOPE:libsigrok junkhack$ make\n \/Applications\/Xcode.app\/Contents\/Developer\/usr\/bin\/make all-am\n CC src\/backend.lo\n CC src\/device.lo\n \n ::\n \n CC src\/hardware\/zeroplus-logic-cube\/api.lo\n CCLD libsigrok.la\n duplicate symbol _lwla1016_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/lwla1016.o\n duplicate symbol _lwla1034_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/lwla1016.o\n duplicate symbol _lwla1034_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/lwla1034.o\n duplicate symbol _lwla1016_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/lwla1034.o\n duplicate symbol _lwla1016_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/protocol.o\n duplicate symbol _lwla1034_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/protocol.o\n duplicate symbol _lwla1016_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/api.o\n duplicate symbol _lwla1034_info in:\n src\/hardware\/sysclk-lwla\/.libs\/lwla.o\n src\/hardware\/sysclk-lwla\/.libs\/api.o\n ld: 8 duplicate symbols for architecture x86_64\n clang: error: linker command failed with exit code 1 (use -v to see invocation)\n make[1]: *** [libsigrok.la] Error 1\n make: *** [all] Error 2\n HOPE:libsigrok junkhack$ \n\n\u25bclibsigrokdecode\n$ git clone git:\/\/sigrok.org\/libsigrokdecode\n$ cd libsigrokdecode\n$ .\/autogen.sh\n$ .\/configure\n$ make\n$ sudo make install\n\n\u2605OK\n\n 1 warning generated.\n CC decoder.lo\n CC instance.lo\n CC log.lo\n CC util.lo\n CC exception.lo\n CC module_sigrokdecode.lo\n CC type_decoder.lo\n CC type_logic.lo\n CC error.lo\n CC version.lo\n CCLD libsigrokdecode.la\n HOPE:libsigrokdecode junkhack$ sudo make install\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/lib'\n \/bin\/sh .\/libtool --silent --mode=install \/usr\/local\/bin\/ginstall -c libsigrokdecode.la '\/usr\/local\/lib'\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/include\/libsigrokdecode'\n \/usr\/local\/bin\/ginstall -c -m 644 version.h '\/usr\/local\/include\/libsigrokdecode'\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/lib\/pkgconfig'\n \/usr\/local\/bin\/ginstall -c -m 644 libsigrokdecode.pc '\/usr\/local\/lib\/pkgconfig'\n \/usr\/local\/bin\/gmkdir -p '\/usr\/local\/include\/libsigrokdecode'\n \/usr\/local\/bin\/ginstall -c -m 644 libsigrokdecode.h '\/usr\/local\/include\/libsigrokdecode'\n \/Applications\/Xcode.app\/Contents\/Developer\/usr\/bin\/make install-data-hook\n \/usr\/local\/bin\/gmkdir -p \/usr\/local\/share\/libsigrokdecode\/decoders\n python3.4 .\/tools\/install-decoders \\\n -i .\/decoders -o \/usr\/local\/share\/libsigrokdecode\/decoders\n Installing 59 protocol decoders:\n adns5020 am230x arm_etmv3 arm_itm arm_tpiu avr_isp can dcf77 ds1307 edid \n eeprom24xx guess_bitrate i2c i2cdemux i2cfilter i2s ir_nec ir_rc5 jitter jtag \n jtag_stm32 lm75 lpc max7219 maxim_ds28ea00 mdio midi mlx90614 modbus mrf24j40 \n mxc6225xu nrf24l01 nunchuk onewire_link onewire_network pan1321 parallel pwm qi \n rfm12 rgb_led_spi rtc8564 sdcard_sd sdcard_spi spdif spi spiflash stepper_motor \n swd tca6408a timing tlc5620 uart usb_packet usb_power_delivery usb_request \n usb_signalling xfp z80 \n HOPE:libsigrokdecode junkhack$ \n\n\u25bcsigrok-cli\n$ git clone git:\/\/sigrok.org\/sigrok-cli\n$ cd sigrok-cli\n$ .\/autogen.sh\n$ .\/configure\u2605libsigrok\u304c\u306a\u3044\u3068\u8a00\u308f\u308c\u308b\u3002\u307e\u3041\u3001\u307e\u3060\u5165\u308c\u3066\u306a\u3044\u3067\u3059\u304b\u3089\u306d\u3002\n$ make\n$ sudo make install\n\n HOPE:sigrok-cli junkhack$ .\/configure \n checking for a BSD-compatible install... \/usr\/local\/bin\/ginstall -c\n checking whether build environment is sane... yes\n ::\n checking for _FILE_OFFSET_BITS value needed for large files... no\n checking for SIGROK_CLI... no\n configure: error: Package requirements (glib-2.0 >= 2.32.0 libsigrok >= 0.4.0 libsigrokdecode >= 0.4.0) were not met:\n \n No package 'libsigrok' found\u2605\n \n Consider adjusting the PKG_CONFIG_PATH environment variable if you\n installed software in a non-standard prefix.\n \n Alternatively, you may set the environment variables SIGROK_CLI_CFLAGS\n and SIGROK_CLI_LIBS to avoid the need to call pkg-config.\n See the pkg-config man page for more details.\n HOPE:sigrok-cli junkhack$ \n\n\n\u25bcPulseView\n$ git clone git:\/\/sigrok.org\/pulseview\n$ cd pulseview\n$ cmake .\u2605libsigrokcxx>=0.4.0\u3000\u304c\u306a\u3044\u3068\n$ make\n$ sudo make install\n\n HOPE:pulseview junkhack$ cmake .\n -- Found PkgConfig: \/opt\/local\/bin\/pkg-config (found version \"0.28\") \n -- The C compiler identification is AppleClang 6.0.0.6000057\n -- The CXX compiler identification is AppleClang 6.0.0.6000057\n -- Check for working C compiler: \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/cc\n -- Check for working C compiler: \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/cc -- works\n -- Detecting C compiler ABI info\n -- Detecting C compiler ABI info - done\n -- Detecting C compile features\n -- Detecting C compile features - done\n -- Check for working CXX compiler: \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/c++\n -- Check for working CXX compiler: \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/c++ -- works\n -- Detecting CXX compiler ABI info\n -- Detecting CXX compiler ABI info - done\n -- Detecting CXX compile features\n -- Detecting CXX compile features - done\n -- checking for modules 'libsigrokcxx>=0.4.0;libsigrokdecode>=0.4.0'\n -- package 'libsigrokcxx>=0.4.0' not found\n CMake Error at \/opt\/local\/share\/cmake-3.3\/Modules\/FindPkgConfig.cmake:340 (message):\n A required package was not found\n Call Stack (most recent call first):\n \/opt\/local\/share\/cmake-3.3\/Modules\/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)\n CMakeLists.txt:79 (pkg_check_modules)\n \n \n -- Configuring incomplete, errors occurred!\n See also \"\/Users\/junkhack\/Desktop\/aa\/tmp\/pulseview\/CMakeFiles\/CMakeOutput.log\".\n HOPE:pulseview junkhack$ <\/pre>\n\n\n\n\u203bQT \u306f\u307e\u3060\u5165\u308c\u3066\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
ESP8266\u3067 E-ink \u3092\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u4fe1\u53f7\u89e3\u6790\u7528\u306e\u30ed\u30b8\u30c3\u30af\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u304c\u5fc5\u8981\u306b\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u3001\u5b89\u3044\u3082\u306e\u3092\u63a2\u3057\u307e\u3057\u305f\u3002 \u4ee5\u524d\u3001Logic Pirate \uff08\u3068Logic Sniffer\u3067\u52d5\u4f5c\uff09\u3068\u3044\u3046\u306e\u3092\u77e5\u308a\u307e\u3057\u305f […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[6,31,63,470],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"ESP8266\u3067 E-ink \u3092\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u4fe1\u53f7\u89e3\u6790\u7528\u306e\u30ed\u30b8\u30c3\u30af\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u304c\u5fc5\u8981\u306b\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u3001\u5b89\u3044…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1779"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=1779"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1779\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=1779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=1779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=1779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}