CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2011
    Posts
    10

    boost libraries issues ... please help !!

    while building i get this error

    /home/m3ssaf/epocroot-pdk-3.0.i/oss+FCL+interim+sftools+linux_build.hg/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_heap_alloc.hpp: In function ‘T* boost:etail::heap_new(A1&&) [with T = boost:etail::thread_data<void (*)()>, A1 = void (*&)()]’:
    /home/m3ssaf/epocroot-pdk-3.0.i/oss+FCL+interim+sftools+linux_build.hg/imgtools/imglib/boostlibrary/boost/thread/detail/thread.hpp:130:95: instantiated from here

    /home/m3ssaf/epocroot-pdk-3.0.i/oss+FCL+interim+sftools+linux_build.hg/imgtools/imglib/boostlibrary/boost/thread/pthread/thread_heap_alloc.hpp:24:47: error: cannot bind ‘void (*)()’ lvalue to ‘void (*&&)()’
    /home/m3ssaf/epocroot-pdk-3.0.i/oss+FCL+interim+sftools+linux_build.hg/imgtools/imglib/boostlibrary/boost/thread/detail/thread.hpp:43:13: error: initializing argument 1 of ‘boost:etail::thread_data<F>::thread_data(F&&) [with F = void (*)()]’

    any help .....,

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: boost libraries issues ... please help !!

    Which compiler are you using?

  3. #3
    Join Date
    Apr 2011
    Posts
    10

    Re: boost libraries issues ... please help !!

    ARM GCC toolchain for Symbian (GCCE)

  4. #4
    Join Date
    May 2001
    Location
    Germany
    Posts
    1,158

    Re: boost libraries issues ... please help !!

    you might need to define BOOST_NO_RVALUE_REFERENCES in your project.
    At least that helped me with boost and Visual Studio 2010.

    HTH
    Richard

  5. #5
    Join Date
    Apr 2011
    Posts
    10

    Re: boost libraries issues ... please help !!

    thanks so much ..
    it was like what you said .. & i got it from here ..
    http://www.boost.org/doc/libs/1_44_0...ail/thread.hpp

    thanks again for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured