Setup Visual Studio Express

From PLplotWiki
Revision as of 00:18, 15 September 2009 by Smekal (Talk | contribs) (Created page with '== Setup Visual C++ (2008) == Visual C++ Express Edition<ref>[http://www.microsoft.com/express/vc/ Visual C++ Express Homepage]</ref> is a integrated development environments (ID…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setup Visual C++ (2008)

Visual C++ Express Edition[1] is a integrated development environments (IDE) developed by Microsoft that is a lightweight version of the Microsoft Visual Studio C++ product line. The idea of express editions, according to Microsoft, is to provide streamlined, easy-to-use and easy-to-learn IDEs for users other than professional software developers, such as hobbyists and students.[2]

Download and install

Setup

To configure and compile plplot with MinGW it is best to use the Windows CLI. Please follow the instructions in [setup_cli Setup CLI] to get the Windows Command Line Interface ready for development. Then open your favorite text editor and enter the following CLI commands

@echo off

rem setup MinGW compiler
set MINGWDIR=C:\MinGW-4.3.1
set PATH=%MINGWDIR%\bin;%PATH%

rem setup PLplot library
set PLPLOTDIR=path_to_plplot
set PLPLOT_LIB=%PLPLOTDIR%\data
set PATH=%PLPLOTDIR%\dll;%PATH%

and save this to e.g. mingwvars.bat. If you installed the MinGW 3.4.5 command line tools, exchange in the script 4.3.1 with 3.4.5 (twice). Start you Windows CLI, cd into the directory where the batch file was saved and run mingwvars.bat. Run gcc --version, gfortran --version and gnat to see if everything works. Your MinGW developing environment is now ready.

Links

  1. Visual C++ Express Homepage
  2. Wikipedia entry about Visual Studio Express