Python-RVO2
Python-RVO2 copied to clipboard
subprocess.CalledProcessError: Command '['cmake', '../..', '-DCMAKE_CXX_FLAGS=-fPIC']' returned non-zero exit status 1.
python setup.py build
^[[A running build running build_ext -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- Check for working C compiler: /cm/shared/apps/gcc8/8.4.0/bin/gcc -- Check for working C compiler: /cm/shared/apps/gcc8/8.4.0/bin/gcc -- broken CMake Error at /cm/shared/apps/cmake/3.5.1/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/cm/shared/apps/gcc8/8.4.0/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_302d1/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_302d1.dir/build.make CMakeFiles/cmTC_302d1.dir/build
gmake[1]: Entering directory `/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o
/cm/shared/apps/gcc8/8.4.0/bin/gcc -o CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o -c /home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_302d1
/cm/shared/apps/cmake/3.5.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_302d1.dir/link.txt --verbose=1
/cm/shared/apps/gcc8/8.4.0/bin/gcc CMakeFiles/cmTC_302d1.dir/testCCompiler.c.o -o cmTC_302d1 -rdynamic
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_302d1] Error 1
gmake[1]: Leaving directory `/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_302d1/fast] Error 2
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:34 (project)
-- Configuring incomplete, errors occurred!
See also "/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/CrowdNav-master/Python-RVO2-main/build/RVO2/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 49, in
Any advice?
Erase the build folder inside the Python-RVO2 and try rebuilding it.