Skip to content

编译问题 #85

@lde123

Description

@lde123

不好意思打扰了,请问在编译simulate的时候
/usr/bin/ld: /usr/local/cuda-12.4/lib64/../lib/libcudart_static.a(cudart_static.o): undefined reference to symbol 'pthread_rwlockattr_init@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libpthread.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/dataset_generator.dir/build.make:352:/home/li/YOPO/Simulator/devel/lib/sensor_simulator/dataset_generator] 错误 1
make[1]: *** [CMakeFiles/Makefile2:1297:CMakeFiles/dataset_generator.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[100%] Built target sensor_simulator_cuda
make: *** [Makefile:146:all] 错误 2,
是因为我没有用cuda118而是用的cuda124对应的pytorch吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions