Install and Setup VC++ and OpenGL Introduction to Computer Graphics and Animation (Principle of Computer Graphics) Rattapoom Waranusast.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
C Pre-Course Workshop Terence Lee QT406 -> PQ607
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Programming with OpenGL Part 1: Background Ed Angel Professor of Computer Science, Electrical.
Scite Scintilla integrated text editor. Click here.
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Using Visual C++ and Pelles C
PHY281Introduction to JavaSlide 1 Introduction to Java In this section we will learn how how to use Java and write our first Java Applet:  The Java Development.
Creating a Console Application with Visual Studio
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
September 2008 IT Software Development Guide.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Computing IV Visual C Introduction with OpenCV Example Xinwen Fu.
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.
Computer Programming for Engineers Introduction to Programming in C Language on Visual C Platform Intro. Comp. Prog. C-Language1.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
CSC 461: Lecture 41 CSC461: Lecture 4 Introduction to OpenGL Objectives: Development of the OpenGL API OpenGL Architecture -- OpenGL as a state machine.
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.
Jan. 29, 2008(c) Mike Barnoske Introduction to Runtime Debugging Using the Visual C++ IDE COP 4331: OO Processes for SW Development © Dr. David A. Workman.
OpenGl Graphics Programming. Introduction OpenGL is a low-level graphics library specification. It makes available to the programmer a small set of geomteric.
Lecture 1: Introduction. Pick Your Version of GLUT OpenGL and the GLUT are available for Windows, Linux and many other Operating Systems and platforms.
Programming with OpenGL Part 1: Background
1 Chapter 1 Introduction to Java. 2 History of Java Java Originally for _________________________ devices Then used for creating Web pages with __________________________.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Programming with OpenGL Part 1: Background Ed Angel Professor of Computer Science, Electrical.
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.
Lecture 6: Computer Languages. Programming Environments (IDE) COS120 Software Development Using C++ AUBG, COS dept.
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Introduction to OpenGL Programming Jian-Liang Lin 2002.
Programming with Visual C++ A short review of the process.
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:
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
LAB#1 CSC st semster H King Saud University College of Applied studies and Community Service Csc 1101.
CS 470 Computer Graphic Getting Started with OpenGL.
Gianfranco Doretto April 19, CS 174 Discussion 2 TA Gianfranco Doretto.
Computer Graphics Lab 1 OpenGL.
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.
CS 490 GRAPHICS COMPUTER Lecture 1: Introduction Computer Science Department 1.
Introduction to Eclipse Programming with an Integrated Development Environment.
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.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Downloading a Visual C compilers (try it yourself at home) Visual Studio 2012 can be found at:
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
Install for 64bit  Glui2.36.zip 을 다운로드  src  msvc  glui.sin 파일을 Visual Studio 2010 으로 열기  _glui library 를 선택후 빌드  빌드시 다음과 같은 오류가 발생하면 error C2252:
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
Computer Graphics -practical- Lecture 6. (visual c++) open gl library To use open GL with VC++ we add these files:- 1)Glut.h C:\program files\ Microsoft.
Tutorial 1 Writing Your First C++ Program CSC1110C Introduction to Computer Programming By Paul Pun Acknowledgement: Special thanks to Dr. Michael Fung.
Development Environment Setup
Programming with OpenGL Part 1: Background
OpenGL project setup.
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
1. Open Visual Studio 2008.
Programming with OpenGL Part 1: Background
ms vısual studıo 2008-Introductıon TUTORIAL
Lab 1 Introduction to C++.
Download and Installation of code::blocks
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Programming with OpenGL Part 1: Background
Java Code Review with CheckStyle
Presentation transcript:

Install and Setup VC++ and OpenGL Introduction to Computer Graphics and Animation (Principle of Computer Graphics) Rattapoom Waranusast

Installing OpenGL for Windows with VC Express Install Visual C Express –Go to and download the VC Expresshttp:// –Install and Register the product Install GLUT Library –Go to and download glut bin.zip (117 KB) (117 KB) –Copy glut32.dll to “C:\Windows\System32” –Copy glut32.lib to “C:\Program Files\Microsoft Visual Studio 10.0\VC\lib” –Copy glut.h to “C:\Program Files\Microsoft Visual Studio 10.0\VC\Include\gl” Note that you may have to create the gl directory. –Note that for newer and more active version of GLUT, try freeglut at and Done!!

Using OpenGL in VC Start VC Express Edition Under the File menu select New -> Project In the New Project Types window, select Visual C++ - Win32 on the left hand side and select Win32 Console Application on the right hand side, and uncheck “Create directory for solution” box. Specify name and location of the project In the Win32 Application Wizard window, select the Application Settings; then select the Application type as Console application, and tick the check box in front of Empty Project. Click Finish. Now the project is open; go to Project menu; select Add New Item. Select Visual C++ Code, and a C++ file (.cpp); name the file and click Add. Code whatever you want to this file or copy from existing.cpp file. Save and build your project by going to Debug -> Build Solution. Then execute the program with Debug -> Start Debugging. If the program has been built successfully, then you should see no error in the output window. Congratulations!

Glut & stdlib conflict 'exit' For.net, GLUT may have a conflict with stdlib.h. –If so, try the following change in glut.h: extern _CRTIMP void __cdecl exit(int); to extern _CRTIMP __declspec(noreturn) void __cdecl exit(int); –Or change sequence of #include to #include

OpenGL for Borland C++ Please visit web site for detail: – – – /assignments/opengl_borland.shtmlhttp:// /assignments/opengl_borland.shtml – –

Installing OGL for Java Install Java Development Kit –Go to follow the instruction to download and install Java SDK. Install JOGL –Go to and down load the softwarehttps://jogl.dev.java.net/ Install a Java IDE –You might want to use Eclipse, jGRASP, JBuilder, or etc. For more detail –go to html html

OpenGL and Linux Linux –GLUT uses XWindows libraries –Check for /usr/include/gl/glut.h and gl.h –GCC is generally used to compile –OpenGL is either MESA (Software) or provided by your graphics card (Hardware) Implementations of open specs –Program using any editor you like –Include and gcc filename.c -o outputname -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm

More on Installing OpenGL for Linux and Other OS’s Please refer to – – wnloads.phphttp:// wnloads.php – – – 1.1/ImpGuide/02_Install.htmlhttp:// 1.1/ImpGuide/02_Install.html