Compiler:-Setup - setup the Microsoft Visual C++ compiler on 64-bit Windows platforms
|
Calling Sequence
|
|
Compiler:-Setup()
Compiler:-Setup( path )
|
|
Parameters
|
|
path
|
-
|
string; a Maple string
|
|
|
|
|
Description
|
|
•
|
The procedure Compiler:-Setup is used to set up the location of the batch file used by the Microsoft C compiler on 64-bit Windows platforms. On other platforms, it currently serves no purpose and simply raises an exception. In Vista 64 and Windows 7, the procedure requires administrator access. By default Maple will automatically detect and use the latest version of Microsoft C compiler and Windows Software Development Kit (SDK) that is installed on the system. Compiler:-Setup can be used to configure a different compiler and SDK combination to be used.
|
•
|
If called with a string path, the path argument should be the full path to the vcvars64.bat batch file distributed with the Windows Software Development Kit (SDK)
|
•
|
If called with no arguments, a dialog is presented within which you may browse the file system to locate the vcvars64.bat file.
|
•
|
Upon successful completion, the Compiler:-Setup command stores the location of the vcvars64.bat file in a launch.ini file so that Maple may set the environment properly for use of the Microsoft C compiler. Maple should be restarted upon completion.
|
•
|
The following two sections provide instructions on downloading, installing and setting up the Express Edition of the Microsoft Visual C++ compiler.
|
|
|
Downloading and Installing Microsoft Visual C++ Express Edition
|
|
•
|
Download and install the following software on your computer
|
•
|
Microsoft Visual C++ 2010 Express Edition, which is a free download.
|
Note: To download Microsoft Visual C++ 2010 Edition do the following:
2.
|
Select the Visual Studio 2010 Express tab.
|
3.
|
Click the Visual C++ 2010 Express Edition link.
|
5.
|
Click the Free Download button.
|
|
|
Setting Up the Visual C++ Compiler
|
|
•
|
Every time you launch the Standard Worksheet version of Maple your computer is automatically scanned for a suitable Microsoft Visual Studio C++ compiler. Supported compiler versions are: 2010, 2008, 2005 and 2003.
|
•
|
If your supported version of Visual Studio C++ compiler is not detected, you can manually define the %LIB%, %INCLUDE% and %PATH% environment variables used by the compiler or you can set up the Microsoft Visual C++ compiler for Maple by specifying the path of the vcvars64.bat file created during the Maple installation process. To specify the path of the vcvars64.bat file do the following:
|
•
|
If Maple is already installed on your computer, you can run a command within Maple to specify the path of the file. Perform the following steps:
|
2.
|
At the Maple prompt, type Compiler:-Setup() and press Enter.
|
3.
|
In the dialog box, specify the full path of the vcvars64.bat file.
|
–
|
Note: The Compiler:-Setup() command is available in the Standard Worksheet version of Maple. If you are using the Command line version of Maple you must manually define the %LIB%, %INCLUDE% and %PATH% environment variables.
|
•
|
Note: For the most current instructions on installing and setting up a Microsoft Visual C++ compiler, see the Compiler,Setup page in Maple online help.
|
|
|
Download Help Document
Was this information helpful?