文章分类 -  编译错误 / gcc/g++

摘要:显示的完整错误如下: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ZN2c43yml9free_implEPvmS1' which may bind externally can not be used when making a sh 阅读全文
posted @ 2023-12-21 16:09 飞飞龙 阅读(1823) 评论(0) 推荐(0)
摘要:CMakeLists.txt 添加以下内容: SET(CMAKE_CXX_FLAGS "-fPIC") SET(CMAKE_C_FLAGS "-fPIC") 有关fPIC介绍 https://www.cnblogs.com/cswuyg/p/3830703.html 参考:https://blog. 阅读全文
posted @ 2023-08-29 10:08 飞飞龙 阅读(157) 评论(0) 推荐(0)