Skip to content
Alex Albalá Díaz edited this page Jul 8, 2014 · 2 revisions

Getting the code

git clone https://github.com/AlexAlbala/Alter-Native.git
git submodule init
git submodule update

On Windows

  • 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

  • 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
        

Home

Installation tutorials

Clone this wiki locally