首页
开源
资讯
活动
开源许可证
软件工程云服务
软件代码质量检测云服务
持续集成与部署云服务
社区个性化内容推荐服务
贡献审阅人推荐服务
群体化学习服务
重睛鸟代码扫描工具
登录
注册
代码拉取完成,页面将自动刷新
Watch
23
Star
49
Fork
143
CANN
/
acl
Fork 仓库
加载中
取消
确认
代码
Issues
1
Pull Requests
98
Wiki
2
统计
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
No "Findjson.cmake" found in CMAKE_MODULE_PATH.
待办的
#I8TE7V
任务
Rong Tao
创建于
2024-01-03 20:51
### 该问题是怎么引起的? 编译失败。 ### 重现步骤 直接执行 `./build.sh`,环境信息 ```bash $ cat /etc/os-release NAME="openEuler" VERSION="20.03 (LTS-SP1)" ID="openEuler" VERSION_ID="20.03" PRETTY_NAME="openEuler 20.03 (LTS-SP1)" ANSI_COLOR="0;31" ``` ### 报错信息 编译失败 ``` $ ./build.sh ---------------- ACL build start ---------------- Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/7.3.0/lto-wrapper Target: x86_64-linux-gnu Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --enable-gnu-indirect-function --build=x86_64-linux-gnu --with-stage1-ldflags=' -Wl,-z,relro,-z,now' --with-boot-ldflags=' -Wl,-z,relro,-z,now' --with-tune=generic --with-arch_32=x86-64 --disable-multilib Thread model: posix gcc version 7.3.0 (GCC) mkdir: created directory '/home/rongtao/Git/acl/output' created /home/rongtao/Git/acl/output create build directory and build ACL mkdir: created directory '/home/rongtao/Git/acl/build/' created /home/rongtao/Git/acl/build/ -DBUILD_PATH=/home/rongtao/Git/acl/build/ -DENABLE_OPEN_SRC=True -DCMAKE_INSTALL_PREFIX=/home/rongtao/Git/acl/output -DPLATFORM=all -DPRODUCT=normal -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error at CMakeLists.txt:58 (find_package): No "Findjson.cmake" found in CMAKE_MODULE_PATH. CMake Warning (dev) at CMakeLists.txt:58 (find_package): Findjson.cmake must either be part of this project itself, in this case adjust CMAKE_MODULE_PATH so that it points to the correct location inside its source tree. Or it must be installed by a package which has already been found via find_package(). In this case make sure that package has indeed been found and adjust CMAKE_MODULE_PATH to contain the location where that package has installed Findjson.cmake. This must be a location provided by that package. This error in general means that the buildsystem of this project is relying on a Find-module without ensuring that it is actually available. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! See also "/home/rongtao/Git/acl/build/CMakeFiles/CMakeOutput.log". See also "/home/rongtao/Git/acl/build/CMakeFiles/CMakeError.log". ```
### 该问题是怎么引起的? 编译失败。 ### 重现步骤 直接执行 `./build.sh`,环境信息 ```bash $ cat /etc/os-release NAME="openEuler" VERSION="20.03 (LTS-SP1)" ID="openEuler" VERSION_ID="20.03" PRETTY_NAME="openEuler 20.03 (LTS-SP1)" ANSI_COLOR="0;31" ``` ### 报错信息 编译失败 ``` $ ./build.sh ---------------- ACL build start ---------------- Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/7.3.0/lto-wrapper Target: x86_64-linux-gnu Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --enable-gnu-indirect-function --build=x86_64-linux-gnu --with-stage1-ldflags=' -Wl,-z,relro,-z,now' --with-boot-ldflags=' -Wl,-z,relro,-z,now' --with-tune=generic --with-arch_32=x86-64 --disable-multilib Thread model: posix gcc version 7.3.0 (GCC) mkdir: created directory '/home/rongtao/Git/acl/output' created /home/rongtao/Git/acl/output create build directory and build ACL mkdir: created directory '/home/rongtao/Git/acl/build/' created /home/rongtao/Git/acl/build/ -DBUILD_PATH=/home/rongtao/Git/acl/build/ -DENABLE_OPEN_SRC=True -DCMAKE_INSTALL_PREFIX=/home/rongtao/Git/acl/output -DPLATFORM=all -DPRODUCT=normal -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error at CMakeLists.txt:58 (find_package): No "Findjson.cmake" found in CMAKE_MODULE_PATH. CMake Warning (dev) at CMakeLists.txt:58 (find_package): Findjson.cmake must either be part of this project itself, in this case adjust CMAKE_MODULE_PATH so that it points to the correct location inside its source tree. Or it must be installed by a package which has already been found via find_package(). In this case make sure that package has indeed been found and adjust CMAKE_MODULE_PATH to contain the location where that package has installed Findjson.cmake. This must be a location provided by that package. This error in general means that the buildsystem of this project is relying on a Find-module without ensuring that it is actually available. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! See also "/home/rongtao/Git/acl/build/CMakeFiles/CMakeOutput.log". See also "/home/rongtao/Git/acl/build/CMakeFiles/CMakeError.log". ```
评论 (
0
)
Rong Tao
创建了
任务
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已拒绝
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
r1.20.0
r1.19.0
r1.19.1
r1.19.2
r1.18.10
r1.16.0
r1.18.0
r1.17.10
r1.17.0
r1.15.0
r5.10.1
r1.15.2
r1.15.10
r1.14.1
r1.13.0
r1.12.0
r1.11.0
r1.14.0
r3.2.0
r3.1.0
r2.1.0
host_api
r1.10.0
r1.9.0
r1.8.0
r1.7.0
r1.6.0
r1.5.1
r1.5.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)