← Back to team overview

hugin-devs team mailing list archive

[Bug 782767] Re: boost threading issue at build

 

** Tags added: cmake solaris

** Changed in: hugin
       Status: New => Confirmed

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

Title:
  boost threading issue at build

Status in Hugin - Panorama Tools GUI:
  Confirmed

Bug description:
  building on Solaris11e with gcc 4.5.2 I got the below error.
  I got around it by adding 
  ADD_DEFINITIONS(-pthreads)
  to 
  src/hugin_base/CMakeLists.txt


  test@kdezone:~/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build$ gmake VERBOSE=1cd /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/hugin_base && /usr/gcc/4.5/bin/g++   -Dhuginbase_EXPORTS -O2 -g -fPIC -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/vigra -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src -I/opt/kde4/include/OpenEXR -I/opt/kde4/include   -o CMakeFiles/huginbase.dir/algorithms/nona/NonaImageStitcher.cpp.o -c /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/algorithms/nona/NonaImageStitcher.cpp
  gmake: Nothing to be done for `/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/hugin_base'.

  In file included from /opt/kde4/include/boost/thread/detail/platform.hpp:17:0,
                   from /opt/kde4/include/boost/thread/thread.hpp:12,
                   from /opt/kde4/include/boost/thread.hpp:13,
                   from /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/vigra_ext/MultiThreadOperations.h:31,
                   from /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/vigra_ext/ImageTransforms.h:42,
                   from /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/nona/Stitcher.h:49,
                   from /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/algorithms/nona/NonaImageStitcher.h:36,
                   from /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/algorithms/nona/NonaImageStitcher.cpp:31:
  /opt/kde4/include/boost/config/requires_threads.hpp:47:5: error: #error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)"

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


References