← Back to team overview

kicad-developers team mailing list archive

Re: my build breaks (it worked a few days ago)

 

I updated my GCC/G++ environment and rebuilt everything (kicad)

I had no problems compiling, but running I got problems running because I
now have an ABI mismatch.. with wx

oetelaar@oet-desktop:~/kicad_sources/kicad.bzr/scripts$ kicad
Fatal Error: Mismatch between the program and library build versions
detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx
containers,compatible with 2.8).
Aborted (core dumped)

I guess I will be switching back to an older gcc/g++ and try again.
I noticed the update by JP who made some minor changes to allow for
compiling with standard gcc.

Thanks for your support,
Edwin van den Oetelaar


On Mon, Jun 13, 2016 at 11:53 AM, Mário Luzeiro <mrluzeiro@xxxxx> wrote:

> Please have a look on this thread and a possible solution for you:
>
> https://lists.launchpad.net/kicad-developers/msg24963.html
>
> Mario
>
> ________________________________________
> From: Kicad-developers [kicad-developers-bounces+mrluzeiro=
> ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Edwin van den Oetelaar [
> oetelaar.automatisering@xxxxxxxxx]
> Sent: 13 June 2016 10:36
> To: KiCad Developers
> Subject: [Kicad-developers] my build breaks (it worked a few days ago)
>
> I did a make clean, but it still breaks.
> I am on Ubuntu 14.4.4 LTS, all updated.
> gcc --version
> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
>
> Any help is appreciated.
> Thanks,
> Edwin van den Oetelaar
>
> ============================================
>
> Info from my last running build :
>
> Application: kicad
> Version: (2016-06-01 BZR 6865)-product, release build
> Libraries: wxWidgets 3.0.2
>            libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
> Platform: Linux 3.13.0-86-generic x86_64, 64 bit, Little endian, wxGTK
> - Build Info -
> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.54.0
> Curl: 7.35.0
> KiCad - Compiler: GCC 4.8.4 with C++ ABI 1002
>         Settings: USE_WX_GRAPHICS_CONTEXT=OFF
>                   USE_WX_OVERLAY=OFF
>                   KICAD_SCRIPTING=OFF
>                   KICAD_SCRIPTING_MODULES=OFF
>                   KICAD_SCRIPTING_WXPYTHON=OFF
>                   USE_FP_LIB_TABLE=HARD_CODED_ON
>                   BUILD_GITHUB_PLUGIN=ON
>
>
> Errors during build today:
>
> [ 61%] Building CXX object
> pcbnew/router/CMakeFiles/pnsrouter.dir/pns_sizes_settings.cpp.o
> /home/oetelaar/kicad_sources/kicad.bzr/3d-viewer/3d_cache/3d_filename_resolver.cpp:
> In member function ‘void S3D_FILENAME_RESOLVER::checkEnvVarPath(const
> wxString&)’:
> /home/oetelaar/kicad_sources/kicad.bzr/3d-viewer/3d_cache/3d_filename_resolver.cpp:782:32:
> error: no matching function for call to
> ‘std::list<S3D_ALIAS>::insert(std::list<S3D_ALIAS>::const_iterator&,
> S3D_ALIAS&)’
>      m_Paths.insert( sPL, lpath );
>                                 ^
> /home/oetelaar/kicad_sources/kicad.bzr/3d-viewer/3d_cache/3d_filename_resolver.cpp:782:32:
> note: candidates are:
> In file included from /usr/include/c++/4.8/list:64:0,
>                  from
> /home/oetelaar/kicad_sources/kicad.bzr/3d-viewer/3d_cache/3d_filename_resolver.h:36,
>                  from
> /home/oetelaar/kicad_sources/kicad.bzr/3d-viewer/3d_cache/3d_filename_resolver.cpp:34:
> /usr/include/c++/4.8/bits/list.tcc:98:5: note: std::list<_Tp,
> _Alloc>::iterator std::list<_Tp, _Alloc>::insert(std::list<_Tp,
> _Alloc>::iterator, const value_type&) [with _Tp = S3D_ALIAS; _Alloc =
> std::allocator<S3D_ALIAS>; std::list<_Tp, _Alloc>::iterator =
> std::_List_iterator<S3D_ALIAS>; std::list<_Tp, _Alloc>::value_type =
> S3D_ALIAS]
>      list<_Tp, _Alloc>::
>      ^
> /usr/include/c++/4.8/bits/list.tcc:98:5: note:   no known conversion for
> argument 1 from ‘std::list<S3D_ALIAS>::const_iterator {aka
> std::_List_const_iterator<S3D_ALIAS>}’ to ‘std::list<S3D_ALIAS>::iterator
> {aka std::_List_iterator<S3D_ALIAS>}’
>
>

References