← Back to team overview

hugin-devs team mailing list archive

[Bug 1023037] Re: Enblend fails to build with boost 1.50

 

I don't have access to OSX, so you might want to ask
Harry van der Wolf or Ingemar Bergmark, who are the
Mac-builders in our team.

As you confirm that adding "-lboost_filesystem -lboost_system"
fixes your problem, you can also pass option
    --with-boost-filesystem
to ./configure.  It forces the use of both of the Boost libs your
initial build was missing.

If you feel adventurous and you want to hack, search for the
string "boost-filesystem" in file "configure.in", where a
rather lengthy selection-and-autodetection code section
begins.  Regenerate "configure" in the root directory with
    make --makefile=Makefile.scm clean
    make --makefile=Makefile.scm all
then ./configure and make as usual.


** Changed in: enblend
   Importance: Undecided => Low

** Changed in: enblend
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1023037

Title:
  Enblend fails to build with boost 1.50

Status in Enblend:
  Triaged

Bug description:
  Building enblend fails with the following error:

  g++   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -DVIGRA_STATIC_LIB -D_THREAD_SAFE -I/opt/local/include/OpenEXR    --param inline-unit-growth=60 -O2 -DNDEBUG -Wall   -L/opt/local/lib -o enblend enblend-enblend.o enblend-gpu.o enblend-error_message.o enblend-filenameparse.o enblend-filespec.o enblend-self_test.o enblend-tiff_message.o vigra_impex/libvigra_impex.a   -L/opt/local/lib -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpthread   -lxmi -llcms -ltiff -lpng -ljpeg -lz 
  Undefined symbols for architecture x86_64:
    "boost::system::generic_category()", referenced from:
        global constructors keyed to commandin enblend-enblend.o
    "boost::system::system_category()", referenced from:
        global constructors keyed to commandin enblend-enblend.o
  ld: symbol(s) not found for architecture x86_64
  collect2: ld returned 1 exit status
  make[4]: *** [enblend] Error 1

  I can build enblend successfully when I switch back to boost 1.49.

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1023037/+subscriptions


References