wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.11k stars 1.03k forks source link

如何在win10上进行开发,win10上的环境配置 #228

Closed tianyinggang closed 4 years ago

tianyinggang commented 4 years ago

cd build && cmake -DCMAKE_INSTALL_PREFIX=/tmp/usr/local .. CMake Error: The current CMakeCache.txt directory /mnt/e/AutoTest/serial/build/CMakeCache.txt is different than the directory e:/AutoTest/serial/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt CMake Error: The source "/mnt/e/AutoTest/serial/CMakeLists.txt" does not match the source "E:/AutoTest/serial/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.

这个报错是什么原因,我在Windows的Ubuntu子系统中运行