Comment 3 for bug 1670016

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1670016] Re: kicad no longer building on osx

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.
>