1 How to Install OpenGL u Software running under Microsoft Windows makes extensive use of "dynamic link libraries." A dynamic link library (DLL) is a set.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Specify options. Customize the appearance of messages. Add a signature to an .
Advertisements

Creating a Dialog-Based Comet Windows Program Brian Levantine.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Downloading Audacity software Julie Collareda Adapted from Shaughnessy 2006.
Click Here for Download the Installation Files Click Here for Guide How to Extract Installation Files.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Chapter 8: Programming the Microprocessor. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
Using Visual C++ and Pelles C
Create A Visual Studio Template
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
November 2014Prepared by the Computer Lab Montgomery County-Norristown Public Library.
ICP Kit 2011 HHC Data Entry Module The World Bank ICP Kit Training African Development Bank.
IT 211 Project Integration and Deployment Lab #11.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
2001 by Jim X. Chen: Professor Jim X. Chen Department of Computer Science George Mason University Fairfax, VA
Setting up Eclipse Computer Organization I 1 August 2009 ©2009 McQuain Getting Eclipse for C/C++ Development Go to and click on Download.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
OpenGl Graphics Programming. Introduction OpenGL is a low-level graphics library specification. It makes available to the programmer a small set of geomteric.
Creating a Project with C++ Builder
Install and Setup VC++ and OpenGL Introduction to Computer Graphics and Animation (Principle of Computer Graphics) Rattapoom Waranusast.
CS 450: COMPUTER GRAPHICS INSTALLING GLUT AND GLEW SPRING 2015 DR. MICHAEL J. REALE.
Java and C# [this is a bonus – it is not a required lesson] ACO101: Introduction to Computer Science.
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
OBJECTIVE  After completing this Lab, students will upgrade their knowledge in the field of VC++.  Students will also get the clear view about the concepts.
Active-HDL Interfaces Debugging C Code Course 10.
Unit 1: Java and Eclipse The Eclipse Development Environment.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Programming with Visual Studio.NET A short review of the process.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Gianfranco Doretto April 19, CS 174 Discussion 2 TA Gianfranco Doretto.
NoufNaief.net TA: Nouf Al-harbi.
Computer Graphics Lab 1 OpenGL.
CS 490 GRAPHICS COMPUTER Lecture 1: Introduction Computer Science Department 1.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Intro Compiler Configuration and Sample Project Walkthrough (For Axiom CME11E9-EVB)
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Word 2010 Headers and Footers You can make your document look professional and polished by utilizing headers and footers. The header is a section of the.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
Install for 64bit  Glui2.36.zip 을 다운로드  src  msvc  glui.sin 파일을 Visual Studio 2010 으로 열기  _glui library 를 선택후 빌드  빌드시 다음과 같은 오류가 발생하면 error C2252:
Getting Eclipse for C/C++ Development
Export Application Object Tree Items
Customizing the Quick Access Toolbar in Microsoft Office
OpenGL project setup.
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
CMPE 152: Compiler Design ANTLR 4 and C++
TCL command in C, a simple example Nguyen Truong – GCS VN Aug 5, 2004
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
CIS16 Application Development Programming with Visual Basic
1. Open Visual Studio 2008.
Microsoft Visual Studio
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Double click Microsoft Visual Studio 2010 on the Computer Desktop
These slides are for reference only. They are not "lecture notes"
Software Setup & Validation
Getting Eclipse for C/C++ Development
Presentation transcript:

1 How to Install OpenGL u Software running under Microsoft Windows makes extensive use of "dynamic link libraries." A dynamic link library (DLL) is a set of executable code that has the following properties: –the code is loaded at run time only when it is actually needed (dynamically linked) –it is group of functions for accomplishing common tasks (a library)

2 How to Install OpenGL u To create code that uses DLL's, you typically need 3 types of software: –header files (*.h) n these files contain data type definitions and function prototypes that allow your code to be compiled correctly. n They are text files that you can read and study to get a better understand of how the software works.

3 How to Install OpenGL –library files (*.lib) n these files typically contain function "stubs" that know how to invoke appropriate DLL functions at run time. n these files are used at link time to create your executable file. –DLL files (*.dll) n these files contain the actual executable library code. n these files are invoked at run time.

4 Installation Procedure u Step 1: Download the software u Step 2: Unarchive the files: – Unzip the archive file: OpenglSoftware.zip u Step 3: Copy the Dynamic Link Libraries (DLL) Files to the Operating System Folder: Copy the files –Opengl32.dll –Glu32.dll –glut32.dll –to the folder C:\Windows\System. Note: The first two DLL's may already be there. If it prompts you that the file already exists, select the option that chooses the file with the most recent date.

5 Installation Procedure u Step 4: Copy the OpenGL Header Files to the Compiler Folders: Go to the "include" folder of your compiler. For Visual C++, this folder is C:\Program Files\Microsoft Visual Studio\Vc98\Include Create a new subfolder called "GL" in this folder (if the folder already exists, do nothing) Copy the following files into the "GL" folder: –Gl.h –Glu.h –glut.h u Note: The first two.h files may already be there. If it prompts you that the file already exists, select the option that chooses the file with the most recent date.

6 Installation Procedure u Step 5: Copy the OpenGL Library Files to the Compiler Folders: Go to the "Library" folder of your compiler. For Visual C++, this is the folder C:\Program Files\Microsoft Visual Studio\Vc98\Lib Create a new subfolder called "OpenGL" in this folder. Copy the following files into this subfolder: –OpenGl32.lib –Glu32.lib –glut32.lib –glut32.lib

7 OpenGL in Visual C++ u Step 1: Create a personal folder (directory) on the C: hardrive to save your work. u Step 2: Launch Microsoft Visual Studio, Visual C++ u Step 3: Create a new project: –Under the "File" menu; execute the "New" command. –Under the "File" menu; execute the "New" command. –Select the project type as "Win32 Console Application" n If you do not see this as an option, you are not in the "projects folder." Select the "Project" tab at the top of the window. –Type a project name into the edit box. For example: Lab01 –Type a project name into the edit box. For example: Lab01 –Change the location of the project to your personal folder/directory. –Change the location of the project to your personal folder/directory. n Note: Never save your work under the Visual C++ folders hierarchy. –Select the "OK" button. –Select the "An empty project" radio button; then select the "Finish" button. –Select "OK" on the next window.

8 OpenGL in Visual C++ u Step 4: Add source code files to the project –If the files already exist n Use "Project" menu: select "Add to Project" command: "Add files" command. n Select one or more appropriate files n Select "OK" –To create new files n Use the "File" menu: select "New" command: select the appropriate type of file n Enter and edit your text as needed. n Save your work n Use "Project" menu: select "Add to Project" command: "Add files" command. n Select one or more appropriate files n Select "OK"

9 OpenGL in Visual C++ u Step 5: Add the OpenGL library files to the project as in step 4. –Use "Project" menu: select "Add to Project" command: "Add files" command. –Change to the folder that contains the library files; in the UPM labs, this will be the folder ? –If you do not see the files appear, it is probably due to the wrong "file type filter"; change the filter to *.lib. –Select the following 3 libraries n OpenGl32.lib n Glu32.lib n glut32.lib –Select "OK"

10 OpenGL in Visual C++ u Step 6: Execute the program –To compile the currently open file: –To compile the currently open file: n Use "Build" menu; select "Compile" command –To compile and link: n Use "Build" menu; select "Build" command –To compile, link, and execute: –To compile, link, and execute: n Use "Build" menu; select "Execute" command n Use "Build" menu; select "Execute" command