Installing OpenVSP on Windows 7



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

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

Using GitHub for Rally Apps (Mac Version)

Installation of ADS SiMKit startup script and designkit on Windows for SiMKit version 4.4

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6)

Hypercosm. Studio.

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

Multi-Router Traffic Grapher (MRTG)

ContentWatch Auto Deployment Tool

Server Installation: ServerTools

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

Technical Bulletin. SQL Express Backup Utility

BRIC VPN Setup Instructions

MS SQL Express installation and usage with PHMI projects

Using Microsoft SyncToy to Automate Backups

Installing FEAR on Windows, Linux, and Mac Systems

S. Bouzefrane. How to set up the Java Card development environment under Windows? Samia Bouzefrane.

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

Exchange Server Backup and Restore

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

Excel Templates. & Quote/Invoice Maker for ACT! Another efficient and affordable ACT! Add-On by V

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

Moxa Device Manager 2.3 User s Manual

Work. MATLAB Source Control Using Git

Practice Fusion API Client Installation Guide for Windows

VMware vcenter Configuration Manager Software Provisioning Components Installation and User Guide

SelectSurvey.NET Developers Manual

Version Control with Subversion

Integration Package for Microsoft Office SharePoint3

SAS 9.3 Foundation for Microsoft Windows

New in this release: On-Demand Sync. Known Issues: Limitations: Previous version features:

Bitrix Site Manager ASP.NET. Installation Guide

Desktop, Web and Mobile Testing Tutorials

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

How To Deploy Lync 2010 Client Using SCCM 2012 R2

SAP Predictive Analysis Installation

Server & Workstation Installation of Client Profiles for Windows (WAN Edition)

How to Install MediaWiki on Windows Server 2003

Lazy OpenCV installation and use with Visual Studio

CMPT 373 Software Development Methods. Building Software. Nick Sumner Some materials from Shlomi Fish & Kitware

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

Server & Workstation Installation of Client Profiles for Windows

Installation Guide. Installing MYOB AccountRight in a Remote Desktop Services Environment

MATLAB & Git Versioning: The Very Basics

Librarian. Integrating Secure Workflow and Revision Control into Your Production Environment WHITE PAPER

Creating OpenGL applications that use GLUT

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

FocusOPEN Deployment & Configuration Guide

MarkLogic Server. Connector for SharePoint Administrator s Guide. MarkLogic 8 February, 2015

How to deploy fonts using Configuration Manager 2012 R2

Getting Started using the SQuirreL SQL Client

1/5/2013. Technology in Action

Creating, Running, and Scheduling Scripts

R i o L i n x s u p p o r r i o l i n x. c o m 1 / 3 0 /

Installing Crystal Reports XI. Installing Crystal Reports XI

DeviceLock Management via Group Policy

ResPAK Internet Module

Secure Shell. The Protocol

Installing Geant4 v9.5 for Windows

Installation Guidelines (MySQL database & Archivists Toolkit client)

Option 1 Using the Undelete PushInstall Wizard.

Tutorial Guide to the IS Unix Service

EAE-MS SCCAPI based Version Control System

USER GUIDE Deploying Your Application to WinHost

StreamServe Persuasion SP4

User's Guide - Beta 1 Draft

Web Server Configuration Guide

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

QAD Enterprise Applications Enterprise Edition. Installation Guide Progress Database

Ingenious Testcraft Technical Documentation Installation Guide

Upgrading LytecMD from to 9.4 on Windows Server Best Practices. Revision Date: 7/29/2010 PLEASE READ:

AES Crypt User Guide

Manage CE. Version 1

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

ZeroTurnaround License Server User Manual 1.4.0

OPENGATE DATABASE MANAGER FOR MICROSOFT ACCESS

Interlink Networks Secure.XS and Cisco Wireless Deployment Guide

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Using Dedicated Servers from the game

CAPIX Job Scheduler User Guide

Introduction. Before you begin. Installing efax from our CD-ROM. Installing efax after downloading from the internet

r-one Python Setup 1 Setup 2 Using IDLE 3 Using IDLE with your Robot ENGI 128: Introduction to Engineering Systems Fall, 2014

Remote Console Installation & Setup Guide. November 2009

8.6. NET SatisFAXtion Gateway Installation Guide. For NET SatisFAXtion 8.6. Contents

ecopy ShareScan 5.0 SQL installs guide

RecoveryVault Express Client User Manual

OroTimesheet 7 Installation Guide

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

MS Outlook AddIn version 3.6

CA Nimsoft Monitor. snmptd Guide. v3.0 series

Contents. Chapter 1 Introducing virtualized Microsoft Office Chapter 2 Packaging Microsoft Office... 5

Georgia State Longitudinal Data System

Instructions for update installation of ElsaWin 5.00

Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...

SEER-HD Database Administrator s Guide

Transcription:

ASDL, Georgia Institue of Technology August 2012 Table of Contents 1. Introduction... 1 2. Setting up Windows Line-Mode... 1 3. Preparation for OpenVSP... 2 3.1. Create an OpenVSP Folder... 2 3.2. Install the 7-Zip Program... 2 3.3. Install the CMake Program... 2 3.4. Download the OpenVSP Source Code... 2 3.5. Download Other OpenVSP Dependencies... 4 3.5.1. FLTK... 4 3.5.2. jpeg-8d... 5 3.5.3. libxml2-2.7.8... 5 3.5.4. opennurbs... 5 3.5.5. After Unpacking... 5 3.6. Build FLTK-1.3.0... 6 3.7. Build OpenNurbs... 8 3.8. Build jpeg Libraries... 10 3.9. Build XML Libraries... 13 3.10. Building OpenVSP... 14 1. Introduction This document is based upon using Windows 7 and Visual Studio 2010. The basic instructions will apply to other combinations however, the specifics will be different. 2. Setting up Windows Line-Mode Parts of the install process require that the Visual Studio line-mode commands be available. These commands are used within a the context of a command window. They are set up by running the following script, C:\Program Files (x86)\microsoft Visual Studio 10.0\vc\vcvarsall.bat This sets up all the path and environment variables for that command instance. Be sure to enclose the command line in quotes. 1

Figure 1. VS Line Mode Command Setup Once this window is opened it can be used when access to the linemode commands is required. This is the case when the JPEG libraries are compiled. devenv jpeg.sln /build 3. Preparation for OpenVSP In preparation for building OpenVSP there are several steps that need to be completed. 3.1. Create an OpenVSP Folder Create a top-level folder in which to install all OpenVSP relatated software. A convenient location is your Documents folder. There will eventually be numerous sub-folders created. 3.2. Install the 7-Zip Program This is a general purpose Zip program that can handle all the formats that the various packages come wrapped in. It can be found at, http://www.7-zip.org 3.3. Install the CMake Program This CMake program is used during the final build of the OpenVSP software. It can be found at, http://www.cmake.org/ Download the installer file cmake-2.8.8-win32-x86.exe and double-click to start installation. This will create a program group named CMake 2.8. 3.4. Download the OpenVSP Source Code Before downloading the source code you will need to decide whether you plan to use a GIT repository or a standalone copy. The GIT repository will keep revision information during any subsequent changes and can be merged 2

with other copies. The stand-alone has no connection with any other copy and is purely personal. Both types of download are available at, https://github.com/openvsp/openvsp A screenshot of the GITHUB page is shown below. Selecting the ZIP button will download a zip file containing a standalone verion. The Clone in Windows button will re-direct to a github web site that offers GitHub for Windows. By installing this software you will have direct access to the GIT repository and will be able to clone the software to your own machine. Installation will create a GitHub, Inc program group with an entry for Git Shell Use this shell to access the GIT commands, 3

Notice that inside your OpenVSP folder there will be a new folder created also named OpenVSP. And, inside that folder, This is the OpenVSP source code. Actually, the build folder is not part of the clone operation and is created at a later step. The level above this, also named OpenVSP, contains the other software files that are downloaded. 3.5. Download Other OpenVSP Dependencies Now, move back to the top-level OpenVSP folder (not the source tree) and start downloading other needed packages. 3.5.1. FLTK Download fltk-1.3.0-source.tar.gz from 4

http://www.fltk.org/software.php Unpack using 7-zip to a folder named fltk-1.3.0. 3.5.2. jpeg-8d Download jpegsrc.v8d.tar.gz from http://www.ijg.org/ Unpack using 7-zip to a folder named jpeg-8d. 3.5.3. libxml2-2.7.8 Download libxml2-sources-2.7.8.tar.gz from http://xmlsoft.org/ Unpack using 7-zip to a folder named libxml2-2.7.8. Do not use the pre-compiled Windows file named libxml2-2.7.8.bin32.zip. 3.5.4. opennurbs Download opennurbs_20111122.zip from http://www.opennurbs.org/ Unpack using 7-zip to a folder named OpenVSP/src/opennurbs. This set of files is placed directly in the OpenVSP source tree. Notice that the opennurbs_20111122 is renamed to opennurbs. 3.5.5. After Unpacking After unpacking the top-level OpenVSP folder should appear like the following, And the cloned OpenVSP/src folder should appear as follows, 5

Where the opennurbs file has been renamed from opennurbs_20111122. 3.6. Build FLTK-1.3.0 The first stage is to build the fltk libraries. There are some instructions located in the file README.MSWindows.txt which, in order to be read, must be opened in a program that understands the Unix/ Linux end-of-line conventions, either Notepad++ or MS Word. However, this information can generally be safely ignored. Start Visual Studio 2010 and once ready open the Solution file fltk-1.3.0\ide\visualc2010\fltk.sln. 6

Select a Release build then select Build Build Solution. This will begin the compile process which will take several minutes to complete. 7

Now create a new folder in the top-level OpenVSP folder named FLTK. Execute the following copy operations, cd...\openvsp mkdir FLTK mkdir FLTK\lib copy fltk-1.3.0\lib FLTK\lib mkdir FLTK\include copy fltk-1.3.0\fl FLTK\include\FL mkdir FLTK\bin copy fltk-1.3.0\fluid\fluid.exe FLTK\bin The FLTK folder nows contains three sub-folders, lib, include, and bin. 3.7. Build OpenNurbs The nextstage is to build the opennurbs libraries. These are located in the OpenVSP source tree. Move to OpenVSP\src\opennurbs. Start Visual Studio 2010 and once ready open the Solution file opennurbs.sln. 8

Select a Release build then right-click opennurbs_staticlib and select Build. This will begin the compile process which will take several minutes to complete. 9

In the opennurbs folder there is a sub-folder named Release, inside of which is the library file, opennurbs_staticlib.lib. This is the file that will be referenced later. Now repeat the same process for the zlib project. This will create a file named Release\zlib.lib. 3.8. Build jpeg Libraries Now build the jpeg libraries. First, startup a line-mode command window as described in the first part of this document. Then execute the following series of commands, cd <top-level-path>\openvsp cd jpeg-8d nmake /f makefile.vc setup-v10 10

At this point you will need to make some manual changes to some of the generated files. They contain extraneous junk at the start of some of the files. The files to edit are, jpeg.sln Remove the extraneous characters at the start of the file. In my build they are " " on line 1. The first line should now be Microsoft Visual Studio Solution File, Format Version 11.00". jpeg.vcxproj Remove extra characters from the start of line 1, which should contain "<?xml version="1.0" encoding="utf-8"? >". jpeg.vcxproj.filters Remove extra characters from the start of line 1, which should contain "<?xml version="1.0" encoding="utf-8"? >". The distribution is now ready to build. devenv jpeg.sln /build 11

You can also just double-click the jpeg.sln file, which will open Visual Studio from where you can then perform a build. Be sure to build a "release" version rather than "debug". Or, alternatively, the final build can be done from the Visual Studio GUI. 12

3.9. Build XML Libraries The next step is to build the XML libraries from source. There is a pre-compiled windows version available, do not use it or you will be left with unresolved references that will make it impossible to build OpenVSP. As usual, use the command line window with the VS tools setup. cd <top-level-path>\openvsp cd libxml2-2.7.8 Now open the file win32\makefile.msvc. Move to line 74 and remove the leading "+" from lines 74-76. The following lines, +!if "$(WITH_ICU)" == "1" +LIBS = $(LIBS) icu.lib +!endif become,!if "$(WITH_ICU)" == "1" LIBS = $(LIBS) icu.lib!endif Before closing, there is one more line to edit. If have Visual Studio 2010 or later installed you will need to remove the "/OPT:NOWIN98" string from the file, near line 97. The line, LDFLAGS = $(LDFLAGS) /OPT:NOWIN98 becomes, 13

LDFLAGS = $(LDFLAGS) Now configure the package for build, cd win32 cscript configure.js iconv=no prefix=<top-level-path>\libxml2-2.7.8\win32 Now perform the build, nmake /f Makefile.msvc Now install the libraries. Because of the configure options specified earlier, the libraries will be installed into the libxml2 win32 directory. nmake /f Makefile.msvc install The library files can be found in <top-level-path>\libxml2-2.7.8\win32\lib and are, libxml2.dll libxml2.lib libxml2_a.lib libxml2_a_dll.lib Make the following changes, cd lib del libxml2.lib rename libxml2_a.lib libxml2.lib The installation of libxml2 is now complete. 3.10. Building OpenVSP The final stage is to build OpenVSP itself now that all the preliminaries are completed. The first step is to create a build folder, cd <top-level-path>\openvsp mkdir build Now, in the OpenVSP\src folder, open CMakeLists.txt for editing, CMAKE_MINIMUM_REQUIRED(VERSION 1.4) PROJECT (VSP) SET(CMAKE_PREFIX_PATH "C:/Program Files/FLTK" ${VSP_SOURCE_DIR}/libxml2-2.7.8.win32 ${VSP_SOURCE_DIR}/jpeg-8c ${VSP_SOURCE_DIR}/jpeg-8c/Release ) util_code ) triangle ) load_jpg ) xmlvsp ) screens ) sixseries ) vsp ) Make necesary changes so that the file looks like the following, 14

CMAKE_MINIMUM_REQUIRED(VERSION 1.4) PROJECT (VSP) SET(CMAKE_PREFIX_PATH "C:/OpenVSP/FLTK" "C:/OpenVSP/libxml2-2.7.8/win32" "C:/OpenVSP/jpeg-8d" "C:/OpenVSP/jpeg-8d/Release" ) util_code ) triangle ) load_jpg ) xmlvsp ) screens ) sixseries ) vsp ) In this case <top-level-path> is C:\OpenVSP, replace it with whatever you are using. Now run the CMake GUI from the Program menu. Set the source and build paths (C:\OpenVSP\OpenVSP\src and C:\OpenVSP\OpenVSP\build). 15

Now press configure, 16

When it has completed the GUI will look similar to the following. It will NOT look exactly like the following. The goal is to get rid of all the red messages. 17

Supply all missing information and press the configure button until there are no more errors. 18

Now press the generate button, this will create the files necessary to build. Specfically, there will be a file named VSP.sln in the OpenVSP\build folder. Double-click (only if you do not have multiple versions of VS installed) this to start Visual Studio. Set the type of build to "Release" then right-click ALL BUILD in the Solution Explorer 19

to start the build. This will take considerable time. The executable will be in the OpenVSP\build\vsp\Release folder, as vsp.exe. 20