eglaysher / rlvm

RealLive clone for Linux and OSX
http://rlvm.net
GNU General Public License v3.0
152 stars 26 forks source link

Build fails with Boost 1.46 #19

Closed sn4kebite closed 13 years ago

sn4kebite commented 13 years ago

rlvm fails to build with Boost 1.46. Here's the full build output: https://gist.github.com/861490

Also fails when Boost is built with multithreaded libraries only (no -mt suffix on the libs), which is currently the case for the boost-libs package in Arch Linux.

eglaysher commented 13 years ago

boost looks like they made a large non-backwards compatible change to their API. Do things work if you apply the following patch?


--- a/SConstruct
+++ b/SConstruct
@@ -46,6 +46,10 @@ env = Environment(
   CPPDEFINES = [
     "HAVE_CONFIG_H",

+    # boost made a large non-backwards compatible change to their filesystem
+    # library. Specify version 2 explicitly.
+    ["BOOST_FILESYSTEM_VERSION", 2],
+
     # This prevents conflicts between SDL and GLEW. I shouldn't have to do
     # this, but the SDL_opengl.h and glew.h differ in const correctness...
     "NO_SDL_GLEXT"
sn4kebite commented 13 years ago

That patch fixed the compile errors, thanks.

eglaysher commented 13 years ago

Fix FTBFS with boost 1.46, which made backwards incompatible API changes.

Closed by 3e012df1fb3ff850c376a0468699efd4832c7236