crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

don't work on ubuntu 18.04 #29

Open xiaoqiaowoai opened 1 year ago

xiaoqiaowoai commented 1 year ago

friends,i need help. i run ./install-openrave.sh,but had problem.

CMake Warning (dev) at plugins/fclrave/CMakeLists.txt:73 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "fclrave".  All uses of target_link_libraries with a target
  should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * plugins/fclrave/CMakeLists.txt:72 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeOutput.log".
See also "/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

then,i see the /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeError.log

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_6ed60/fast"
/usr/bin/make -f CMakeFiles/cmTC_6ed60.dir/build.make CMakeFiles/cmTC_6ed60.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6ed60.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O3 -DNDEBUG   -o CMakeFiles/cmTC_6ed60.dir/CheckSymbolExists.c.o   -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_6ed60
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ed60.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_6ed60.dir/CheckSymbolExists.c.o  -o cmTC_6ed60 
CMakeFiles/cmTC_6ed60.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6ed60.dir/build.make:97: recipe for target 'cmTC_6ed60' failed
make[1]: *** [cmTC_6ed60] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_6ed60/fast' failed
make: *** [cmTC_6ed60/fast] Error 2

File /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d4bb8/fast"
/usr/bin/make -f CMakeFiles/cmTC_d4bb8.dir/build.make CMakeFiles/cmTC_d4bb8.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d4bb8.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG   -o CMakeFiles/cmTC_d4bb8.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_d4bb8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d4bb8.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_d4bb8.dir/CheckFunctionExists.c.o  -o cmTC_d4bb8 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_d4bb8.dir/build.make:97: recipe for target 'cmTC_d4bb8' failed
make[1]: *** [cmTC_d4bb8] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d4bb8/fast' failed
make: *** [cmTC_d4bb8/fast] Error 2

Determining if the function crlibm_init exists in the crlibm failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_dddee/fast"
/usr/bin/make -f CMakeFiles/cmTC_dddee.dir/build.make CMakeFiles/cmTC_dddee.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_dddee.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=crlibm_init -O3 -DNDEBUG   -o CMakeFiles/cmTC_dddee.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_dddee
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dddee.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=crlibm_init -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_dddee.dir/CheckFunctionExists.c.o  -o cmTC_dddee -lcrlibm 
/usr/bin/ld: cannot find -lcrlibm
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_dddee.dir/build.make:97: recipe for target 'cmTC_dddee' failed
make[1]: *** [cmTC_dddee] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_dddee/fast' failed
make: *** [cmTC_dddee/fast] Error 2

Determining if the include file crlibm.h exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_48277/fast"
/usr/bin/make -f CMakeFiles/cmTC_48277.dir/build.make CMakeFiles/cmTC_48277.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_48277.dir/CheckIncludeFile.c.o
/usr/bin/cc   -O3 -DNDEBUG   -o CMakeFiles/cmTC_48277.dir/CheckIncludeFile.c.o   -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: crlibm.h: No such file or directory
 #include <crlibm.h>
          ^~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_48277.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_48277.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_48277.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_48277/fast' failed
make: *** [cmTC_48277/fast] Error 2

Performing C++ SOURCE FILE Test IS_ASSIMP_PRE_R896 failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8ef09/fast"
/usr/bin/make -f CMakeFiles/cmTC_8ef09.dir/build.make CMakeFiles/cmTC_8ef09.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8ef09.dir/src.cxx.o
/usr/bin/c++    -DIS_ASSIMP_PRE_R896 -O3 -DNDEBUG   -o CMakeFiles/cmTC_8ef09.dir/src.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:2:12: fatal error: assimp/Logger.h: No such file or directory
   #include <assimp/Logger.h>
            ^~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_8ef09.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8ef09.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_8ef09.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8ef09/fast' failed
make: *** [cmTC_8ef09/fast] Error 2

Source file was:

  #include <assimp/Logger.h> 
  int main() 
  { 
      Assimp::Logger::WARN; 
      return 0; 
  }
Determining if the function _Z8annClosev exists in the ANN failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1319d/fast"
/usr/bin/make -f CMakeFiles/cmTC_1319d.dir/build.make CMakeFiles/cmTC_1319d.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1319d.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=_Z8annClosev -O3 -DNDEBUG   -o CMakeFiles/cmTC_1319d.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_1319d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1319d.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=_Z8annClosev -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_1319d.dir/CheckFunctionExists.c.o  -o cmTC_1319d -lANN 
/usr/bin/ld: cannot find -lANN
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_1319d.dir/build.make:97: recipe for target 'cmTC_1319d' failed
make[1]: *** [cmTC_1319d] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1319d/fast' failed
make: *** [cmTC_1319d/fast] Error 2

Determining if the function annClose exists in the ANN failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_771e9/fast"
/usr/bin/make -f CMakeFiles/cmTC_771e9.dir/build.make CMakeFiles/cmTC_771e9.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_771e9.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=annClose -O3 -DNDEBUG   -o CMakeFiles/cmTC_771e9.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_771e9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_771e9.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=annClose -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_771e9.dir/CheckFunctionExists.c.o  -o cmTC_771e9 -lANN 
/usr/bin/ld: cannot find -lANN
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_771e9.dir/build.make:97: recipe for target 'cmTC_771e9' failed
make[1]: *** [cmTC_771e9] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_771e9/fast' failed
make: *** [cmTC_771e9/fast] Error 2

Determining if the function asinh exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0a583/fast"
/usr/bin/make -f CMakeFiles/cmTC_0a583.dir/build.make CMakeFiles/cmTC_0a583.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0a583.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=asinh -O3 -DNDEBUG   -o CMakeFiles/cmTC_0a583.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘asinh’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
   CHECK_FUNCTION_EXISTS(void);
   ^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_0a583
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0a583.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=asinh -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_0a583.dir/CheckFunctionExists.c.o  -o cmTC_0a583 
CMakeFiles/cmTC_0a583.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `asinh'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_0a583.dir/build.make:97: recipe for target 'cmTC_0a583' failed
make[1]: *** [cmTC_0a583] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0a583/fast' failed
make: *** [cmTC_0a583/fast] Error 2

Determining if the function acosh exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0dd37/fast"
/usr/bin/make -f CMakeFiles/cmTC_0dd37.dir/build.make CMakeFiles/cmTC_0dd37.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0dd37.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=acosh -O3 -DNDEBUG   -o CMakeFiles/cmTC_0dd37.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘acosh’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
   CHECK_FUNCTION_EXISTS(void);
   ^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_0dd37
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0dd37.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=acosh -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_0dd37.dir/CheckFunctionExists.c.o  -o cmTC_0dd37 
CMakeFiles/cmTC_0dd37.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `acosh'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_0dd37.dir/build.make:97: recipe for target 'cmTC_0dd37' failed
make[1]: *** [cmTC_0dd37] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0dd37/fast' failed
make: *** [cmTC_0dd37/fast] Error 2

Determining if the function atanh exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_cabc7/fast"
/usr/bin/make -f CMakeFiles/cmTC_cabc7.dir/build.make CMakeFiles/cmTC_cabc7.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cabc7.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=atanh -O3 -DNDEBUG   -o CMakeFiles/cmTC_cabc7.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘atanh’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
   CHECK_FUNCTION_EXISTS(void);
   ^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_cabc7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cabc7.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=atanh -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_cabc7.dir/CheckFunctionExists.c.o  -o cmTC_cabc7 
CMakeFiles/cmTC_cabc7.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `atanh'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cabc7.dir/build.make:97: recipe for target 'cmTC_cabc7' failed
make[1]: *** [cmTC_cabc7] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cabc7/fast' failed
make: *** [cmTC_cabc7/fast] Error 2

Determining if the function exp2 exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3387a/fast"
/usr/bin/make -f CMakeFiles/cmTC_3387a.dir/build.make CMakeFiles/cmTC_3387a.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3387a.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=exp2 -O3 -DNDEBUG   -o CMakeFiles/cmTC_3387a.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘exp2’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
   CHECK_FUNCTION_EXISTS(void);
   ^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_3387a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3387a.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=exp2 -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_3387a.dir/CheckFunctionExists.c.o  -o cmTC_3387a 
CMakeFiles/cmTC_3387a.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `exp2'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3387a.dir/build.make:97: recipe for target 'cmTC_3387a' failed
make[1]: *** [cmTC_3387a] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_3387a/fast' failed
make: *** [cmTC_3387a/fast] Error 2

Determining if the function log2 exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1a3f8/fast"
/usr/bin/make -f CMakeFiles/cmTC_1a3f8.dir/build.make CMakeFiles/cmTC_1a3f8.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1a3f8.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=log2 -O3 -DNDEBUG   -o CMakeFiles/cmTC_1a3f8.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘log2’ [-Wbuiltin-declaration-mismatch]
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
   CHECK_FUNCTION_EXISTS(void);
   ^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_1a3f8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a3f8.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=log2 -O3 -DNDEBUG    -rdynamic CMakeFiles/cmTC_1a3f8.dir/CheckFunctionExists.c.o  -o cmTC_1a3f8 
CMakeFiles/cmTC_1a3f8.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `log2'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_1a3f8.dir/build.make:97: recipe for target 'cmTC_1a3f8' failed
make[1]: *** [cmTC_1a3f8] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1a3f8/fast' failed
make: *** [cmTC_1a3f8/fast] Error 2

Determining if the include file ffmpeg/avformat.h exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1175f/fast"
/usr/bin/make -f CMakeFiles/cmTC_1175f.dir/build.make CMakeFiles/cmTC_1175f.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1175f.dir/CheckIncludeFile.c.o
/usr/bin/cc  -I/usr/include/x86_64-linux-gnu  -O3 -DNDEBUG   -o CMakeFiles/cmTC_1175f.dir/CheckIncludeFile.c.o   -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ffmpeg/avformat.h: No such file or directory
 #include <ffmpeg/avformat.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_1175f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1175f.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_1175f.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1175f/fast' failed
make: *** [cmTC_1175f/fast] Error 2

Determining if the include file ffmpeg/avcodec.h exists failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8e6b8/fast"
/usr/bin/make -f CMakeFiles/cmTC_8e6b8.dir/build.make CMakeFiles/cmTC_8e6b8.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8e6b8.dir/CheckIncludeFile.c.o
/usr/bin/cc  -I/usr/include/x86_64-linux-gnu  -O3 -DNDEBUG   -o CMakeFiles/cmTC_8e6b8.dir/CheckIncludeFile.c.o   -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ffmpeg/avcodec.h: No such file or directory
 #include <ffmpeg/avcodec.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_8e6b8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8e6b8.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_8e6b8.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8e6b8/fast' failed
make: *** [cmTC_8e6b8/fast] Error 2

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_9a4b0/fast"
/usr/bin/make -f CMakeFiles/cmTC_9a4b0.dir/build.make CMakeFiles/cmTC_9a4b0.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9a4b0.dir/CheckSymbolExists.cxx.o
/usr/bin/c++   -I/usr/include/qt4  -O3 -DNDEBUG   -o CMakeFiles/cmTC_9a4b0.dir/CheckSymbolExists.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope
   return ((int*)(&Q_WS_WIN))[argc];
                   ^~~~~~~~
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
   return ((int*)(&Q_WS_WIN))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTC_9a4b0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9a4b0.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_9a4b0.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_9a4b0/fast' failed
make: *** [cmTC_9a4b0/fast] Error 2

File /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0f49d/fast"
/usr/bin/make -f CMakeFiles/cmTC_0f49d.dir/build.make CMakeFiles/cmTC_0f49d.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0f49d.dir/CheckSymbolExists.cxx.o
/usr/bin/c++   -I/usr/include/qt4  -O3 -DNDEBUG   -o CMakeFiles/cmTC_0f49d.dir/CheckSymbolExists.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope
   return ((int*)(&Q_WS_QWS))[argc];
                   ^~~~~~~~
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
   return ((int*)(&Q_WS_QWS))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTC_0f49d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0f49d.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_0f49d.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0f49d/fast' failed
make: *** [cmTC_0f49d/fast] Error 2

File /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_df7d4/fast"
/usr/bin/make -f CMakeFiles/cmTC_df7d4.dir/build.make CMakeFiles/cmTC_df7d4.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_df7d4.dir/CheckSymbolExists.cxx.o
/usr/bin/c++   -I/usr/include/qt4  -O3 -DNDEBUG   -o CMakeFiles/cmTC_df7d4.dir/CheckSymbolExists.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope
   return ((int*)(&Q_WS_MAC))[argc];
                   ^~~~~~~~
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
   return ((int*)(&Q_WS_MAC))[argc];
                   ^~~~~~~~
                   Q_WS_X11
CMakeFiles/cmTC_df7d4.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_df7d4.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_df7d4.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_df7d4/fast' failed
make: *** [cmTC_df7d4/fast] Error 2

File /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Performing C++ SOURCE FILE Test NEED_TRIINDEX failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_df645/fast"
/usr/bin/make -f CMakeFiles/cmTC_df645.dir/build.make CMakeFiles/cmTC_df645.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_df645.dir/src.cxx.o
/usr/bin/c++    -DNEED_TRIINDEX  -L/usr/lib/x86_64-linux-gnu -O3 -DNDEBUG   -o CMakeFiles/cmTC_df645.dir/src.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:4:17: error: conflicting declaration ‘typedef int dTriIndex’
     typedef int dTriIndex;
                 ^~~~~~~~~
In file included from /usr/include/ode/ode.h:30:0,
                 from /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/ode/common.h:85:17: note: previous declaration as ‘typedef duint32 dTriIndex’
 typedef duint32 dTriIndex;
                 ^~~~~~~~~
CMakeFiles/cmTC_df645.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_df645.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_df645.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_df645/fast' failed
make: *** [cmTC_df645/fast] Error 2

Source file was:

    #include <ode/ode.h>

    typedef int dTriIndex;
    int main()
    {
      return 0;
    }
Performing C++ SOURCE FILE Test FCL_HAS_REPLACEOBJECT failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5ebda/fast"
/usr/bin/make -f CMakeFiles/cmTC_5ebda.dir/build.make CMakeFiles/cmTC_5ebda.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5ebda.dir/src.cxx.o
/usr/bin/c++   -I/usr/local/include  -DFCL_HAS_REPLACEOBJECT -DOPENRAVE_DLL  -fPIC -DOPENRAVE_HAS_LAPACK -std=c++11 -std=c++11  -L/usr/local/lib -O3 -DNDEBUG   -o CMakeFiles/cmTC_5ebda.dir/src.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:6:17: error: ‘class fcl::NaiveCollisionManager’ has no member named ‘replaceObject’; did you mean ‘registerObject’?
         manager.replaceObject(nullptr, nullptr, false);
                 ^~~~~~~~~~~~~
                 registerObject
CMakeFiles/cmTC_5ebda.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5ebda.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_5ebda.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_5ebda/fast' failed
make: *** [cmTC_5ebda/fast] Error 2

Source file was:

      #include <fcl/broadphase/broadphase.h>

      int main() {
        fcl::NaiveCollisionManager manager;
        manager.replaceObject(nullptr, nullptr, false);
        return 0;
      }
Performing C++ SOURCE FILE Test FCL_SUPPORT_BULK_UPDATE failed with the following output:
Change Dir: /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f7143/fast"
/usr/bin/make -f CMakeFiles/cmTC_f7143.dir/build.make CMakeFiles/cmTC_f7143.dir/build
make[1]: Entering directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f7143.dir/src.cxx.o
/usr/bin/c++   -I/usr/local/include  -DFCL_SUPPORT_BULK_UPDATE -DOPENRAVE_DLL  -fPIC -DOPENRAVE_HAS_LAPACK -std=c++11 -std=c++11  -L/usr/local/lib -O3 -DNDEBUG   -o CMakeFiles/cmTC_f7143.dir/src.cxx.o -c /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:7:32: error: no matching function for call to ‘fcl::DynamicAABBTreeCollisionManager::update(std::vector<fcl::CollisionObject*>&, bool)’
         manager.update(v, false);
                                ^
In file included from /usr/local/include/fcl/broadphase/broadphase.h:238:0,
                 from /home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:98:8: note: candidate: virtual void fcl::DynamicAABBTreeCollisionManager::update()
   void update();
        ^~~~~~
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:98:8: note:   candidate expects 0 arguments, 2 provided
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:101:8: note: candidate: virtual void fcl::DynamicAABBTreeCollisionManager::update(fcl::CollisionObject*)
   void update(CollisionObject* updated_obj);
        ^~~~~~
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:101:8: note:   candidate expects 1 argument, 2 provided
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:104:8: note: candidate: virtual void fcl::DynamicAABBTreeCollisionManager::update(const std::vector<fcl::CollisionObject*>&)
   void update(const std::vector<CollisionObject*>& updated_objs);
        ^~~~~~
/usr/local/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h:104:8: note:   candidate expects 1 argument, 2 provided
CMakeFiles/cmTC_f7143.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f7143.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_f7143.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/kouguozhao/git/openrave/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f7143/fast' failed
make: *** [cmTC_f7143/fast] Error 2

Source file was:

      #include <fcl/broadphase/broadphase.h>

      int main() {
        fcl::DynamicAABBTreeCollisionManager manager;
        std::vector<fcl::CollisionObject*> v;
        manager.update(v, false);
        return 0;
      }