CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com Register Help Remember Me? Click the Application Settings tab on the left, and check the Empty Project box. Here are some screenshots: It gives me the error on the GL/glut.h line : #include // For MS Windows #include // GLUT, includes glu.h and gl.h I installed windows

Close the settings. What's New? For example: #include int main () { return 0; } 3. #include Gl/glut.h Means I've tried it just now, same error.2.

Required fields are marked *Comment Name * Email * Website Recent Posts Excel-ing at the speed of C MSBuild ToolTask logging headaches Caching PuTTY SSH host keys with PowerShell Universal Unique Glut.h Download Looking for a nice example for normal subgroups Were the Smurfs the first to smurf their smurfs? then I open properties from new project , go to linker , choose input and add GlU32.Lib OpenGL32.Lib freeglut.lib glut32.lib to Additional dependencies. https://www.opengl.org/discussion_boards/showthread.php/139789-cant-open-include-file-GL-glut-h Go to http://freeglut.sourceforge.net/index.php#download , follow the link to the prebuilt Windows library packages (http://www.transmissionzero.co.uk/software/freeglut-devel/), download the MSVC build (http://files.transmissionzero.co.uk/software/development/GLUT/freeglut-MSVC.zip).

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms Download Glut it's not part of OpenGL. asked 2 years ago viewed 2317 times active 2 years ago Related 5Opengl version trouble glew.h8OpenGL and GLUT in Eclipse on OS X0Creating a C++ visual studio project based on existing To create an empty console project in Visual Studio, do the following: Create a new project ( File → New → Project... ).

Glut.h Download

But only if you are doing it that way. http://www.cplusplus.com/forum/beginner/72392/ How might one go about changing these paths? Cannot Open Source File Gl Glut H Visual Studio The general approach is to run the VC++ one, followed by the appropriate PSDK one. 2.7 You will also need to set compiler options yourself. Install Glut current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

twice.. news After the install i check, and  VC++ setup one environment variable only:variable name:  VS80COMNTOOLSvariable value:  C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Theres no other variable that remotely looks like VC++ related, not even What is the definition of "rare language"? If you try to compile, VS will fail to compile. Gl/glut.h Ubuntu

tried it also, doesnt work. Here's what you should see in your VC++ Directories panes: Under Executable Files: $(VCInstallDir)bin$(VCInstallDir)PlatformSDK\bin ... [bunch more] ...$(Path) Under Include Files: $(VCInstallDir)include$(VCInstallDir)PlatformSDK\include$(FrameWorkSDKDir)include Under Library Files: $(VCInstallDir)lib$(VCInstallDir)PlatformSDK\lib... [3 others] ...$(VSInstallDir)lib This is a Pages: [1] Go Down « previous next » Send this topic | Print Author Topic: Cannot open include file: 'glut.h': No such file or directory. ?? (Read 14123 times) have a peek at these guys more hot questions question feed lang-cpp about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

In my case, I've got to use #include Jun 3, 2012 at 5:00pm UTC lediable (14) My apologizes catfish for not including a question and for the post being Gl/glut.h No Such File Or Directory Dev C++ Save any code that you want to preserve from existing VC++ Express Edition projects.  Then delete your My Documents\Visual Studio 2005 directory. 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

II.

Join our community for more solutions or to ask questions. How to harness Jupiter's gravitational energy? At this point a clean re-install would be welcome, but how does one do a "clean-reinstall" i was reinstalling VC++ Express 3 times yesterday, it still had all my default paths Gl/glut.h Header File You'll also need to declare the "Additional Dependencies" under "Linker"->"Input".

In a company crossing multiple timezones, is it rude to send a co-worker a work email in the middle of the night? If they don't have this file in the same directory as your application or in their C:\WINDOWS\system folder, the program will not run. The program should now compile. check my blog No new replies allowed.

Step 5: Enjoy Visual Studio back to top ↑ Now your program is ready for development in an excellent IDE while still being portable. I'm not sure, I recently uninstalled it. Join them; it only takes a minute: Sign up How to fix this Error: #include “Cannot open source file gl/glut.h” up vote 12 down vote favorite 8 I was doing You may skip to step #1 below.

I was using CodeBlock IDE for awhile but following a MS Visual C++ 2003 tutorial with it would be painful, since i'm new to C++ programming, Never had this problem before Open the "OpenGLLesson1" project folder -or whatever you named your project- then open the second folder with the same name..