Windows Setup
Compulsory Dependencies
CMake
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable
To make sure everything went well run the command cmake in a Windows Command Prompt. If the command is recognized you are good to go.
Python
Scripts were developed with Python 2.7, but this doesn’t mean that other versions will not work
Add the main installation folder to the Windows PATH environment variable. This may be done automatically by the installer.
To make sure everything went well run the command python –help in a Windows Command Prompt. If the command is recognized you are good to go.
lxml
Download and install from the Python Software Foundation web-page
Be careful, as you need to take into account the python version in order to install correctly this package.
pysvn
Download and install. Working binaries found here
Be careful, as you need to take into account the svn and the python version in order to install correctly this package.
Artistic Style
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable
To make sure everything went well run the command astyle –help in a Windows Command Prompt. If the command is recognized you are good to go.
KDiff3
Add the main installation folder to the Windows PATH environment variable
To make sure everything went well run the command kdiff3 in a Windows Command Prompt. If the command is recognized you are good to go.
Visual Studio
Install visual studio, version of your choice.
For CERN users it is advised to do it trough CMF
Add the folder containing the executable MSBUILD.exe to the Windows PATH environment variable
The location of this file changes depending on the version you are installing. Check for help online if you can’t locate it
To make sure everything went well run the command msbuild /help in a Windows Command Prompt. If the command is recognized you are good to go.
libxml2
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable
To make sure everything went well run the command xmllint –help in a Windows Command Prompt. If the command is recognized you are good to go.
CodeSynthesis XSD (a.k.a. xsdcxx)
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable
Conflict with Microsoft xsd.exe
Microsoft SDK contains an executable with the name xsd.exe which may take precedence over CodeSynthesis xsd.exe. If this happens you will get an error message like this: Project : error PRJ0019: A tool returned an error code from “xsd schema.xsd. To solve this go into the codesynthesys xsd binary directory and rename xsd.exe to xsdcxx.exe. The python scripts are expecing that you do this change, so it will not work unless you do it.
To make sure everything went well run the command xsdcxx help in a Windows Command Prompt. If the command is recognized you are good to go.
Boost
OpenSSL
xerces-c
Since there is no precompiled binary available, the user will need to compile this software following this instructions
Optional Dependencies
Graphviz
Needed for generating graphs
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable. This may be done automatically by the installer
To make sure everything went well run the command dot –help in a Windows Command Prompt. If the command is recognized you are good to go.
Doxygen
Needed for doxygen documentation generation
Add the folder bin, inside the main installation folder, to the Windows PATH environment variable. This may be done automatically by the installer
To make sure everything went well run the command doxygen –help in a Windows Command Prompt. If the command is recognized you are good to go.
Md5sum
Needed for consistency cheks
Add the folder where you decompress the executable to the Windows PATH environment variable.
To make sure everything went well run the command md5sum –help in a Windows Command Prompt. If the command is recognized you are good to go.
Windows cmake toolchain
Default windows toolchain
The provided default windows toolchain will take the paths to the dependancies from the following places:
The Boost installation path needs to be specified trough an environment variable called BOOST_HOME.
If the environment variable BOOST_HOME is not available an error will be shown and the compiling will fail
The Unified Automation toolkit installation path needs to be specified trough an environment variable called UNIFIED_AUTOMATION_HOME.
If the environment variable UNIFIED_AUTOMATION_HOME is not available an error will be shown and the compiling will fail
The Code Synthesis XSD installation path needs to be specified trough an environment variable called CODE_SYNTHESYS_XSD.
If the environment variable CODE_SYNTHESYS_XSD is not available a warning will be shown and the default path of C:/Program Files (x86)/CodeSynthesis XSD 3.3 will be used
The OpenSSL installation path needs to be specified trough an environment variable called OPENSSL.
If the environment variable OPENSSL is not available a warning will be shown and the default path of C:/OpenSSL-Win64 will be used
The Xerces-c installation path needs to be specified trough an environment variable called XERCESC.
If the environment variable XERCESC is not available a warning will be shown and the default path of C:/3rdPartySoftware/xerces-c-3.1.2/Build/Win64 will be used
The Lib XML 2 installation path needs to be specified trough an environment variable called LIBXML2.
If the environment variable LIBXML2 is not available a warning will be shown and the default path of C:/3rdPartySoftware/libxml2/v2.7.8_64BIT/BUILD will be used
Take into account, that if the folder structure of the dependancies is different in your computer, the toolchain will fail, so the user should modify it accordingly to his needs.