Comments (2)
CMakeError.log
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_19694/fast"
/usr/bin/make -f CMakeFiles/cmTC_19694.dir/build.make CMakeFiles/cmTC_19694.dir/build
make[1]: Entering directory '/home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_19694.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_19694.dir/CheckSymbolExists.c.o -c /home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_19694
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19694.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_19694.dir/CheckSymbolExists.c.o -o cmTC_19694 -rdynamic
CMakeFiles/cmTC_19694.dir/CheckSymbolExists.c.o:在函数‘main’中:
CheckSymbolExists.c:(.text+0x16):对‘pthread_create’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_19694.dir/build.make:97: recipe for target 'cmTC_19694' failed
make[1]: *** [cmTC_19694] Error 1
make[1]: Leaving directory '/home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_19694/fast' failed
make: *** [cmTC_19694/fast] Error 2
File /home/kitty/Guidance-SDK-master/demo/catkin_ws/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/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_71697/fast"
/usr/bin/make -f CMakeFiles/cmTC_71697.dir/build.make CMakeFiles/cmTC_71697.dir/build
make[1]: Entering directory '/home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_71697.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_71697.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_71697
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_71697.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_71697.dir/CheckFunctionExists.c.o -o cmTC_71697 -rdynamic -lpthreads
/usr/bin/ld: 找不到 -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_71697.dir/build.make:97: recipe for target 'cmTC_71697' failed
make[1]: *** [cmTC_71697] Error 1
make[1]: Leaving directory '/home/kitty/Guidance-SDK-master/demo/catkin_ws/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_71697/fast' failed
make: *** [cmTC_71697/fast] Error 2
from guidance-sdk.
I am having this same issue @lemonL. Were you able to get around it?
from guidance-sdk.
Related Issues (20)
- Black pixels in bottom part of image HOT 5
- A strange phenomenon of SVO algorithm HOT 1
- Issue Building on Raspberry Pi HOT 4
- frame index and timestamps HOT 1
- imu data is always zeros HOT 8
- Compiling sample on Mac OSX Yosemite - Unsupported file format HOT 1
- StereoBM parameters for additional depth maps HOT 5
- Is this a bug? I think there should be an assignment sentence.
- Use member function as a callback. HOT 3
- could you help me with Guidance in data? HOT 1
- Is it possible to obtain depth images and greyscale images of all five sensors in the same time when running usb_example? HOT 2
- Arduino or STM port
- Compiling usb example on Jetson TX1 with latest L4T Image HOT 10
- no callback for select_motion
- Error while trying to compile USB example HOT 6
- How to use Guidance SDK with OnboardSDK HOT 5
- ***stack smashing detected*** HOT 1
- Fly M100 without GPS use Guidance
- uart_example hangs on read_serial HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guidance-sdk.