Вы находитесь на странице: 1из 2

1.

Install Visual Studio 2013 Professional 32 Bit


1. Download from and then install
https://e5.onthehub.com/WebStore/OfferingsOfMajorVersionList.aspx?pmv=141e081
2-34df-e211-9000-f04da23fc520&cmi_mnuMain=bdba23cf-e05e-e011-971f-
0030487d8897&ws=23821424-cd9b-e011-969d-0030487d8897&vsro=8

2. Install freeglut for Visual Studio 2013

1. Go to freegluts sourceforge web site at


http://freeglut.sourceforge.net/index.php#download
2. Scroll down to section Prepackaged Releases and click on Martin Payne's Windows
binaries (MSVC and MinGW)
3. Over there, download freeglut 3.0.0. MSVC Package
4. Unzip the download .zip from step 3 and you will get a folder called freeglut.
5. Inside freeglut folder, you will see following directories:
i. bin
ii. include
iii. lib
6. Copy files from above folders to the following locations:
i. bin\freeglut.dll to C:\Windows\SysWOW64
ii. Note: You may have to open a command window under Administrator access to
be able to copy this file to the system32 directory. Do not copy
bin\x64\freeglut.dll to this location.
iii. include\GL\* to C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\include\GL

Note: Here * means all files. Also, above path is valid only if you have
already installed Visual Studio 2013
iv. lib\freeglut.lib: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib

Note: Do not copy lib\x64\freeglut.lib to this location.

3. Install glui

First, get two files from here:

https://drive.google.com/a/stonybrook.edu/file/d/0B2KkRB4R3MqSMFNSLW92Nn
A3d0E/view?usp=sharing

https://drive.google.com/a/stonybrook.edu/file/d/0B2KkRB4R3MqSaXE4MkxZUU9
ZRVk/view?usp=sharing

then, please copy the glui.lib file to C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\lib directory and the glui.h file to C:\Program Files (x86)\Microsoft Visual
Studio 12.0\VC\include\GL

and then in your program, include

#include <GL/glui.h>

and make sure that you add glui32.lib to the Project Properties settings->Linker-
>Input->Additional Dependencies.

There are no .dlls for glui as you statically build your program against glui.

4. Install Armadillo

Soon you will be performing matrix algebra in your HW and project. If you have not
already installed Armadillo, a C++ library for Matrix operations, then please follow
the instructions here to install it:

Step 1. Download all the Armadillo files and folders from here:

https://drive.google.com/a/stonybrook.edu/folderview?id=0B2KkRB4R3MqSelNvV
0lJQW14ZjQ&usp=sharing

Step 2. Copy the contents of the include folder to C:\Program Files


(x86)\Microsoft Visual Studio 12.0\VC\include

Step 3. Copy the contents of lib folder to C:\Program Files (x86)\Microsoft Visual
Studio 12.0\VC\lib

Step 4. Copy the contents of the dll folder to C:\Windows\SysWOW64 (To make
your binary portable, always remember to copy these .dll files in the same directory
where your .exe resides)

Step 5. Add libblas.lib and liblapack.lib to Additional Dependencies under Project


Properties->Linker->Input in your Visual Studio Environment

Вам также может понравиться