Reputation: 51
anyone can tell me why i get this error when compile cpp code with ndk:
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
nd i used C:\ndk\platforms\android-14 files
Upvotes: 2
Views: 1089