VS 2005 Professional中的64位openMP支持 [英] 64bit openMP Support in VS 2005 Professional
问题描述
我已经构建了一个简单的openMP win32控制台应用程序,没有问题.但是,当尝试构建与x64相同的代码时,所有openMP符号都有链接错误:
I have built a simple openMP win32 console application without problem. However, when attempting to build the same code as x64 I have link errors for all the openMP symbols:
错误LNK2019:函数main中引用的未解析的外部符号_vcomp_fork
错误LNK2019:函数main $ omp $ 1
中引用了无法解析的外部符号_vcomp_for_static_end
错误LNK2019:函数main $ omp $ 1
error LNK2019: unresolved external symbol _vcomp_fork referenced in function main
error LNK2019: unresolved external symbol _vcomp_for_static_end referenced in function main$omp$1
error LNK2019: unresolved external symbol _vcomp_for_static_simple_init referenced in function main$omp$1
如果我搜索导入库(vcompd.lib),则只能在以下目录中找到x86版本:/Microsoft Visual Studio 8/VC/lib/
If I search for the import library (vcompd.lib), I can only find the x86 version in : /Microsoft Visual Studio 8/VC/lib/
/Microsoft Visual Studio 8/VC/lib/amd64(或其他任何位置)中不存在相应的x64库.
the corrsponding x64 lib is not present in /Microsoft Visual Studio 8/VC/lib/amd64 (or anywhere else).
问题:
1)VS2005是否支持64位openMP?
1) Does VS2005 support 64bit openMP?
2)如果是,我是缺少64位vcompd.lib还是其他错误?
2) If so, am I missing 64 bit vcompd.lib or is something else wrong?
推荐答案
Hello StuartTimms,
我正在将您的案例移至C ++论坛. /span>
I am moving your case to the C++ forum.
谢谢.
这篇关于VS 2005 Professional中的64位openMP支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!