How to compile a minimal MathGL version (only GLUT support) with Microsoft Visual Studio 2010. Requirements:  

 

Microsoft Visual Studio 2010 (any edition, I used Ultimate edition) MathGL 2.2 sourcecode (http://sourceforge.net/projects/mathgl/files/mathgl/mathgl%202.2/mathgl2.2.tar.gz/download) Glut 3.7 Binaries (http://www.opengl.org/resources/libraries/glut/glut37.zip) CMake 2.8.11 (http://www.cmake.org/files/v2.8/cmake-2.8.12.1-win32-x86.exe)

Steps: 1. 2. 3. 4. 5.

Install Visual Studio and CMake. Extract MathGL sourcecode to a directory of your choice. I will reference it as “sourceDir”. Extract Glut Binaries to a location of your choice. Let’s call it “glutDir”. Start CMake-gui. Select sourceDir in both empty fields at the top (“Where is source code:”, “Where to build the binaries”). 6. Click Configure and choose Visual Studio 10 (some errors should appear, that’s normal) 7. Make the same selection as I did:

8. Click Configure again (again some errors). 9. Change GLUT_INCLUDE_DIR to glutDir

10. Change GLUT_glut_LIBRARY to “glut32” (see picture)

11. Click Configure and then Generate. (No errors!) 12. Start the created MathGL.sln in sourceDir.

13. Select “Release” in the top bar.

14. Right-click on “mgl-glut” in the solution explorer and choose “Properties”

15. Add your glutDir to “Additional Librarydirectories”, so that the complete Line should look like in the picture. ATTENTION: Don’t forget the delimiter “;”.

16. Right-click on “ALL_BUILD” in the solution explorer and choose “build”.

17. Now should compile everything without any error. 18. You will find the binaries in /src/Release and /widgets/Release. Copy them into a separate directory, together with the include directory /include and you have everything in one place. 19. You are ready to use MathGL. In order to use it in your own project, include the “include” directory to “Additional Includedirectories” and the binaries of MathGL and GLUT to “Additional Librarydirectories”. Also add the binaries to your PATH. The last step is to add both lib-files to “Additional Dependencies”.

How to compile a minimal MathGL version -

Steps: 1. Install Visual Studio and CMake. 2. Extract MathGL sourcecode to a directory of your choice. I will reference it as “sourceDir”. ... Add your glutDir to “Additional Librarydirectories”, so that the complete Line should look like in the picture. ATTENTION: Don't forget the delimiter “;”. 16. Right-click on “ALL_BUILD” in the ...

350KB Sizes 10 Downloads 148 Views

Recommend Documents

How To - Set Up Eclipse to compile Arduino sketches - GitHub
index.php?topic=79595.0 or http://www.baeyens.it/eclipse/). 3. Once the plugin is installed and eclipse restarted, go to Window > Preferences >. Arduino. 4.

A Minimal Article -
Mar 30, 2018 - The sets {i, j, k} and {e1, e2, e3} represent the same set of unit vectors in mutually orthogonal directions in R3. Be warned! We shall use all three ...

A Continuous Max-Flow Approach to Minimal Partitions ...
computation framework, e.g. GPU. 1 Introduction ... powerful tool to compress data, which states that 'the best hypothesis for a given set of data is the one that ... combined with MDL to the application of object recognition; Delong et al [9] .....

How to Gala_final version 3.15.16.pdf
The Gala is a kid-free event. Will tickets be available at the door? There may be some tickets still available the day of the event, but it's best to call. ahead to find ...

Minimal deep flac
image oftheindustry and the FTO membership in the UK and to overseas destination countries 7. Provides ... protection on behalf ofits membership in relation to their nonATOL business 9. ... They can avoid the disadvantage by having broadband where yo

Steiner Minimal Trees - Semantic Scholar
Algorithm: MST-Steiner. Input: A graph G = (V,E,w) and a terminal set L ⊂ V . Output: A Steiner tree T. 1: Construct the metric closure GL on the terminal set L. 2:.

English Version - How to Download LCS Powerschool App on ...
English Version - How to Download LCS Powerschool App on Smartphone (1).pdf. English Version - How to Download LCS Powerschool App on Smartphone ...

house minimal session.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. house minimal ...

Minimal Key Lengths for Symmetric Ciphers to Provide ...
Jan 7, 1996 - systems considered adequate for the past several years both fast and cheap. General purpose ... 3MIT Laboratory for Computer Science, [email protected]. 4Counterpane ... 1 Encryption Plays an Essential Role in Protecting the Privacy ..

LOG MINIMAL MODELS ACCORDING TO SHOKUROV ...
Apr 22, 2008 - will mean termination of any sequence Xi. Xi+1/Zi of log flips/Z .... then we get a log minimal model or a Mori fibre space. Suppose that we get ...

Unusual mechanical stability of a minimal RNA kissing ...
Oct 16, 2006 - rip and zip transitions have negative slopes, in sharp contrast to the ... Only a single, big rip appears in the third type of unfolding trajectory.

A Framework for Minimal Clustering Modification via ...
1https://sites.google.com/site/ .... We experiment with two real world data sets (social network ... ten found clustering simply puts most instances in one clus-.

The Unique Minimal Dual Representation of a Convex ...
[〈x, x∗〉 − f(x)]. When f is a convex function, there is an important duality between f and f∗ ... Example 3.1 shows that if the local Lipschitz continuity assumption.

Stable minimal hypersurfaces in a Riemannian manifold with pinched ...
DOI : 10.1007/s10455-011-9293-x. Cite this article as: Dung, N.T. & Seo, K. Ann Glob Anal Geom (2012) 41: 447. doi:10.1007/s10455-011-9293-x. 6 Citations ...

IncludeOS: A minimal, resource efficient unikernel for cloud services
tasking library operating system for cloud services, ... your service needs gets included, and only one device ... devices ranging from Gigabit network interfaces.

A note on minimal 30connected graphs
G. If two edges uw and wv are consecutive edges in two walks in C, then the degree of w is at least e. Proof of Theorem 1. The smallest 30connected graph is the ...

A Loopless Gray Code for Minimal Signed ... - Research at Google
See http://www.cs.stanford.edu/∼manku/projects/graycode/index.html for source code in .... is terminal(i) returns true iff (ai = ti and di = 1) or (ai = 1 and di = −1).