Open gaoba opened 5 years ago
Where do you put your lib_x86_64?
According to the cmake file (https://github.com/baidu/boteye/blob/master/cmake/XP_lib_helper.cmake#L17), it should be located at the base directory of the boteye repo, /home/slog/be/boteye/lib_x86_64
in your case.
yeah, the lib_x86_64 dir is right in it, do it need set the $lib path in env by hand?
slog@PF:~/be/boteye$ git status .
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add
lib_x86_64/
nothing added to commit but untracked files present (use "git add" to track) slog@PF:~/be/boteye$ ls apps AprilTag5x7.png calib_params cmake config_environment.sh docs include lib_x86_64 README.md scripts XP slog@PF:~/be/boteye$ ls -la lib_x86_64/ total 17492 drwxr-xr-x 2 slog slog 4096 8月 7 2018 . drwxrwxr-x 11 slog slog 4096 2月 20 14:09 .. -rw-r--r-- 1 slog slog 166000 8月 7 2018 libBoW.so -rw-r--r-- 1 slog slog 2770032 8月 7 2018 libIBA.so -rw-r--r-- 1 slog slog 224712 8月 7 2018 libnavigation.so -rw-r--r-- 1 slog slog 73504 8月 7 2018 libOrb.so -rw-r--r-- 1 slog slog 282256 8月 7 2018 libTagDetector.so -rw-r--r-- 1 slog slog 145768 8月 7 2018 libxpdriver.so -rw-r--r-- 1 slog slog 14231768 8月 7 2018 libXP.so slog@PF:~/be/boteye$
TKS!
And now I have run the script: slog@PF:~/be/boteye$ source config_environment.sh Configure environment variables for XP Set MASTER_DIR=/home/slog/be/boteye OS:Linux detected LD_LIBRARY_PATH=/opt/ros/kinetic/lib:/home/slog/be/boteye/lib_x86_64:/home/slog/XP_release/3rdparty_lib_lean/lib config environment ok! then cmake .. in apps/build, but the error is all the same.
Now I’m also print all the variables as below: slog@PF:~/be/boteye/apps/build$ cmake .. zsl XP_LIBRARY: /home/slog/be/boteye/lib_x86_64/libXP.so zsl XP_PARAM_LIBRARY: XP_PARAM_LIBRARY-NOTFOUND zsl XP_TIMER_LIBRARY: XP_TIMER_LIBRARY-NOTFOUND zsl XP_DEPTH_LIBRARY: XP_DEPTH_LIBRARY-NOTFOUND zsl XP_INCLUDE_DIR: /home/slog/be/boteye/apps/../include zsl XP_DRIVER_LIBRARY: /home/slog/be/boteye/lib_x86_64/libxpdriver.so zsl TagDetector_LIBRARY: /home/slog/be/boteye/lib_x86_64/libTagDetector.so
at the same time ,the libs info is like these: slog@PF:~/be/boteye/apps/build$ ll ../../lib_x86_64/ total 17492 drwxr-xr-x 2 slog slog 4096 8月 7 2018 ./ drwxrwxr-x 11 slog slog 4096 2月 20 14:09 ../ -rw-r--r-- 1 slog slog 166000 8月 7 2018 libBoW.so -rw-r--r-- 1 slog slog 2770032 8月 7 2018 libIBA.so -rw-r--r-- 1 slog slog 224712 8月 7 2018 libnavigation.so -rw-r--r-- 1 slog slog 73504 8月 7 2018 libOrb.so -rw-r--r-- 1 slog slog 282256 8月 7 2018 libTagDetector.so -rw-r--r-- 1 slog slog 145768 8月 7 2018 libxpdriver.so -rw-r--r-- 1 slog slog 14231768 8月 7 2018 libXP.so
there are no the depth & param & timer *.so, So I need your help.
Please try to download lib_x86_64 again here: https://ai.baidu.com/sdk#roboticvision, and let us know if this solves your problem.
Ok ,TKS very much.
ubuntu 16.04 64位 ,環境有搭建好 有參考 https://github.com/baidu/boteye/issues/22,但是沒有幫助。 所以再提一個問題,請盡快幫忙解答下,感謝!!!
具體日志如下(我的郵箱 gaoba_13_j@126.com): slog@PF:~/be$ mkdir -p boteye/apps/build; cd boteye/apps/build; cmake ..; make -j8; cd -; -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.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 -- Found Eigen3 at Eigen_INCLUDE_DIR = /usr/include/eigen3 -- Found OpenCV 3.0.0 at /home/slog/XP_release/3rdparty_lib_lean -- OpenCV contains the following libs -- opencv_viz -- opencv_videostab -- opencv_videoio -- opencv_video -- opencv_superres -- opencv_stitching -- opencv_shape -- opencv_photo -- opencv_objdetect -- opencv_ml -- opencv_imgproc -- opencv_imgcodecs -- opencv_highgui -- opencv_hal -- opencv_flann -- opencv_features2d -- opencv_core -- opencv_calib3d -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- 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
-- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- thread -- chrono -- date_time -- atomic -- Found libopencv_viz CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: XP_DEPTH_LIBRARY linked by target "app_tracking" in directory /home/slog/be/boteye/apps/app_tracking linked by target "pose_receiver" in directory /home/slog/be/boteye/apps/app_tracking linked by target "xp_sensor_logger" in directory /home/slog/be/boteye/apps/xp_sensor_logger linked by target "cam_calibration" in directory /home/slog/be/boteye/apps/cam_calibration XP_PARAM_LIBRARY linked by target "app_tracking" in directory /home/slog/be/boteye/apps/app_tracking linked by target "pose_receiver" in directory /home/slog/be/boteye/apps/app_tracking linked by target "xp_sensor_logger" in directory /home/slog/be/boteye/apps/xp_sensor_logger linked by target "cam_calibration" in directory /home/slog/be/boteye/apps/cam_calibration XP_TIMER_LIBRARY linked by target "app_tracking" in directory /home/slog/be/boteye/apps/app_tracking linked by target "pose_receiver" in directory /home/slog/be/boteye/apps/app_tracking linked by target "xp_sensor_logger" in directory /home/slog/be/boteye/apps/xp_sensor_logger linked by target "cam_calibration" in directory /home/slog/be/boteye/apps/cam_calibration
-- Configuring incomplete, errors occurred! See also "/home/slog/be/boteye/apps/build/CMakeFiles/CMakeOutput.log". See also "/home/slog/be/boteye/apps/build/CMakeFiles/CMakeError.log". make: *** No targets specified and no makefile found. Stop. /home/slog/be slog@PF:~/be$