CS 450: COMPUTER GRAPHICS INSTALLING GLUT AND GLEW SPRING 2015 DR. MICHAEL J. REALE.

Slides:



Advertisements
Similar presentations
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Advertisements

CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Programming with OpenGL Part 1: Background Ed Angel Professor of Computer Science, Electrical.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
Programming with OpenGL Part 1: Background Mohan Sridharan Based on slides created by Edward Angel CS4395: Computer Graphics 1.
How to install the Zelle graphics package
How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Using Visual Studio 2013 An Integrated Development Environment (IDE)
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.
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.
CSC 215 : Procedural Programming with C C Compilers.
Interactive Computer Graphics CS 418 – Spring 2015 TA: Zhicheng Yan, Sushma S Kini, Mary Pietrowicz Originally created by Mahsa Kamali.
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.
Install and Setup VC++ and OpenGL Introduction to Computer Graphics and Animation (Principle of Computer Graphics) Rattapoom Waranusast.
Programming with OpenGL Part 1: Background
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Programming with OpenGL Part 1: Background Ed Angel Professor of Computer Science, Electrical.
Java and C# [this is a bonus – it is not a required lesson] ACO101: Introduction to Computer Science.
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Mohammadreza Asghari Oskoei University of Allameh 2012 Introduction to Visual Studio 2010.
1. OpenGL/GLU/GLUT  OpenGL v4.0 (latest) is the “core” library that is platform independent  GLUT v3.7 is an auxiliary library that handles window creation,
Introduction to OpenGL Programming Jian-Liang Lin 2002.
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:
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Programming with Visual Studio.NET A short review of the process.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
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.
CGGM Lab. Tan-Chi Ho Introduction to OpenGL.
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.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
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.
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:
Install for 64bit  Glui2.36.zip 을 다운로드  src  msvc  glui.sin 파일을 Visual Studio 2010 으로 열기  _glui library 를 선택후 빌드  빌드시 다음과 같은 오류가 발생하면 error C2252:
 CSC 215 : Procedural Programming with C C Compilers.
By Choose Between Windows Or Mac OSX Download the Full File With Crack / Patch Download here for Windows Operating.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
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.
Day 1 Session 2. Setup & Installation
CSC 215 : Procedural Programming with C
Programming with OpenGL Part 1: Background
Computer Terms Review from what language did C++ originate?
OpenGL project setup.
COMP 170 – Introduction to Object Oriented Programming
CMPE 152: Compiler Design ANTLR 4 and C++
Introduction to R.
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.
1. Open Visual Studio 2008.
Programming with OpenGL Part 1: Background
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Download and Installation of code::blocks
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Programming with OpenGL Part 1: Background
Computer Terms Review from what language did C++ originate?
Installations for Course
Presentation transcript:

CS 450: COMPUTER GRAPHICS INSTALLING GLUT AND GLEW SPRING 2015 DR. MICHAEL J. REALE

INTRODUCTION The following slides will explain how to install GLUT and GLEW on: Windows Unix/Linux Mac?

WINDOWS

DOWNLOAD GLUT AND GLEW GLUT: Go to Download the “bin” version of GLUT 3.7.6: GLEW: Go to Download the “Binaries Windows 32-bit and 64-bit”: Unzip both

INSTALL GLUT glut32.dll  copy to: 32-bit OS --> C:\Windows\System32\glut32.dll 64-bit OS --> C:\Windows\SysWOW64\glut32.dll glut32.h  copy to: C:\Program Files (x86)\Microsoft Visual Studio XX\VC\lnclude\GL\glut32.h XX = version of Visual Studio You may have to create the GL folder glut32.lib  copy to: C:\Program Files (x86)\Microsoft Visual Studio XX\VC\lib\glut32.lib C:\Program Files (x86)\Microsoft Visual Studio XX\VC\lib\amd64\glut32.lib

INSTALL GLEW Copy the following (NOTE: use the Win32 versions!): bin/Release/Win32/glew32.dll  C:\Windows\System32\glew32.dll bin/Release/Win32/glew32.dll --> C:\Windows\SysWOW64\glew32.dll lib/Release/Win32/glew32.lib  C:\Program Files (x86)\Microsoft Visual Studio XX\VC\lib\glew32.lib include/GL/*.h  C:\Program Files (x86)\Microsoft Visual Studio XX\VC\lnclude\GL\*.h

CREATE PROJECT In Visual Studio 2013 New Project Visual C++  Win32 Console Choose “Application Settings” and check “Empty”

SETTING UP YOUR PROJECT Right-click on your project name in the Solution Explorer and go to “Properties” Go to “Linker”  “Input”  “Additional Dependencies” Add: glew32.lib glut32.lib glu32.lib opengl32.lib Note items are separated by semicolons!

UNIX/LINUX

INSTALLING GLUT AND GLEW Both GLUT (or freeglut) and GLEW should be available in your respective package managers That said, you will want to install both the regular and developer (“devel”) versions of the packages: E.g., glut-devel and glew-devel

COMPILING YOUR CODE I’m assuming you are using g++ as your compiler If you source file is “HelloGL.cpp”, then use the following command: g++ HelloGL.cpp -o HelloGL -lglut -lGLEW -lGL -lGLU -std=c++11 This will create an executable called “HelloGL”./HelloGL

MAC?

MAC INSTRUCTIONS (SORT OF) Unfortunately, I do not have a Mac to test installing/compiling/running with GLUT and GLEW on it. GLUT: the following links contains instructions for install GLUT on Mac (and Windows and Unix/Linux) GLEW: It seems you have to compile it from source, or you have to use Homebrew If you run into problems (on any of these platforms), let me know.