-
Notifications
You must be signed in to change notification settings - Fork 39
Windows
git clone https://github.com/AlexAlbala/Alter-Native.git
git submodule init
git submodule update
-
Install Cmake from http://www.cmake.org/
- Be sure to add cmake to the PATH
-
Install Boost libraries from http://www.boost.org
-
Unzip to C:\Boost_x_y_z
-
Compile it (NOTE: The current version is working with compiler msvc-11.0 included in Visual Studio 2012)
cd C:\Boost_x_y_z bootstrap.bat b2.exe --prefix=<INSTALLATION_DIR> --toolset=msvc-11.0
-
Have a coffee or two :)
-
Probably you shohuld set the environment variable BOOST_INCLUDEDIR pointing to the installation directory in order to enable cmake to find the libraries. Check this variable if cmake is not working
-
-
For use the c++11 features you will need the compiler v120 CTP of November 2012
- http://www.microsoft.com/en-us/download/details.aspx?id=35515
- The new released v120 CTP November 2013 for visual Studio 2013 does not work properly
-
Execute the provided .bat file
install.bat
-
Or use command line:
-
Initialize environment variables
alternative-init.bat
-
Compile the AlterNative library
cd Lib/ alternative-lib-compile.bat
-
Compile AlterNative.sln solution (Debug or Release)
msbuild AlterNative.sln /p:Configuration=net_4_0_Debug msbuild AlterNative.sln /p:Configuration=net_4_0_Release
-
You also can use the supplied solution on Visual Studio 2012 or higher
-
Be sure to select one of these solution configurations Otherwise it won't compile:
net_4_0_Debug net_4_0_Release
-
-