Using Coin3D with Microsoft Visual Studio for MECH 434/534 Assignments

Similar documents
Introduction to the use of the environment of Microsoft Visual Studio 2008

Microsoft Visual Studio 2010 Instructions For C Programs

Compiler Setup and DirectX/OpenGL Setup

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Eclipse installation, configuration and operation

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

Creating OpenGL applications that use GLUT

Installing the Android SDK

APPLICATION NOTE. Getting Started with pylon and OpenCV

Chapter 1: Getting Started

Setting Up a Windows Virtual Machine for SANS FOR526

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Using Microsoft Visual Studio API Reference

Enterprise Historian 3BUF D1 Version 3.2/1 Hot Fix 1 for Patch 4 Release Notes

Getting Started with the Ed-Fi ODS and Ed-Fi ODS API

Installing Ruby on Windows XP

Outlook Connector Installation & Configuration groupwaresolution.net Hosted MS Exchange Alternative On Linux

How to Install Applications (APK Files) on Your Android Phone

Getting Started with Android Development

Installation Guidelines (MySQL database & Archivists Toolkit client)

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

Microsoft SQL Server Express 2005 Install Guide

Setting Up ALERE with Client/Server Data

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

How to install and use the File Sharing Outlook Plugin

Installing Geant4 v9.5 for Windows

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

Contents Overview... 5 Configuring Project Management Bridge after Installation... 9 The Project Management Bridge Menu... 14

MS SQL Express installation and usage with PHMI projects

Exchange Mailbox Protection

NetIQ. How to guides: AppManager v7.04 Initial Setup for a trial. Haf Saba Attachmate NetIQ. Prepared by. Haf Saba. Senior Technical Consultant

1.5 MONITOR. Schools Accountancy Team INTRODUCTION

INTERNAL USE ONLY (Set it to white if you do not need it)

Exchange Server Backup and Restore

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Migrating MSDE to Microsoft SQL 2005 Express SP4

SimbaEngine SDK 9.4. Build a C++ ODBC Driver for SQL-Based Data Sources in 5 Days. Last Revised: October Simba Technologies Inc.

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Connecticut Hazardous Waste Manifests Database

Practice Fusion API Client Installation Guide for Windows

Comodo MyDLP Software Version 2.0. Endpoint Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

PhoneCrypt Desktop. Phone Encryption Software. PhoneCrypt Manual Mobile phone encryption for Windows Platforms

Witango Application Server 6. Installation Guide for Windows

Cleaning your Windows 7, Windows XP and Macintosh OSX Computers

Install MS SQL Server 2012 Express Edition

Microsoft Business Intelligence 2012 Single Server Install Guide

On premise upgrade guide (to 3.3) XperiDo for Microsoft Dynamics CRM

SIM900 Eclipse environment install Application Note_V1.00

Gladinet Cloud Backup V3.0 User Guide

Online Backup Client User Manual

QuadraMed Enterprise Scheduling Combined Service Installation Guide. Version 11.0

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Getting Started using the SQuirreL SQL Client

2. Installation Instructions - Windows (Download)

Computer Science and Engineering Windows Cisco VPN Client Installation and Setup Guide

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

How To Install An Aneka Cloud On A Windows 7 Computer (For Free)

Note: Files contained within the root of My Files & Folders will always be synced.

educ Office Remove & create new Outlook profile

Working with your NTU off campus

Working With Your FTP Site

Pocket ESA Network Server Installation

SETUP GUIDE: MOON USB HD DSD Driver. MOON Nēo 340i D 3 MOON Nēo 350P D 3. MOON Evolution 780D. Musical Ecstasy. Date Code:

DE4 NetFPGA Packet Generator Design User Guide

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

Metadata Import Plugin User manual

Hands-On Lab. Web Development in Visual Studio Lab version: Last updated: 12/10/2010. Page 1

Android Development Setup [Revision Date: 02/16/11]

Install guide for Websphere 7.0

The goal with this tutorial is to show how to implement and use the Selenium testing framework.

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

CISCO VPN CLIENT INSTALL AND UPDATE INSTRUCTIONS

Lazy OpenCV installation and use with Visual Studio

Step-by-step installation guide for monitoring untrusted servers using Operations Manager ( Part 3 of 3)

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

Generating Visual Studio Project Files

Deploying Windows Streaming Media Servers NLB Cluster and metasan

Installation Manual Version 8.5 (w/sql Server 2005)

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

2012 Nolio Ltd. All rights reserved

Google App Engine f r o r J av a a v a (G ( AE A / E J / )

EMC Documentum Webtop

SyncThru Database Migration

Installation of IR under Windows Server 2008

REDUCING YOUR MICROSOFT OUTLOOK MAILBOX SIZE

Codeless Server IIS Installation

ADT Plugin for Eclipse

1. Installation Overview

Introduction to Android Development

Cloud Services ADM. Agent Deployment Guide

Installation Guide - Client. Rev 1.5.0


1 Minimum system requirements

Transcription:

Using Coin3D with Microsoft Visual Studio for MECH 434/534 Assignments During this course, you will be asked to complete 7 Homework assignments and 3 projects using Coin3D, 3D Graphics Developer Kit. Coin is an OpenGL based, retained mode 3D graphics rendering library. It is implemented in C++ and publicly available at http://www.coin3d.org/. In the rest of the document, we will provide you with step by step installation instructions for Microsoft Visual Studio 2008. Note that it is also possible to complete the assignments and projects with a different IDE (Integrated Development Environment) as long as your programs run correctly and adhere to standards. If you use a Mac or Linux machine, I would suggest you use the Qt Creator. Installing Microsoft Visual Studio 2008 on your computer If you have not already done so, install Microsoft Visual Studio 2008 (version 9) on your computers with the C++ option. To do this, you can drop by the CIT office, and they can install it for you. If you would like to install the IDE yourself please follow these steps: 1. Run setup 2. Proceed until you reach the Options Page during setup and select Custom:

3. Uncheck all options except C++ and press Install: 4. You are done when you see the following screen: Installing Coin3D on your computer Having installed the Visual Studio, it is time to install Coin3D, the graphics library we will use for MECH 434/534. The latest version is publicly available in the web so you can download and install it on your own machines. 1. Go to http://www.coin3d.org/lib/downloads 2. Select the option I m Developing Open Source Software

3. On the next page, select Continue to open source downloads (for free software developers) 4. Select the latest Coin release and the latest SoWin release from the list (You will need SoWin in order to write Windows API programs). a. Download Visual C++ 9.0 binaries for the latest Coin release for Windows. b. Download one of the source code archives for the latest SoWin release. 5. Install Coin library a. Extract the archive file that contains the Coin release to a local directory you choose for your Coin installation. The path to the directory should not contain spaces. Something like C:\Coin3D will work. In the end, the coin directory should contain 4 subfolders: bin, include, lib, and share. b. Define an environment variable named COINDIR to point to the directory you created. You can do this from Control Panel System Advanced Environment Variables New. c. Also add the bin folder to your system path by editing the existing Path Variable:

d. These operations might require you to restart your computer for the changes to take effect, hence restart your computer. 6. Compile and install SoWin a. Extract the archive file that contains the SoWin release. b. Open Microsoft Visual Studio Solution sowin1.sln residing within the folder build\msvc9 by double clicking on it. c. If your configuration is correct, the solution will be opened in Visual Studio. d. If you are using a 64 bit system, select x64 for the solution platform (OPTIONAL FOR x64 users). e. Select Build Build Solution from the menu or basically hit F7 to compile the code. When this operation is finished, in the output window (at the bottom portion of the IDE), you will see the following message: ========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Don t worry about the error, it only indicates that the documentation could not be installed, which is not a major issue.

f. Do the same build operation also for the Release configuration by selecting DLL (Release) from the configuration pull down list. g. Check your Coin installation folder. It should now contain a new folder named data.

Testing your installation, setting up a project and compiling your first program 1. Run Visual Studio and select File New Project from the menu. 2. Select project properties in the dialog box by executing the following steps: a. Select Win32 as the project type and Win32 Console Application as the template. b. Give a name for your project. c. Choose the location on your computer where the project files will be saved to. d. Uncheck Create directory for solution checkbox. e. Click OK.

f. You will see a confirmation screen. Click on Application Settings before hitting Next. g. Check Empty project and hit Finish. 3. Download main.cpp and jackbox.iv to your computer and paste them to the newly created folder. 4. Add main.cpp to your project either by a. dragging and dropping main.cpp to the Source Files folder in Solution Explorer b. right clicking Source Files, then selecting Add Existing Item

5. Select configuration profile as Release 6. If you are using a 64 bit system, select x64 for the solution platform (OPTIONAL FOR x64 users): a. Open Configuration Manager by using the Solution Platforms drop down menu. b. Create a new platform by selecting Active solution configuration as Release and selecting <New > in Active solution platform drop down menus.

c. Create a new platform by choosing x64 in New Platform and by selecting Copy setting from Win32. Click OK and close Configuration Manager. d. Finally, select x64 as the solution platform in the drop down list. 7. Configure project properties a. Select Project <your_project_name> Properties from the menu b. In Configuration Properties C++ General, add $(COINDIR)/include to Additional Include Directories:

c. In Configuration Properties C++ Preprocessor, add COIN_DLL;SOWIN_ DLL to Preprocessor Definitions: d. In Configuration Properties Linker General, add $(COINDIR)/lib to Additional Library Directories:

e. In Configuration Properties Linker Input, set Additional Dependencies as coin3.lib sowin1.lib simage1.lib: f. Press OK. 8. Compile your program by selecting Build Build Solution or simply by pressing F7. 9. If everything is configured correctly, you will see the following message in the output window: ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 10. Run your program by selecting Debug Start Without Debugging or simply by pressing Ctrl + F5. 11. If your installation is successful, a new SoWin window will be created: 12. You can reuse the same project files in your other assignments by renaming the projects and replacing the source files.