Git Product home page Git Product logo

external's Introduction

externalVC

Dependency package for compiling Wesnoth on Visual C++

Bundled archives

The version branches are referenced on the Wesnoth wiki
http://wiki.wesnoth.org/CompilingWesnothOnWindows

Therefore we have to provide the following specific branch links:

Updating Boost libraries

Download and unpack the source of the libraries zlib, libbzip2, boost (version 1.56 or 1.58+ preferred)

In the Developer Command Prompt that is installed with Visual Studio, go to the boost directory and type (with the correct paths of the other two libraries):

bootstrap
.\b2 -sZLIB_SOURCE=..\zlib-1.2.8 -sBZIP2_SOURCE=..\bzip2-1.0.6 -jN --with-date_time --with-filesystem --with-iostreams --with-locale --with-program_options --with-random --with-regex --with-system --with-test --with-thread

with N being the number of cores in your CPU (e.g. -j4 for a quad core). Depending on your boost version, you may need to replace ..\ with the absolute paths to zlib and bzip. If you have multiple versions of Visual Studio installed, add --toolset=msvc-X.0 with X being the target version number.

Separate the required subset of the Boost source:

.\b2 tools\bcp
dist\bin\bcp.exe algorithm asio assign bimap container date_time dynamic_bitset exception filesystem fusion iostreams iterator locale math mpl multi_array multi_index phoenix program_options ptr_container random range regex serialization spirit system test boost\nondet_random.hpp ..\..\_include

Replace the outdated files in 'external/lib' with those from 'boost_.../stage/lib' and those in 'external/include/boost' with the ones in '_include/boost'.

external's People

Contributors

aquileia avatar jyrkive avatar wedge009 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.