mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
vcmi builds with boost 1.36. Add a note for systems where boost is installed in /usr/lib64.
This commit is contained in:
parent
38226c1056
commit
0d5de20a7a
@ -13,7 +13,7 @@ And then regenerate the build system with
|
||||
|
||||
To compile, at least the following packages (and their development counterparts) are needed to build:
|
||||
* libstdc++ devel
|
||||
* boost c++ libraries v1.37+ (1.35 will not work) (www.boost.org)
|
||||
* boost c++ libraries v1.36+ (1.35 will not work) (www.boost.org)
|
||||
* sdl,
|
||||
* sdl mixer
|
||||
* sdl image
|
||||
@ -22,7 +22,11 @@ To compile, at least the following packages (and their development counterparts)
|
||||
|
||||
Then do the usual
|
||||
./configure
|
||||
followed by
|
||||
|
||||
Note that on 64 bits linux, if the boost libraries are installed in /usr/lib64, configure will not find them and will fail. Until this is fixed, use:
|
||||
./configure --with-boost-libdir=/usr/lib64
|
||||
|
||||
Then build vcmi:
|
||||
make
|
||||
|
||||
That will generate vcmiclient, vcmiserver as well as 3 .so libraries.
|
||||
|
2
configure
vendored
2
configure
vendored
@ -15277,7 +15277,7 @@ fi
|
||||
|
||||
|
||||
if test "x$want_boost" = "xyes"; then
|
||||
boost_lib_version_req=1.37
|
||||
boost_lib_version_req=1.36
|
||||
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
|
||||
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
|
||||
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
|
||||
|
@ -26,7 +26,7 @@ if test "x$GXX" = "xyes" -a "x$enable_debug" = "xyes" ; then
|
||||
fi
|
||||
|
||||
# Check for Boost libraries
|
||||
AX_BOOST_BASE([1.37])
|
||||
AX_BOOST_BASE([1.36])
|
||||
AX_BOOST_SYSTEM
|
||||
AX_BOOST_FILESYSTEM
|
||||
AX_BOOST_THREAD
|
||||
|
Loading…
Reference in New Issue
Block a user