在 2023/11/9 21:00, Dingjun Chen 写道: > PS C:\Users\Dingjun.Chen> g++ --version > g++.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 13.2.0 This is the native compiler from x86_64-w64-mingw32 to itself (i.e. native Windows on x86-64)... > include_directories( > "/home/Dingjun.Chen/x-tools/HOST-x86_64-pc-cygwin/i686-linux-musl/i686-linux-musl/include/c++/13.2.0" ... but you tell it to look for Linux headers? That's not a correct configuration. You will need a cross compiler, and maybe linker, etc. -- Best regards, LIU Hao