← Back to team overview

leaningtech-dev team mailing list archive

Re: [Bug 1485078] Re: Error regarding c++11 support while building cheerp C++ library

 

Hi  Alessandro,
I tried to follow the build instructions for the git version but I got 
some new errors, see below. After that I went back to source version and 
that worked fine, please let me know if you want me to try and build the 
git version again.

Ragrads Johan


  76%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/memory.cpp.obj
  /root/cheerp/cheerp-libcxx/src/memory.cpp:125:22: error: out-of-line 
definition of '__get_deleter' does not match any declaration in
        'std::__shared_weak_count'
  __shared_weak_count::__get_deleter(const type_info&) const _NOEXCEPT
                       ^~~~~~~~~~~~~
  1 error generated.
  lib/CMakeFiles/cxx.dir/build.make:330: recipe for target 
'lib/CMakeFiles/cxx.dir/__/src/memory.cpp.obj' failed
  make[2]: *** [lib/CMakeFiles/cxx.dir/__/src/memory.cpp.obj] Error 1
  CMakeFiles/Makefile2:90: recipe for target 'lib/CMakeFiles/cxx.dir/all' 
failed
  make[1]: *** [lib/CMakeFiles/cxx.dir/all] Error 2
  Makefile:116: recipe for target 'all' failed
  make: *** [all] Error 2


-- 
JA MarinTech
Johan Axelsson
M.Sc. Naval Architect
http://www.marintech.se

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

On 2015-09-07 15:07, Alessandro Pignotti wrote:
> Are still having this issue Johan? Make sure you are following the 
> build
> instructions to tell cmake where to find the cheerp-libcxxabi headers
> 
> --
> You received this bug notification because you are subscribed to the 
> bug
> report.
> https://bugs.launchpad.net/bugs/1485078
> 
> Title:
>   Error regarding  c++11 support while building cheerp C++ library
> 
> Status in Cheerp:
>   Invalid
> 
> Bug description:
>   Hi,
>    I have checked out the latest source from github and when i try to
> build the Cheerp C++ library  on an updated Gentoo system I get the
> following errors:
> 
>   CMake Warning at cmake/Modules/HandleLibCXXABI.cmake:52
> (message):_SRC/cheerp-li
>                                                                 Failed
> to find cxxabi.h
>   Call Stack (most recent call first):
>     cmake/Modules/HandleLibCXXABI.cmake:91 (setup_abi_lib)
>     CMakeLists.txt:129 (include)
> 
> 
>   CMake Warning at cmake/Modules/HandleLibCXXABI.cmake:52 (message):
>     Failed to find __cxxabi_config.h
>   Call Stack (most recent call first):
>     cmake/Modules/HandleLibCXXABI.cmake:91 (setup_abi_lib)
>     CMakeLists.txt:129 (include)
> 
> 
>   CMake Error at CMakeLists.txt:164 (message):
>     c++11 is required by libc++ but is not supported by the compiler
> 
> 
>   Regards Johan
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cheerp/+bug/1485078/+subscriptions

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1485078

Title:
  Error regarding  c++11 support while building cheerp C++ library

Status in Cheerp:
  Invalid

Bug description:
  Hi,
   I have checked out the latest source from github and when i try to build the Cheerp C++ library  on an updated Gentoo system I get the following errors:

  CMake Warning at cmake/Modules/HandleLibCXXABI.cmake:52 (message):_SRC/cheerp-li                                                                                                               Failed to find cxxabi.h
  Call Stack (most recent call first):
    cmake/Modules/HandleLibCXXABI.cmake:91 (setup_abi_lib)
    CMakeLists.txt:129 (include)

  
  CMake Warning at cmake/Modules/HandleLibCXXABI.cmake:52 (message):
    Failed to find __cxxabi_config.h
  Call Stack (most recent call first):
    cmake/Modules/HandleLibCXXABI.cmake:91 (setup_abi_lib)
    CMakeLists.txt:129 (include)

  
  CMake Error at CMakeLists.txt:164 (message):
    c++11 is required by libc++ but is not supported by the compiler

  
  Regards Johan

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


References