Thread Previous • Date Previous • Date Next • Thread Next |
Le 09/06/2016 19:20, Mário Luzeiro a écrit :
Hi Cirilo, With this commit: http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/6905 I cannot build now on Linux: 3d-viewer/3d_cache/3d_filename_resolver.cpp:845: 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 ); ^ It successful build on msys2 today. Is it a problem just on my system? Cheers, Mario
Your compiler is a bit too old (I have the same issue on Kubuntu 14.04 LTS). Try to change 3d-viewer/3d_cache/3d_filename_resolver.cpp:807 : std::list< S3D_ALIAS >::const_iterator sPL = m_Paths.begin(); by auto sPL = m_Paths.begin(); or std::list< S3D_ALIAS >::iterator sPL = m_Paths.begin(); Jean-Pierre Charras
Thread Previous • Date Previous • Date Next • Thread Next |