boost libraries issues ... please help !!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

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

  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::detail::heap_new(A1&&) [with T = boost::detail::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::detail::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
    Fairfax, VA
    Posts
    10,888

    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,108

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center