← Back to team overview

kicad-developers team mailing list archive

Re: swig v3.0 not detected during cmake process under linux

 

Le 21/03/2017 à 16:55, Fabrizio Tappero a écrit :
> Hello,
> in refernece to this bug report
> https://bugs.launchpad.net/kicad/+bug/1592027
> 
> I still experience the same problem.
> 
> Regards
> Fabrzio
> 
> 

bug 1592027 has nothing to do with you issue.

Your issue looks like you have both swig2.0 and swig (swig3) installed.
Perhaps you should try to remove swig2.0

> 
> 
> 
> fabrizio@ln1 /opt/kicad-source-mirror/build/release $ swig -version
> 
> SWIG Version 3.0.12
> 
> Compiled with g++ [x86_64-pc-linux-gnu]
> 
> Configured options: +pcre
> 
> Please see http://www.swig.org for reporting bugs and further information
> fabrizio@ln1 /opt/kicad-source-mirror/build/release $ cmake -DCMAKE_BUILD_TYPE=Release      
> -DKICAD_SCRIPTING=ON       -DKICAD_SCRIPTING_MODULES=OFF       -DKICAD_SCRIPTING_WXPYTHON=OFF      
> ../../
> -- Kicad install dir: </usr/local>
> -- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
> -- Check for installed GLEW -- found
> -- Boost version: 1.54.0
> -- Found the following Boost libraries:
> --   system
> CMake Error at CMakeModules/FindSWIG.cmake:68 (message):
>   Command "/usr/bin/swig2.0 -swiglib" failed with output:
> 
> Call Stack (most recent call first):
>   CMakeLists.txt:612 (find_package)
> 
> 
> CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
>   Could NOT find SWIG: Found unsuitable version "2.0.11", but required is at
>   least "3.0" (found /usr/bin/swig2.0)
> Call Stack (most recent call first):
>   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:313 (_FPHSA_FAILURE_MESSAGE)
>   CMakeModules/FindSWIG.cmake:93 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   CMakeLists.txt:612 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/opt/kicad-source-mirror/build/release/CMakeFiles/CMakeOutput.log".
> See also "/opt/kicad-source-mirror/build/release/CMakeFiles/CMakeError.log".
> fabrizio@ln1 /opt/kicad-source-mirror/build/release $ uname -a
> Linux ln1 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64
> GNU/Linux
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


-- 
Jean-Pierre CHARRAS


Follow ups

References