Comments (21)
你是自己本地编译的?
from logan.
是的
from logan.
用ndk r16试试呢?
from logan.
ndk r16也试过了 也是报一样的错
from logan.
电脑系统是?
from logan.
Windows 10
from logan.
拉最新的代码编译试试?
from logan.
这个问题怎么解决,有解决的吗
from logan.
这个问题我本地复现不出来……你们的环境有更详细的信息吗?
from logan.
int fd = open(_filepath, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
我用的是13 找机会试试16 我们的环境 O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP 没有这几个变量的申明处 O_RDWR | O_CREAT 是在fcntl.h 中申明的 这个文件找不到后面那几个的申明,不知道你的环境中,那几个常量是哪里申明的呢
from logan.
换16 好了 ~ 定义在stat.h 文件中
from logan.
@haizhiyun Fine
from logan.
我也碰到这个问题了,换成ndk16,还是那样,有其它解决办法的么?
from logan.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/aarch64-linux-android-gcc.exe
Build flags: -isystem;D:/android/android-ndk-r16b/sysroot/usr/include/aarch64-linux-android;-D__ANDROID_API__=21;-g;-DANDROID;-ffunction-sections;-funwind-tables;-fstack-protector-strong;-no-canonical-prefixes;-Wa,--noexecstack;-Wformat;-Werror=format-security;-std=c11
Id flags:
The output was:
1
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find crtbegin_dynamic.o: No such file or directory
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -lc
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -ldl
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find crtend_android.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/aarch64-linux-android-g++.exe
Build flags: -isystem;D:/android/android-ndk-r16b/sysroot/usr/include/aarch64-linux-android;-D__ANDROID_API__=21;-g;-DANDROID;-ffunction-sections;-funwind-tables;-fstack-protector-strong;-no-canonical-prefixes;-Wa,--noexecstack;-Wformat;-Werror=format-security;;
Id flags:
The output was:
1
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find crtbegin_dynamic.o: No such file or directory
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -lstdc++
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -lm
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -lc
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find -ldl
D:/android/android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.exe: cannot find crtend_android.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
from logan.
windows系统吗 @bright999
from logan.
@Richard-Cao 是的 win7 64位 使用的是android studio 3.0 beta 5
from logan.
Windows机器我确实没试过…… @bright999 应该是和Windows的ndk有关系
from logan.
所以问题解决了吗,内心崩溃搞了一天了。。。。同Windows
from logan.
所以问题解决了吗,内心崩溃搞了一天了。。。。同Windows
我没Windows机器……没法测试……
from logan.
所以问题解决了吗,内心崩溃搞了一天了。。。。同Windows
我没Windows机器……没法测试……
好的明天用我的Mac试一下。。。。谢了
from logan.
除了降低NDK的版本外,降低OpenCV的版本同样有效,换回3.4.5版本就好了
from logan.
Related Issues (20)
- 原生端与Web端加密格式化流程不一致原因求解答
- Android端上传到服务器的Logan日志文件是空的 HOT 1
- 5007
- 点击日志祥情后才解析日志文件?
- 重复上传当天日志,服务端报错 HOT 1
- 保存日志出现崩溃 HOT 2
- 日志一直上传不成功Unexpected end of ZLIB input stream HOT 1
- Android在上傳大的日誌時,會timeout HOT 5
- iOS build warning问题 HOT 6
- Cannot find module 'react-dev-utils/WatchMissingNodeModulesPlugin' HOT 2
- docker-compose up error
- iOS 日志解析会出现日志解析报错,无法展示的问题,decompress error: Unexpected end of ZLIB input stream tryGetEncryptContent error: null HOT 1
- macOS上编译Logan/Example/Logan-Android报错 HOT 5
- 运行LoganSite错误 HOT 1
- 鸿蒙SDK适配 HOT 4
- 什么时候开源适配小程序? HOT 2
- Android 端问题 HOT 1
- Logan android SDK安全检测漏洞问题
- 如何去定制Logan HOT 10
- log-web日志7m限制调整,想要支持更大的存储 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logan.