[英]OpenCV: Text does not display when using the Qt library with cvFontQt and cvAddText on Windows 10 in VS2015 x64 build
[英]build Fortran .lib x64 bit on windows 10 using VS2015 and link it to C++
我正在使用 VS2015 构建一个 c++ 和 Fortran 混合程序,这在 windows 7 上非常好。首先构建了 Fortran XXX.lib,然后链接到 C++ XXX_main(构建依赖项 -> 项目依赖项)。 现在我正在尝试使用目标计算机 x64 将其迁移到 Windows 10,但仍在使用 VS2015 并且存在编译错误,我在搜索数周后找不到解决方案。
以下是编译信息:
------ Neues Erstellen gestartet: Projekt: XXX, Konfiguration: Debug x64 ------
1>Deleting intermediate files and output files for project 'XXX', configuration 'Debug|x64'.
1>Compiling with Intel(R) Visual Fortran Compiler 19.0.5.281 [Intel(R) 64]...
1>scout2d.f
1>E:\test\src\scout2d.f(74): error #8110: The module file for compiler-generated interface was generated for a different platform or by an incompatible compiler or compiler release. It cannot be read. Use -gen-interfaces option. [XGET__GENMOD]
1>fortcom: Fatal: There has been an internal compiler error (C0000005).
1>compilation aborted for E:\test\src\scout2d.f (code 1)
...........
1>scp_lib - 82 error(s), 18 warning(s)
1>XXX - 82 error(s), 18 warning(s)
2>------ Neues Erstellen gestartet: Projekt: XXX_main, Konfiguration: Debug x64 ------
...........
2> XXX_main.vcxproj -> E:\test\x64\Debug\XXX_main.exe
2> XXX_main.vcxproj -> E:\test\x64\Debug\/XXX_main.pdb (Full PDB)
========== Alles neu erstellen: 1 erfolgreich, 1 fehlerhaft, 0 übersprungen ==========
源文件当然与 Windows 7 上的相同。以下是我在 Windows 10 上使用 VS2015 对 x64 系统所做的或尝试的更改。 欢迎任何建议。 谢谢!
我找到了解决方案。 这是我所做的:
无论如何感谢您的帮助。 此致
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.