Skip to content

Commit 1dae7e6

Browse files
committed
fix: 编译路径 环境问题
1 parent 6d51988 commit 1dae7e6

File tree

394 files changed

+11583
-5418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+11583
-5418
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
# python
66

7-
ros_21_tutorials/
7+
ros_21_tutorials/
8+
catkin_wp/build

Diff for: catkin_wp/build/CMakeCache.txt

+76-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This is the CMakeCache file.
2-
# For build in directory: /home/AzureUser/hcq/ROS/catkin_wp/build
2+
# For build in directory: /home/hcq/github/ROS/catkin_wp/build
33
# It was generated by CMake: /usr/bin/cmake
44
# You can edit this file to change values found and used by cmake.
55
# If you do not want to change any of the values, simply exit the editor.
@@ -27,7 +27,7 @@ BUILD_SHARED_LIBS:BOOL=ON
2727
CATKIN_BLACKLIST_PACKAGES:STRING=
2828

2929
//catkin devel space
30-
CATKIN_DEVEL_PREFIX:PATH=/home/AzureUser/hcq/ROS/catkin_wp/devel
30+
CATKIN_DEVEL_PREFIX:PATH=/home/hcq/github/ROS/catkin_wp/devel
3131

3232
//Catkin enable testing
3333
CATKIN_ENABLE_TESTING:BOOL=ON
@@ -125,7 +125,7 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
125125
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
126126

127127
//Install path prefix, prepended onto install directories.
128-
CMAKE_INSTALL_PREFIX:PATH=/home/AzureUser/hcq/ROS/catkin_wp/install
128+
CMAKE_INSTALL_PREFIX:PATH=/home/hcq/github/ROS/catkin_wp/install
129129

130130
//Path to a program.
131131
CMAKE_LINKER:FILEPATH=/usr/bin/ld
@@ -252,10 +252,10 @@ PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
252252
PYTHON_VERSION:STRING=2
253253

254254
//Value Computed by CMake
255-
Project_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build
255+
Project_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build
256256

257257
//Value Computed by CMake
258-
Project_SOURCE_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/src
258+
Project_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src
259259

260260
//Path to a library.
261261
RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
@@ -264,7 +264,7 @@ RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
264264
SETUPTOOLS_DEB_LAYOUT:BOOL=ON
265265

266266
//Name of the computer/site where compile is being run
267-
SITE:STRING=aitraining
267+
SITE:STRING=hcq-G5-5590
268268

269269
//LSB Distrib tag
270270
UBUNTU:BOOL=TRUE
@@ -284,6 +284,12 @@ _gtest_INCLUDES:FILEPATH=/usr/include/gtest/gtest.h
284284
//Path to a file.
285285
_gtest_SOURCES:FILEPATH=/usr/src/gtest/src/gtest.cc
286286

287+
//The directory containing a CMake configuration file for actionlib.
288+
actionlib_DIR:PATH=/opt/ros/melodic/share/actionlib/cmake
289+
290+
//The directory containing a CMake configuration file for actionlib_msgs.
291+
actionlib_msgs_DIR:PATH=/opt/ros/melodic/share/actionlib_msgs/cmake
292+
287293
//The directory containing a CMake configuration file for catkin.
288294
catkin_DIR:PATH=/opt/ros/melodic/share/catkin/cmake
289295

@@ -312,7 +318,7 @@ genpy_DIR:PATH=/opt/ros/melodic/share/genpy/cmake
312318
geometry_msgs_DIR:PATH=/opt/ros/melodic/share/geometry_msgs/cmake
313319

314320
//Value Computed by CMake
315-
gmock_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build/gtest/googlemock
321+
gmock_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/gtest/googlemock
316322

317323
//Dependencies for the target
318324
gmock_LIB_DEPENDS:STATIC=general;-lpthread;
@@ -327,13 +333,13 @@ gmock_build_tests:BOOL=OFF
327333
gmock_main_LIB_DEPENDS:STATIC=general;-lpthread;
328334

329335
//Value Computed by CMake
330-
googletest-distribution_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build/gtest
336+
googletest-distribution_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/gtest
331337

332338
//Value Computed by CMake
333339
googletest-distribution_SOURCE_DIR:STATIC=/usr/src/googletest
334340

335341
//Value Computed by CMake
336-
gtest_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build/gtest/googlemock/gtest
342+
gtest_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/gtest/googlemock/gtest
337343

338344
//Dependencies for the target
339345
gtest_LIB_DEPENDS:STATIC=general;-lpthread;
@@ -361,14 +367,41 @@ gtest_hide_internal_symbols:BOOL=OFF
361367
gtest_main_LIB_DEPENDS:STATIC=general;-lpthread;general;gtest;
362368

363369
//Value Computed by CMake
364-
learning_topic_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build/learning_topic
370+
learning_launch_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/learning_launch
371+
372+
//Value Computed by CMake
373+
learning_launch_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/learning_launch
374+
375+
//Value Computed by CMake
376+
learning_parameter_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/learning_parameter
377+
378+
//Value Computed by CMake
379+
learning_parameter_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/learning_parameter
380+
381+
//Value Computed by CMake
382+
learning_service_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/learning_service
383+
384+
//Value Computed by CMake
385+
learning_service_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/learning_service
386+
387+
//Value Computed by CMake
388+
learning_tf_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/learning_tf
389+
390+
//Value Computed by CMake
391+
learning_tf_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/learning_tf
365392

366393
//Value Computed by CMake
367-
learning_topic_SOURCE_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/src/learning_topic
394+
learning_topic_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/learning_topic
395+
396+
//Value Computed by CMake
397+
learning_topic_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/learning_topic
368398

369399
//Path to a library.
370400
lib:FILEPATH=/opt/ros/melodic/lib/libxmlrpcpp.so
371401

402+
//The directory containing a CMake configuration file for message_filters.
403+
message_filters_DIR:PATH=/opt/ros/melodic/share/message_filters/cmake
404+
372405
//The directory containing a CMake configuration file for message_generation.
373406
message_generation_DIR:PATH=/opt/ros/melodic/share/message_generation/cmake
374407

@@ -387,6 +420,9 @@ roscpp_serialization_DIR:PATH=/opt/ros/melodic/share/roscpp_serialization/cmake
387420
//The directory containing a CMake configuration file for roscpp_traits.
388421
roscpp_traits_DIR:PATH=/opt/ros/melodic/share/roscpp_traits/cmake
389422

423+
//The directory containing a CMake configuration file for rosgraph.
424+
rosgraph_DIR:PATH=/opt/ros/melodic/share/rosgraph/cmake
425+
390426
//The directory containing a CMake configuration file for rosgraph_msgs.
391427
rosgraph_msgs_DIR:PATH=/opt/ros/melodic/share/rosgraph_msgs/cmake
392428

@@ -396,17 +432,35 @@ rospy_DIR:PATH=/opt/ros/melodic/share/rospy/cmake
396432
//The directory containing a CMake configuration file for rostime.
397433
rostime_DIR:PATH=/opt/ros/melodic/share/rostime/cmake
398434

435+
//The directory containing a CMake configuration file for sensor_msgs.
436+
sensor_msgs_DIR:PATH=/opt/ros/melodic/share/sensor_msgs/cmake
437+
399438
//The directory containing a CMake configuration file for std_msgs.
400439
std_msgs_DIR:PATH=/opt/ros/melodic/share/std_msgs/cmake
401440

402441
//The directory containing a CMake configuration file for std_srvs.
403442
std_srvs_DIR:PATH=/opt/ros/melodic/share/std_srvs/cmake
404443

405444
//Value Computed by CMake
406-
test_pkg_BINARY_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/build/test_pkg
445+
test_pkg_BINARY_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/build/test_pkg
407446

408447
//Value Computed by CMake
409-
test_pkg_SOURCE_DIR:STATIC=/home/AzureUser/hcq/ROS/catkin_wp/src/test_pkg
448+
test_pkg_SOURCE_DIR:STATIC=/home/hcq/github/ROS/catkin_wp/src/test_pkg
449+
450+
//The directory containing a CMake configuration file for tf2.
451+
tf2_DIR:PATH=/opt/ros/melodic/share/tf2/cmake
452+
453+
//The directory containing a CMake configuration file for tf2_msgs.
454+
tf2_msgs_DIR:PATH=/opt/ros/melodic/share/tf2_msgs/cmake
455+
456+
//The directory containing a CMake configuration file for tf2_py.
457+
tf2_py_DIR:PATH=/opt/ros/melodic/share/tf2_py/cmake
458+
459+
//The directory containing a CMake configuration file for tf2_ros.
460+
tf2_ros_DIR:PATH=/opt/ros/melodic/share/tf2_ros/cmake
461+
462+
//The directory containing a CMake configuration file for tf.
463+
tf_DIR:PATH=/opt/ros/melodic/share/tf/cmake
410464

411465
//The directory containing a CMake configuration file for turtlesim.
412466
turtlesim_DIR:PATH=/opt/ros/melodic/share/turtlesim/cmake
@@ -420,12 +474,12 @@ xmlrpcpp_DIR:PATH=/opt/ros/melodic/share/xmlrpcpp/cmake
420474
########################
421475

422476
//catkin environment
423-
CATKIN_ENV:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/build/catkin_generated/env_cached.sh
424-
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/build/test_results
477+
CATKIN_ENV:INTERNAL=/home/hcq/github/ROS/catkin_wp/build/catkin_generated/env_cached.sh
478+
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/hcq/github/ROS/catkin_wp/build/test_results
425479
//ADVANCED property for variable: CMAKE_AR
426480
CMAKE_AR-ADVANCED:INTERNAL=1
427481
//This is the directory where this CMakeCache.txt was created
428-
CMAKE_CACHEFILE_DIR:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/build
482+
CMAKE_CACHEFILE_DIR:INTERNAL=/home/hcq/github/ROS/catkin_wp/build
429483
//Major version of cmake used to create the current loaded cache
430484
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
431485
//Minor version of cmake used to create the current loaded cache
@@ -472,6 +526,8 @@ CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
472526
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
473527
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
474528
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
529+
//Path to cache edit program executable.
530+
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/cmake-gui
475531
//Executable file format
476532
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
477533
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
@@ -504,7 +560,7 @@ CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
504560
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
505561
//Source directory with the top level CMakeLists.txt file for this
506562
// project
507-
CMAKE_HOME_DIRECTORY:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/src
563+
CMAKE_HOME_DIRECTORY:INTERNAL=/home/hcq/github/ROS/catkin_wp/src
508564
//Install .so files without execute permission.
509565
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
510566
//ADVANCED property for variable: CMAKE_LINKER
@@ -524,7 +580,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
524580
//ADVANCED property for variable: CMAKE_NM
525581
CMAKE_NM-ADVANCED:INTERNAL=1
526582
//number of local generators
527-
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=6
583+
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=10
528584
//ADVANCED property for variable: CMAKE_OBJCOPY
529585
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
530586
//ADVANCED property for variable: CMAKE_OBJDUMP
@@ -572,12 +628,12 @@ FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
572628
GMOCK_FROM_SOURCE_FOUND:INTERNAL=TRUE
573629
GMOCK_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/include
574630
GMOCK_FROM_SOURCE_LIBRARIES:INTERNAL=gmock
575-
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/build/gmock
631+
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/hcq/github/ROS/catkin_wp/build/gmock
576632
GMOCK_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gmock_main
577633
GTEST_FROM_SOURCE_FOUND:INTERNAL=TRUE
578634
GTEST_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/include
579635
GTEST_FROM_SOURCE_LIBRARIES:INTERNAL=gtest
580-
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/AzureUser/hcq/ROS/catkin_wp/build/gtest
636+
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/hcq/github/ROS/catkin_wp/build/gtest
581637
GTEST_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gtest_main
582638
//ADVANCED property for variable: GTEST_INCLUDE_DIR
583639
GTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1

Diff for: catkin_wp/build/CMakeFiles/3.10.2/CMakeSystem.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
set(CMAKE_HOST_SYSTEM "Linux-5.3.0-1031-azure")
1+
set(CMAKE_HOST_SYSTEM "Linux-5.4.0-51-generic")
22
set(CMAKE_HOST_SYSTEM_NAME "Linux")
3-
set(CMAKE_HOST_SYSTEM_VERSION "5.3.0-1031-azure")
3+
set(CMAKE_HOST_SYSTEM_VERSION "5.4.0-51-generic")
44
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
55

66

77

8-
set(CMAKE_SYSTEM "Linux-5.3.0-1031-azure")
8+
set(CMAKE_SYSTEM "Linux-5.4.0-51-generic")
99
set(CMAKE_SYSTEM_NAME "Linux")
10-
set(CMAKE_SYSTEM_VERSION "5.3.0-1031-azure")
10+
set(CMAKE_SYSTEM_VERSION "5.4.0-51-generic")
1111
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
1212

1313
set(CMAKE_CROSSCOMPILING "FALSE")

Diff for: catkin_wp/build/CMakeFiles/CMakeDirectoryInformation.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
33

44
# Relative path conversion top directories.
5-
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/AzureUser/hcq/ROS/catkin_wp/src")
6-
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/AzureUser/hcq/ROS/catkin_wp/build")
5+
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/hcq/github/ROS/catkin_wp/src")
6+
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/hcq/github/ROS/catkin_wp/build")
77

88
# Force unix paths in dependencies.
99
set(CMAKE_FORCE_UNIX_PATHS 1)

Diff for: catkin_wp/build/CMakeFiles/CMakeError.log

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Determining if the pthread_create exist failed with the following output:
2-
Change Dir: /home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
2+
Change Dir: /home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
33

4-
Run Build Command:"/usr/bin/make" "cmTC_0c54a/fast"
5-
/usr/bin/make -f CMakeFiles/cmTC_0c54a.dir/build.make CMakeFiles/cmTC_0c54a.dir/build
6-
make[1]: Entering directory '/home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp'
7-
Building C object CMakeFiles/cmTC_0c54a.dir/CheckSymbolExists.c.o
8-
/usr/bin/cc -o CMakeFiles/cmTC_0c54a.dir/CheckSymbolExists.c.o -c /home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
9-
Linking C executable cmTC_0c54a
10-
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c54a.dir/link.txt --verbose=1
11-
/usr/bin/cc -rdynamic CMakeFiles/cmTC_0c54a.dir/CheckSymbolExists.c.o -o cmTC_0c54a
12-
CMakeFiles/cmTC_0c54a.dir/CheckSymbolExists.c.o: In function `main':
13-
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
4+
Run Build Command:"/usr/bin/make" "cmTC_35312/fast"
5+
/usr/bin/make -f CMakeFiles/cmTC_35312.dir/build.make CMakeFiles/cmTC_35312.dir/build
6+
make[1]: 进入目录“/home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
7+
Building C object CMakeFiles/cmTC_35312.dir/CheckSymbolExists.c.o
8+
/usr/bin/cc -o CMakeFiles/cmTC_35312.dir/CheckSymbolExists.c.o -c /home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
9+
Linking C executable cmTC_35312
10+
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35312.dir/link.txt --verbose=1
11+
/usr/bin/cc -rdynamic CMakeFiles/cmTC_35312.dir/CheckSymbolExists.c.o -o cmTC_35312
12+
CMakeFiles/cmTC_35312.dir/CheckSymbolExists.c.o:在函数‘main’中:
13+
CheckSymbolExists.c:(.text+0x1b):对‘pthread_create’未定义的引用
1414
collect2: error: ld returned 1 exit status
15-
CMakeFiles/cmTC_0c54a.dir/build.make:97: recipe for target 'cmTC_0c54a' failed
16-
make[1]: *** [cmTC_0c54a] Error 1
17-
make[1]: Leaving directory '/home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp'
18-
Makefile:126: recipe for target 'cmTC_0c54a/fast' failed
19-
make: *** [cmTC_0c54a/fast] Error 2
15+
CMakeFiles/cmTC_35312.dir/build.make:97: recipe for target 'cmTC_35312' failed
16+
make[1]: *** [cmTC_35312] Error 1
17+
make[1]: 离开目录“/home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
18+
Makefile:126: recipe for target 'cmTC_35312/fast' failed
19+
make: *** [cmTC_35312/fast] Error 2
2020

21-
File /home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
21+
File /home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
2222
/* */
2323
#include <pthread.h>
2424

@@ -34,22 +34,22 @@ int main(int argc, char** argv)
3434
}
3535

3636
Determining if the function pthread_create exists in the pthreads failed with the following output:
37-
Change Dir: /home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
37+
Change Dir: /home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
3838

39-
Run Build Command:"/usr/bin/make" "cmTC_4cdce/fast"
40-
/usr/bin/make -f CMakeFiles/cmTC_4cdce.dir/build.make CMakeFiles/cmTC_4cdce.dir/build
41-
make[1]: Entering directory '/home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp'
42-
Building C object CMakeFiles/cmTC_4cdce.dir/CheckFunctionExists.c.o
43-
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_4cdce.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
44-
Linking C executable cmTC_4cdce
45-
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4cdce.dir/link.txt --verbose=1
46-
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_4cdce.dir/CheckFunctionExists.c.o -o cmTC_4cdce -lpthreads
47-
/usr/bin/ld: cannot find -lpthreads
39+
Run Build Command:"/usr/bin/make" "cmTC_78dfb/fast"
40+
/usr/bin/make -f CMakeFiles/cmTC_78dfb.dir/build.make CMakeFiles/cmTC_78dfb.dir/build
41+
make[1]: 进入目录“/home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
42+
Building C object CMakeFiles/cmTC_78dfb.dir/CheckFunctionExists.c.o
43+
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_78dfb.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
44+
Linking C executable cmTC_78dfb
45+
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_78dfb.dir/link.txt --verbose=1
46+
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_78dfb.dir/CheckFunctionExists.c.o -o cmTC_78dfb -lpthreads
47+
/usr/bin/ld: 找不到 -lpthreads
4848
collect2: error: ld returned 1 exit status
49-
CMakeFiles/cmTC_4cdce.dir/build.make:97: recipe for target 'cmTC_4cdce' failed
50-
make[1]: *** [cmTC_4cdce] Error 1
51-
make[1]: Leaving directory '/home/AzureUser/hcq/ROS/catkin_wp/build/CMakeFiles/CMakeTmp'
52-
Makefile:126: recipe for target 'cmTC_4cdce/fast' failed
53-
make: *** [cmTC_4cdce/fast] Error 2
49+
CMakeFiles/cmTC_78dfb.dir/build.make:97: recipe for target 'cmTC_78dfb' failed
50+
make[1]: *** [cmTC_78dfb] Error 1
51+
make[1]: 离开目录“/home/hcq/github/ROS/catkin_wp/build/CMakeFiles/CMakeTmp
52+
Makefile:126: recipe for target 'cmTC_78dfb/fast' failed
53+
make: *** [cmTC_78dfb/fast] Error 2
5454

5555

0 commit comments

Comments
 (0)