main.cpp:(.text+0x4e): undefined reference to `__kmpc_begin'main.cpp:(.text+0xb2): undefined reference to `__kmpc_ok_to_fork'
main.cpp:(.text+0xc9): undefined reference to `__kmpc</
它看起来是这样的:\libgomp.a(team.o):(.text+0x19): undefined当我尝试使用-fopenmp=libomp标志时,我得到的错误如下:...: undefinedreference to `__imp___kmpc_for_static_init_4'
...: und
但是,当杂注是代码的一部分时,我会得到以下错误:
IncrementalExecutor::executeFunction: symbol '__kmpc_for_static_fini' unresolvedIncrementalExecutor::executeFunction: symbol '__kmpc_for_static_init_4' unresolved while linking symbolIncrementalExecutor::executeFunction: symbol '__<