<legend id='M18l2'><style id='M18l2'><dir id='M18l2'><q id='M18l2'></q></dir></style></legend>

      <tfoot id='M18l2'></tfoot>

      <small id='M18l2'></small><noframes id='M18l2'>

    1. <i id='M18l2'><tr id='M18l2'><dt id='M18l2'><q id='M18l2'><span id='M18l2'><b id='M18l2'><form id='M18l2'><ins id='M18l2'></ins><ul id='M18l2'></ul><sub id='M18l2'></sub></form><legend id='M18l2'></legend><bdo id='M18l2'><pre id='M18l2'><center id='M18l2'></center></pre></bdo></b><th id='M18l2'></th></span></q></dt></tr></i><div id='M18l2'><tfoot id='M18l2'></tfoot><dl id='M18l2'><fieldset id='M18l2'></fieldset></dl></div>
          <bdo id='M18l2'></bdo><ul id='M18l2'></ul>

        模块对于 SAFESEH 图像 C++ 不安全

        时间:2023-10-05
      1. <small id='73tTC'></small><noframes id='73tTC'>

        <i id='73tTC'><tr id='73tTC'><dt id='73tTC'><q id='73tTC'><span id='73tTC'><b id='73tTC'><form id='73tTC'><ins id='73tTC'></ins><ul id='73tTC'></ul><sub id='73tTC'></sub></form><legend id='73tTC'></legend><bdo id='73tTC'><pre id='73tTC'><center id='73tTC'></center></pre></bdo></b><th id='73tTC'></th></span></q></dt></tr></i><div id='73tTC'><tfoot id='73tTC'></tfoot><dl id='73tTC'><fieldset id='73tTC'></fieldset></dl></div>
          <legend id='73tTC'><style id='73tTC'><dir id='73tTC'><q id='73tTC'></q></dir></style></legend>
              • <bdo id='73tTC'></bdo><ul id='73tTC'></ul>

                  <tbody id='73tTC'></tbody>

                <tfoot id='73tTC'></tfoot>

                  本文介绍了模块对于 SAFESEH 图像 C++ 不安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我使用的是 Microsoft Visual Studio 2011 Professional Beta

                  I am using Microsoft Visual Studio 2011 Professional Beta

                  我正在尝试运行 OpenCV C++ 文件(http://opencv.willowgarage.com/wiki/欢迎),我使用 cMake & 编译Visual Studio 编译器.

                  I am trying to run the OpenCV C++ files (http://opencv.willowgarage.com/wiki/Welcome) that I have compiled using cMake & the Visual Studio Complier.

                  然而,当我去调试项目时,我收到了 600 多个错误,其中大部分是:

                  However when I go to debug the project I get 600+ errors most of them being:

                  错误 LNK2026:模块对于 SAFESEH 图像不安全.

                  error LNK2026: module unsafe for SAFESEH image.

                  显然这些文件在 opencv_ffmpeg 项目中,但我找不到它们,我查看了 Microsoft 帮助页面上的 safeseh Safe Exception Handlers 页面,但找不到任何明确的答案.

                  Apparently these files are in the opencv_ffmpeg project but I couldn't find them, I have had a look at the safeseh Safe Exception Handlers page on the Microsoft help page but I couldn't find any definitive answers.

                  我想知道是否有其他人遇到过这个问题,他们是否设法解决了这个问题.

                  I was wondering if anyone else has had this problem and if they managed to fix it.

                  推荐答案

                  来自评论:

                  当您链接包含由早期版本的编译器创建的代码的 .obj 或 .lib 时,会发生这种情况.如果您下载了 opencv_ffmpeg 的二进制文件而不是源文件,这当然很常见.您可以关闭链接器选项,但是您仍然会遇到可以字节的 CRT 版本不兼容性.从源代码重建库.– 汉斯·帕桑特 5 月 15 日 13:01

                  感谢您的帮助,它奏效了 – 亚伦·汤普森 5 月 17 日 14:50

                  This happens when you link an .obj or .lib that contains code created by an earlier version of the compiler. Which of course would be common if you downloaded a binary for opencv_ffmpeg instead of the source. You can turn the linker option off but then you'll still have a CRT version incompatibility that can byte. Rebuild the library from source. – Hans Passant May 15 at 13:01  
                   
                  Thanks for the help, it worked – Aaron Thompson May 17 at 14:50

                  这篇关于模块对于 SAFESEH 图像 C++ 不安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:C++ 模板编译错误:“&gt;"标记之前的预期主 下一篇:'uint32_t' 标识符未找到错误

                  相关文章

                  最新文章

                  <small id='egDT5'></small><noframes id='egDT5'>

                    <bdo id='egDT5'></bdo><ul id='egDT5'></ul>
                  1. <legend id='egDT5'><style id='egDT5'><dir id='egDT5'><q id='egDT5'></q></dir></style></legend>

                    <tfoot id='egDT5'></tfoot>
                  2. <i id='egDT5'><tr id='egDT5'><dt id='egDT5'><q id='egDT5'><span id='egDT5'><b id='egDT5'><form id='egDT5'><ins id='egDT5'></ins><ul id='egDT5'></ul><sub id='egDT5'></sub></form><legend id='egDT5'></legend><bdo id='egDT5'><pre id='egDT5'><center id='egDT5'></center></pre></bdo></b><th id='egDT5'></th></span></q></dt></tr></i><div id='egDT5'><tfoot id='egDT5'></tfoot><dl id='egDT5'><fieldset id='egDT5'></fieldset></dl></div>