Hi,
Since commit 7311f07eafc6128483367b39bf0bb1e4650e377f (SWIG
Improvements), It was no more possible to compile kicad with scripting
on Ubuntu 14.04 at least (work with > 14.04). This is due to move of
pcbnew/scripting/pcbnew.i to pcbnew/swig directory (and perhaps the used
version of swig3.0 too).
It was working previously because the target directory
(pcbnew/scripting) was created by cmake.
Attached patch create this directory to fix this issue.
Not sure but I guess that pcbnew/scripting should not be created anymore
(this is not on this patch).
Thanks,
diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt
index a692cb4..8d61887 100644
--- a/pcbnew/CMakeLists.txt
+++ b/pcbnew/CMakeLists.txt
@@ -7,6 +7,7 @@ add_dependencies( pnsrouter pcbcommon )
if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting )
+ file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/swig )
# Infrequently needed headers go at end of search paths, append to INC_AFTER
set( INC_AFTER ${INC_AFTER} swig )
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp