pika icon indicating copy to clipboard operation
pika copied to clipboard

有没有大佬在arm环境下安装部署成功的,我现在cmake编译不过,请求帮助

Open melinetssamant opened this issue 9 months ago • 14 comments

Describe the problem that you experienced

[root@bcrj-hwkp build]# cmake .. -- The CXX compiler identification is unknown -- Check for working CXX compiler: /usr/bin/gcc -- Check for working CXX compiler: /usr/bin/gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:53 (message): The C++ compiler

"/usr/bin/gcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /root/setup/pika-3.5.4/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_b163a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b163a.dir/build.make CMakeFiles/cmTC_b163a.dir/build
gmake[1]: Entering directory '/root/setup/pika-3.5.4/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b163a.dir/testCXXCompiler.cxx.o
/usr/bin/gcc     -o CMakeFiles/cmTC_b163a.dir/testCXXCompiler.cxx.o -c /root/setup/pika-3.5.4/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gmake[1]: *** [CMakeFiles/cmTC_b163a.dir/build.make:66: CMakeFiles/cmTC_b163a.dir/testCXXCompiler.cxx.o] Error 1
gmake[1]: Leaving directory '/root/setup/pika-3.5.4/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_b163a/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:9 (project)

-- Configuring incomplete, errors occurred! 编译器没指定,我手工指定了还是不行。

Enter the URL of the topic with the problem

No response

Describe what you were looking for in the documentation

No response

Describe the actions that led you to experience the problem

No response

Describe what you want to experience that would fix the problem

No response

Add a screenshot if that helps illustrate the problem

No response

If this problem caused an exception or error, please paste it here

No response

If the problem is browser-specific, please specify the device, OS, browser, and version

No response

Provide any additional information here in as much as detail as you can

No response

melinetssamant avatar May 21 '24 06:05 melinetssamant