octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building PyTave on windows - cygwin


From: Mike Miller
Subject: Re: Building PyTave on windows - cygwin
Date: Thu, 16 Jun 2016 22:42:14 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On Fri, Jun 17, 2016 at 09:55:56 +0530, Abhinav Tripathi wrote:
>  I did that I the build went a little further. It now gives these errors in
> octave headers:
> ----------------------------------------------------------
> pycall.o: In function `Gpycall':
> E:\My_Repos\pytave/pycall.cc:40: undefined reference to 
> `check_version(std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&)'
[…]
> I don't know if it is a c++11 compatiblity error or due to missing lib
> files...

Looks like the C++11 ABI transition incompatibility. Around gcc 5, a
change in the library ABI was done, see

  https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

My guess is Octave was built with the legacy pre-C++11 ABI, but pytave
is being built with the new ABI.

Did your msys development setup pull in a different version of gcc than
the one that Octave's installer comes with?

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]