OpenMP vcomp.dll problem
来源:互联网 发布:数据的作用 编辑:程序博客网 时间:2024/05/29 19:38
All VC Libs DLLs require manifests to load them. Manifest should be generated and embedded in the binary when the project is built in the IDE.
For OpenMP the manifest is generated when omp.h is included. There are cases where a dependency on vcomp.dll can be pulled in without using the header. In these cases the manifest may not be generated.
To generate the manifest, include omp.h and built your project. IDE built projects will automatically embed the manifest in the binary (unless the project settings were changed to disable it)
If you are building from the command line then you can use the following to embed the manifest in the binary.
For EXEs
mt.exe -outputresource:<binary name>;1 -manifest <bianry name>.manifest
For DLLs
mt.exe -outputresource:<binary name>;2 -manifest <bianry name>.manifest
cl /MD b.cpp /LD
Once you have the manifest for your app you can deploy vcomp.dll
1. Shared location (%SYSTEMROOT%\WinSXS)
a. Using vcredist.exe - Installs all the VC DLLs
b. By merging the OMP MSM into your setup
2. Applocal install
Copy the OpenMP directory under VC\redist\<platform> as a subdirectory of the app directory.
http://msdn2.microsoft.com/zebw5zk9(en-US,VS.80).aspx has the deployment details.
Sridhar Madhugiri
Software Engineer
Visual C++
- OpenMP vcomp.dll problem
- 运行PoissonRecon总提示说缺少vcomp.dll文件
- OpenMP
- OpenMP
- openmp
- OpenMP
- openMP
- OpenMp
- OpenMP
- OpenMP
- OpenMP
- OpenMp
- OpenMP
- OpenMP
- OpenMP
- OpenMP
- OpenMP
- OpenMP
- 品牌or平台?中小互联网创业者何去何从
- JSP获取真实IP地址
- Qt 触摸屏校准
- java-面向对象(3)
- jbpm4综合案例视频教程
- OpenMP vcomp.dll problem
- 【程序猿感悟】技术人员如何走出职业迷茫
- Android MediaPlayer 生命周期
- Cocos2d-x学习(四):带光标的输入框
- android的adb详解(多设备时adb调用)
- 再谈Redirect(客户端重定向)和Dispatch(服务器端重定向)
- 【FLASH BUILDER 4.6 快捷键】只记几个对自己有帮助的
- learning Linux 1 part
- iframe获取子框架的值