OpenGL project setup.

Slides:



Advertisements
Similar presentations
Version Control System (Sub)Version Control (SVN).
Advertisements

1 Visual Basic.NET Application Overview. 2 Objectives Discuss what a typical Visual Basic.NET application looks like Configure the Visual Studio.NET Integrated.
Create A Visual Studio Template
How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms.
LaMothe DirectX Game in Visual Studio 2008 Matthew Sable.
INDEX ∞ Image Processing ∞ OpenCV ∞ Download & Setup ∞ Make Project ∞ Show Result ∞ Q & A Setup OpenCV & Tutorial.
Other Features Index and table of contents Macros and VBA.
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
1 Deploying a Web Application. 2 Virtual Directories Web servers map URLs to directories in their file systems. Called virtual directories. Normally one.
September 2008 IT Software Development Guide.
Introduction to VB.NET Tonga Institute of Higher Education.
Moving & Copying Web Applications 1. 2 Why Do We Need to Copy or Move a Web Application?  So you can run someone else’s sample code.  So you can backup.
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.
1- Date TimePicker 2- Month Calendar 3- User Defined Controls.
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.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
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.
2001 by Jim X. Chen: Professor Jim X. Chen Department of Computer Science George Mason University Fairfax, VA
Install and Setup VC++ and OpenGL Introduction to Computer Graphics and Animation (Principle of Computer Graphics) Rattapoom Waranusast.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
CS 450: COMPUTER GRAPHICS INSTALLING GLUT AND GLEW SPRING 2015 DR. MICHAEL J. REALE.
®® Microsoft Windows 7 for Power Users Tutorial 4 Creating and Customizing Shortcuts.
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Project Deployment IT [211 CAP] How to convert your project to a full application.
1 NORMA Lab. 7 Generating Reports More Display Options File: NORMA_Lab6.ppt. Author: T. Halpin. Last updated: 2009 June 9.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Programming with Visual Studio 2005.NET A short review of the process.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Programming with Visual Studio.NET A short review of the process.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
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.
Writing a Run Time DLL The application loads the DLL using LoadLibrary() or LoadLibraryEx(). The standard search sequence is used by the operating system.
How to create a SharePoint site MICROSOFT OFFICE SHAREPOINT DESIGNER.
1 MSTE Visual SourceSafe For more information, see:
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.
Create Windows-based Applications by Using Visual Studio Windows Development Fundamentals LESSON 1.3.
Web Development in Microsoft Visual Studio 2013 / 2015.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
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.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
1 Visual Studio 2005 Options for Debug Mode: C++, Fortran, Linker December 8, 2009 Intel Compiler Version
Install for 64bit  Glui2.36.zip 을 다운로드  src  msvc  glui.sin 파일을 Visual Studio 2010 으로 열기  _glui library 를 선택후 빌드  빌드시 다음과 같은 오류가 발생하면 error C2252:
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.
Development Environment Setup
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
Microsoft Access 2003 Illustrated Complete
Quick Start Guide for Visual Studio 2010
OrCAD Capture Version 9.1 Parts Libraries.
NORMA Lab. 7 Generating Reports More Display Options
CON2D Compile Procedure Using Visual FROTRAN 6.6
Visual Studio 2005 Options for Release Mode: C++, Fortran, Linker
Microsoft Visual Studio
Lab 1 Introduction to C++.
Social Media And Global Computing Creating DLLs with Visual Studio
Using External Libraries
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Network Locations in Windows 7
Presentation transcript:

OpenGL project setup

How to use it? The included files and linked library files are already set in every project. These three files, which includes glut.h, glut32.lib, and glut32.dll, are shared by all projects. Each project contains an example code. The solution file (OpenGL.sln) contains all the projects. You can open the solution file by VC.

Setup for Working Directory 1/3 Select your project. Click “Set as StartUp Project”.

Setup for Working Directory 2/3 Click “Properties”.

Setup for Working Directory 3/3 Change Working Directory. Such as “$(SolutionDir)dll”($(SolutionDir) is a macro). Set your working directory as the folder with glut32.dll.

For Visual Studio 2012+ If your project still cannot find the dll, you should do following step. You need to set the PATH. Debugging => Environment Enter the following PATH=$(LocalDebuggerWorkingDirectory) Now your program can find the dll files in your working directory.

What is Macro? Macro is like a nickname of the folder’s path. Visual Studio has made hundreds of macros available to you. Such as ”$(SolutionDir) ”, it is the path of your .sln. You can find them in Property Pages dialog box. You can make your own macro, too.

What is “Working Directory”? It is the directory where your program is executed. The default value is the directory of project. (Neither the Debug directory nor Release directory) Because the dll files can be shared by all projects, setting the working directory is better than placing redundant copy in each project directory.

Why it must be set? The setting of included files and linked files are stored in project file. (*.vcproj) However, the “Working Directory” is not! It is stored in user files, such as (*.user). When the project is moved to another computer, the setting of user files is inactive. Because the user file only works on its original computer, you must set it again.

How to set a whole new project? Put these 3 files in your project directory. glut.h (Include it!) glut32.lib (Link it!) glut32.dll (Execute with it!)

Setup for a OpenGL Program 1/8 Microsoft Visual C++ 2013 New Blank Project.

Setup for a OpenGL Program 2/8 Empty Project.

Setup for a OpenGL Program 3/8 Add code files, such as main.cpp.

Setup for a OpenGL Program 4/8 Set properties.

Setup for a OpenGL Program 5/8 Set properties.

Setup for a OpenGL Program 6/8 Set link to the location of the lib file.

Setup for a OpenGL Program 7/8 Set link input, add the glut32.lib.

Setup for a OpenGL Program 8/8 Change Working Directory.