Qt: OpenMP, undefined reference 错误
摘要:
Qt 默认情况下不能直接编译OpenMP程序; 在gcc中有对应的-fopenmp option; 在Qt中有QMAKE_CXXFLAGS += -fopenmp同时, LIBS += -lgomp -lpthread 添加相应库, 即可解决undefined reference 错误 阅读全文
posted @ 2011-08-26 19:53 seckcoder 阅读(333) 评论(0) 推荐(0)
浙公网安备 33010602011771号