English 中文(简体)
视觉演播室关于退出声明的错误
原标题:Error in visual studio about exit declaration

使用 Opencv 和 Opengl 的代码:

  • 1>c:program files (x86)microsoft visual studio 9.0vcincludestdlib.h(371) : error C2381: exit : redefinition; __declspec(noreturn) differs

  • 1> c:program files (x86)microsoft visual studio 9.0vcincludeglglut.h(146) : see declaration of exit

  • 1> c:program files (x86)microsoft visual studio 9.0vcincludeglglut.h(146) : see declaration of exit

我怎样才能解决呢? **

问题回答

尝试将 # 包括“ glut.h ” 在内的“ glut.h” 移动到包含列表的末尾 。

我也有同样的问题, 我可以用重新排序来修正它, 包括声明 。 确保您的# 将 包含在您列表的顶部 包括 # 包含 并添加 # 包含 在您的末端列表中包含 < code\ lt; stdlib. h>





相关问题
How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Trouble with VS.PHP installing it s own Apache server

I tried installing VS.PHP some time ago. I was intent on seeing how it works with my current setup. I immediately encountered trouble: none of my sites wanted to render. On windows, I m using WAMP ...

Jquery and Intellisense in VS 2008 with hotfix and SP1

I followed Scott Guthrie s instructions as outlined at http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx but no avail: intellisense still doesn t work. Any tips?

Fixing "error C2065: undeclared identifier"

First off, I m completely out of my depth here. So the question might be the wrong one to ask, but here goes... As per the accepted answer to this question, I m trying to compile the bindings for the ...

View whitespace in VS2008

After Jeph most recent post: http://www.codinghorror.com/blog/archives/001310.html, I thought to myself it would be fun to see if any of my code has those trailing whitespaces. So I open Visual ...

热门标签