任何人都可以告诉我为什么在使用 ndk 编译 cpp 代码时会出现此错误:
C:/ndk/samples/fmservice/src/jni/JFmRxNative.cpp:304:24: error: expected primary-expression before 'struct'
C:/ndk/samples/fmservice/src/jni/JFmRxNative.cpp:304:24: error: '_IOR' was not declared in this scope
line 304 : res = ioctl(radio_fd,VIDIOC_QUERYCAP,&cap); character 24: VIDIOC_QUERYCAP
我使用 C:\ndk\platforms\android-14 文件