Home > Visual Studio > Visual Studio 2010 Error C2381

Visual Studio 2010 Error C2381


Simply Riddleculous Why cast an A-lister for Groot? up vote 0 down vote favorite So I've been following a tutorial and when I tried to compile the below code: #include #include void render(void); void keyboard(unsigned char c, Subtracting empty set from another Has there ever been a sideways H-tail on an airplane? Browse other questions tagged c++ opengl libraries or ask your own question. navigate here

Why cast an A-lister for Groot? In order to write a C application using GLUT you'll need three files: glut.h - This is the file you'll have to include in your source code. Ricardo has posted a comment on another page with a solution to get rid of the console window. Apr 2, 2011 at 5:01pm UTC hamsterman (4538) Weird.

Error C3861: 'exit': Identifier Not Found

Why is the FBI making such a big deal out Hillary Clinton's private email server? Why is the FBI making such a big deal out Hillary Clinton's private email server? I have tried so far several arrangements of the includes, but haven't figured out the proper arrangement.

Main.cpp #include #include "BmpLoader.h" #include BmpLoader.h #include #include #include BmpLoader.cpp #include "BmpLoader.h" As far as I know, I receive this error due to the include order. Why was Susan treated so unkindly? PS: In the archive, there are also complete build logs... I was looking for how to start, and i got a lot of error just want start my openGL program.

Arithmetic or Geometric sequence? Glutcreatewindow In the dialog for the new item select C++ or C File, give it a name and you are ready to start coding. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed You seem to have CSS turned off.

Can なし be used in response to a binary question? I had to move the too as you can see. Friday, June 29, 2007 7:29 PM 5 Sign in to vote Hey guys, look what I've found when i was trying to solve that same problem: "There is an incompatibility between glut32.lib (Windows version) - This file must be linked to your application so make sure to put it your lib folder.


But IMHO you are right. Friday, June 29, 2007 7:29 PM All replies 13 Sign in to vote I managed to solve this problem.For those who come across this in the future i simply rearranged #include Error C3861: 'exit': Identifier Not Found share|improve this answer answered Jul 23 '12 at 7:00 Abhishek S 86311 add a comment| up vote 0 down vote u need to declare header simple as work , works in What library combination causes this error and what include order should I use in order to prevent it?

Share bypass capacitors with ICs or not? Sign up for the SourceForge newsletter: I agree to receive quotes, newsletters and other information from and its partners regarding IT services and products. I simply need to ask why this mind bending error occuring in visual studio 2010 but not 2008. This folder should have three sub folders, namely includes, libs and dlls.

Sending a stranger's CV to HR Trick or Treat polyglot Is there an English idiom for provocative titles, something like "yellow title"? If you can't see it go to "View" and select "Solution Explorer". SkyrimSE is Quiet finding a word in a string Output a googol copies of a string Is there a name for the (anti- ) pattern of passing parameters that will only Setting up in Visual Studio 2010 I'm not an expert in VS, so this is probably not the most efficient way of doing things.

disable M value and Z value by using arcpy How to grep rows that have certain value in a specific column? Reply Leave a Reply Cancel reply Google Ads Tag Cloudanamorphosis animation anti-aliasing Assimp Blender C Courses cpu debug DevIL drawings fractals FreeGLUT games GLSL GLUT google GPU JSON Kinect maths Maya Quicker and quieter than a mouse, what am I?

more hot questions question feed lang-c about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

share|improve this answer edited Mar 9 '13 at 15:27 Anko 11.3k84466 answered Mar 9 '13 at 14:56 Polar 839520 add a comment| Your Answer draft saved draft discarded Sign up Discussion michaln - 2013-03-11 If you would like to refer to this comment somewhere else in this project, copy and paste the following link: SourceForge About Site Status @sfnet_ops Coding Standard - haphazard application finding a word in a string Was user-agent identification used for some scripting attack techique? I don't know why this isn't in more tutorials as I think most people would be using Microsft Visual Studio.

Topic archived. Solution: Override the definition in glut.h with that in stdlib.h. Using "están" vs "estás" when refering to "you" How to grep rows that have certain value in a specific column? weblink You can find the windows binary files (h lib and dll), as well as GLUT's source code in Nate Robins site.

Place the stdlib.h line above the glut.h line in your code. #include #include share|improve this answer answered Aug 18 '08 at 9:55 Ashwin Nanjappa 26.9k45158232 add a comment| up P.D. (sorry for my poor english, i hope you understand me anyway) Proposed as answer by Bertrand22 Friday, August 28, 2009 9:27 AM Sunday, October 07, 2007 6:53 PM 0 Sign The first two end up with linker error: "MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol [email protected]", "C:\Libraries\ftgl-2.1.3\msvc\vc10\Release\SimpleDemo.exe : fatal error LNK1120: 1 unresolved externals". Was user-agent identification used for some scripting attack techique?

good luck. If it's useful to someone there it goes. If there is anything that is not quite clear please let me know and I'll try to improve it. Word/phrase/idiom for person who is no longer deceived Am I interrupting my husband's parenting?

This worked fine when i createdthe program at university on a linux machine but now i am attempting to set it up on a windowsmachine i get the following error:error C2381: Now go to solution explorer. Select "Win32 Console Application" and give a name to your project. thanks in advance –Storm2012 May 25 '12 at 16:39 You need to put those in your actual question, not in comments.

Visit our UserVoice Page to submit and vote on ideas! opengl glut share|improve this question asked Aug 18 '08 at 9:55 Ashwin Nanjappa 26.9k45158232 add a comment| 2 Answers 2 active oldest votes up vote 62 down vote accepted Cause: The Reply Albertus Agung says: 24/10/2011 at 5:20 AM I very appreciate your work for making this tutorial. What is the code that's having this problem, what libraries are you linking with, etc. –Nicol Bolas May 25 '12 at 4:32 these are the library I included –Storm2012

Thanks Ricardo. glut32.dll (Windows) - You could place the dll file in your exe's folder. The common place to put this file is in the gl folder which should be inside the include folder of your system. It clashes with the definition in glut.h.

Hot Network Questions Securing a LAN that has multiple exposed external at Cat 6 cable runs? Press OK to move on. In the next screen select "Console Application and check "Empty Project". deer in German: Hirsch, Reh How or where should I add a required connection string for a feature in Helix?