error: 'CRTSCTS' undeclared (first use in this function)

在变现树莓派的串口驱动的时候,在linux-armv6的docker环境下,用cmake生成makefile,编译程序的时候,出现CRTSCTS undeclared的错误,那么可以将CMakeLists.txt里面的set(CMAKE_C_FLAGS “-std=c99”)改为set(CMAKE_C_FLAGS “-std=gnu99”)

猜你喜欢

转载自blog.csdn.net/u012850592/article/details/102722062
今日推荐