问题:/usr/bin/ld: .build_release/tools/alignment_tools.o: undefined reference to symbol 'omp_get_thread_num@@OMP_1.0'

解决:在Makefile中添加openmp链接库命令

LINKFLAGS += -fopenmp -pthread -fPIC $(COMMON_FLAGS) $(WARNINGS) -std=c++11

相关文章:

  • 2022-12-23
  • 2021-05-20
  • 2021-11-01
  • 2022-12-23
  • 2021-07-18
  • 2022-03-01
  • 2022-01-27
  • 2022-12-23
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2021-08-04
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
相关资源
相似解决方案