VirtualBoxにおいてフルスクリーン表示を解除する方法
Host Key ( left ⌘ ) + F
VirtualBoxにおいてフルスクリーン表示を解除する方法
Host Key ( left ⌘ ) + F
gccにおいて -l オプションを指定する位置は意味を持つ(誤った位置で指定するとリンクエラーになる)ので注意すること!
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$ gcc -o listdevs -I/usr/include/libusb-1.0 -lusb-1.0 listdevs.c /tmp/ccy2LPhL.o: In function `print_devs': listdevs.c:(.text+0x36): undefined reference to `libusb_get_device_descriptor' listdevs.c:(.text+0x69): undefined reference to `libusb_get_device_address' listdevs.c:(.text+0x7a): undefined reference to `libusb_get_bus_number' listdevs.c:(.text+0xb3): undefined reference to `libusb_get_port_numbers' /tmp/ccy2LPhL.o: In function `main': listdevs.c:(.text+0x178): undefined reference to `libusb_init' listdevs.c:(.text+0x197): undefined reference to `libusb_get_device_list' listdevs.c:(.text+0x1c5): undefined reference to `libusb_free_device_list' listdevs.c:(.text+0x1d2): undefined reference to `libusb_exit' collect2: error: ld returned 1 exit status |
usb-1.0 (libusb-1.0.so) の関数が参照できない(検索対象外となる)ため、listdevs.o から見たときにリンクエラー(undefined reference)に陥る。
-lで指定したライブラリは先に指定した listdevs.c (listdevs.o) からは参照できない。
libusbで開発したアプリが以下のエラーを表示して停止する。
|
1 |
libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access |
※ システム環境設定 => プリンタとスキャナ から該当するUSBプリンタを削除しても、再起動後にふたたび見つかる。
|
1 |
$ system_profiler SPUSBDataType |
以下の3つのファイルを削除して再起動する。
/etc/cups/printers.conf/etc/cups/printers.conf.O/etc/cups/printers.conf.pre-update/Users/JaneDoe/Library/Preferences/com.apple.systempreferences.plist
DHCPサーバの存在しない環境 (LINKLOCALアドレス) において、MACアドレス(48bit)からインターフェースID(64bit)を生成する変換ルール
|
1 |
$ aws s3 sync --region ap-northeast-1 s3://[移動元バケット名] s3://[移動先バケット名] |
Ubuntu 16.04LTSにおいて、全てのユーザーにネットワークのアクセス権を与える。


XcodeからAppのインストール(デバッグ実行)に失敗する。
実機(iPhone/iPad)にAppストアまたはTestFlightからインストールした同一アプリがインストール済みである。
実機(iPhone/iPad)にインストール済みにアプリを一旦削除する。
確認環境 : Xcode 8.2.1
Ubuntu 16.04LTS 以降、パッケージ管理システムは
– apt-get / apt-cache コマンド
から
– apt コマンド
に変更(集約)