2023-01-01から1年間の記事一覧
WSL2でUSBデバイスを使いたく,以下に従っていた. USB デバイスを接続する | Microsoft Learn以下のエラーに遭遇した. $ usbipd wsl attach --busid 1-2 usbipd: error: There are no WSL distributions installed; see https://docs.microsoft.com/window…
以下のmainファイルをコンパイルすると,Teensyフレームワークのabsマクロと,Eigenが内部で使用しているstd::abs関数との間で名前の衝突が発生する. 同様にroundも衝突するようだ.WSL2でのみ起きる現象で,Ubuntuやwindows10では発生しない. #include <Arduino.h> #</arduino.h>…