makefile / frcnn

Faster R-CNN / R-FCN :bulb: C++ version based on Caffe
Other
184 stars 75 forks source link

对‘GOMP_parallel’未定义的引用 对‘omp_get_thread_num’未定义的引用 #8

Closed wait1988 closed 6 years ago

wait1988 commented 6 years ago

如题,编译caffe时出现这个错误,在Makefile里面也加上了-fopenmp,还是报同样的错误

makefile commented 6 years ago

链接库包含gomp了吗? 像下面这样:

USE_OPENMP := 1
ifeq ($(USE_OPENMP), 1)
    CXXFLAGS += -fopenmp
    LDFLAGS += -lgomp
endif
wait1988 commented 6 years ago

@makefile It works,thx.