2025-01-01から1年間の記事一覧
ラズベリーパイで実行している Emacs の mode-line に CPU 温度を表示する方法 Emacs Lisp Code (defun cpu-temp-string () (substring (shell-command-to-string "vcgencmd measure_temp") 5 11)) (setq battery-status-function #'(lambda () (cons (cons …
Windows で boost と cmake を使っています。以下のように boost のライブラリディレクトリを取得してリンクディレクトリに追加していました。 find_package(Boost 1.87 REQUIRED COMPONENTS program_options) link_directories(${Boost_LIBRARY_DIRS}) cmak…