FARSIGHT Tutorials/Building Software/Bio-Formats/Installing Visual C++
Contents |
Overview
To compile the Bio-Formats code on Windows, you will need a working copy of Visual C++. We have tested compilation with Visual C++ 2005 Professional and Visual C++ 2008 Express; other versions may or may not work.
Downloading Visual C++
You can download Visual C++ 2008 Express for free from
After installation, you must launch the environment at least once before you will be able to compile the Bio-Formats C++ bindings.
Disabling Intellisense
We have had occasional problems with Intellisense when opening the bfcpp project; you may wish to disable it:
cd "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages" ren feacp.dll feacp.dll.xxx
It may work fine with Intellisense on, but our experience is that Visual Studio locks up less frequently with Intellisense off.
Different versions of Visual C++
The Bio-Formats C++ bindings are configured to use Visual C++ 2008 Express for compilation. If you wish to generate project files for a different version of Visual Studio, edit the file:
components\native\bfcpp\build.properties
And change the line:
cmake.generator.windows = Visual Studio 9 2008
to a different value. As of this writing, CMake supports the following versions of Visual Studio:
- Visual Studio 6
- Visual Studio 7
- Visual Studio 7 .NET 2003
- Visual Studio 8 2005
- Visual Studio 8 2005 Win64
- Visual Studio 9 2008
- Visual Studio 9 2008 Win64
- Visual Studio 10
- Visual Studio 10 Win64