1. 程式人生 > >/usr/bin/ld: .build_release/tools/alignment_tools.o: undefined reference to symbol '

/usr/bin/ld: .build_release/tools/alignment_tools.o: undefined reference to symbol '

問題:/usr/bin/ld: .build_release/tools/alignment_tools.o: undefined reference to symbol '[email protected]@OMP_1.0'

解決:在Makefile中新增openmp連結庫命令

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