It appears that the dependency for the ScriptingModulesPcbnewSoCopy
target is wrong.
pcbnew/CMakeLists.txt line 728 should read
DEPENDS pcbnew_kiface
not
DEPENDS _pcbnew
The pcbnew_kiface target (_pcbnew.kiface gets copied to
_pcbnew.${PYMOD_EXT} at build time and installed in ${PYTHON_DEST} at
install time on windows and linux. I'm not sure what the appropriate
steps would be for osx.
To be honest this entire elseif( APPLE ) section makes no sense to me.
Why are we copying files instead of installing them on osx? I thought
osx bundles were analogous to Debian packages which has nothing to do
with running `make install`.
On 3/4/2017 3:02 PM, Simon Wells wrote:
> Error copying file "_pcbnew.kiface" to "_pcbnew.so".
>
> make[2]: *** No rule to make target `/Users/simon/kicad-
> app/kicad/pcbnew/_pcbnew', needed by
> `pcbnew/CMakeFiles/ScriptingModulesPcbnewSoCopy'. Stop.
>
It appears that the dependency for the ScriptingModule sPcbnewSoCopy
target is wrong.
pcbnew/ CMakeLists. txt line 728 should read
DEPENDS pcbnew_kiface
not
DEPENDS _pcbnew
The pcbnew_kiface target (_pcbnew.kiface gets copied to ${PYMOD_ EXT} at build time and installed in ${PYTHON_DEST} at
_pcbnew.
install time on windows and linux. I'm not sure what the appropriate
steps would be for osx.
To be honest this entire elseif( APPLE ) section makes no sense to me.
Why are we copying files instead of installing them on osx? I thought
osx bundles were analogous to Debian packages which has nothing to do
with running `make install`.
On 3/4/2017 3:02 PM, Simon Wells wrote: simon/kicad- pcbnew/ _pcbnew' , needed by CMakeFiles/ ScriptingModule sPcbnewSoCopy' . Stop.
> Error copying file "_pcbnew.kiface" to "_pcbnew.so".
>
> make[2]: *** No rule to make target `/Users/
> app/kicad/
> `pcbnew/
>