C++
Development Environment


return to main index



Introduction

This page provides information about the C++ development environments for Windows and MacOSX. If the reader is using Linux they can skip this tutorial because the GNU libraries are pre-installed on Linux.


Windows and Visual Studio

On Windows, when Cutter compiles and links it does so by referencing a Microsoft Visual Studio file named "vcvars64.bat" (VS 14). Either the full commercial version of VS or the free Community version of VS must be installed. For VS 14 the "vcvars64.bat" file is located here.


C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat

The Cutter pref that must be set to point to the full path of .bat file is shown below.



Figure 1


If the reader has either version of VS installed but the "vcvarsXXX.bat" file cannot be found in the path shown above they should reinstall their version of VS making sure they do a "custom install" with the following options selected so they have access to so-called "command line tools".



Figure 2



MacOSX

On MacOSX, Cutter must have access the GNU development tools that are part of XCode. Therefore, XCode must be installed on the readers computer. Ideally, not the entire XCode development environment needs to be installed because it is almost 6GB in size! However, I have always performed on full install and cannot offer any advice on which XCode components to omit from the installation.








© 2002- Malcolm Kesson. All rights reserved.