Open microbug opened 10 years ago
Hi folks,
I'm going to upload a new version of KicadOSXBuilder very soon.
Adam Wolf
OK, thanks!
~Richard
@adamwolf another thing you should probably add (if it's not already there) is automatic downloading of the patches - I had to make the patches directory and download the patches manually.
I hope to upload my version on Sunday, but I have a 2 month old... so who knows.
Better late than never!
FYI I'm also getting the same or similar CMake / osx_fix_bundles
error on OS X 10.9.4 with Apple LLVM version 5.1 (clang-503.0.40):
…
-- Kicad Bazaar build version: (2014-08-24 BZR 5095)
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.8")
CMake Error at pcbnew/CMakeLists.txt:722 (add_dependencies):
Cannot add target-level dependencies to non-existent target
"osx_fix_bundles".
Any luck with a fix?
Thanks!!
@adamwolf any progress? ;)
@microbug I'm trying to build manually, but stuck at the end of linking, which complains no TLS_*\ reference, all other components are built.
I installed all necessary lib such as glew, swig, wxWidgets, then (according to Documentaion/compiling/mac-osx.txt), in kicad source directory
mkdir build; cd build
cmake ../ -DKICAD_BUILD_DYNAMIC=ON
make swig
cmake ../ -DKICAD_BUILD_DYNAMIC=ON -DKICAD_SKIP_BOOST=ON -DwxWidgets_CONFIG_EXECUTABLE=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DCMAKE_OSX_ARCHITECTURES="x86_64" -DPYTHON_EXECUTABLE=`which python`
cd common
make
cd ..
make
Hi sprhawk,
try all that without the build/ folder. I am unable to get builds to work on OS X with a build folder.
Adam Wolf
On Sun, Aug 31, 2014 at 12:31 PM, sprhawk notifications@github.com wrote:
@microbug https://github.com/microbug I'm trying to build manually, but stuck at the end of linking, which complains no TLS_*\ reference, all other components are built.
I installed all necessary lib such as glew, swig, wxWidgets, then (according to Documentaion/compiling/mac-osx.txt)
mkdir build; cd build cmake ../ -DKICAD_BUILD_DYNAMIC=ON make swig cmake ../ -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DKICAD_SCRIPTING_MODULES=ON cd common make cd .. make
— Reply to this email directly or view it on GitHub https://github.com/KiCad/KicadOSXBuilder/issues/43#issuecomment-53994954 .
I'm getting an identical error to @microbug, so I won't repost the logs here. Let me know if there's anything I can do to help test a newer version of the build script.
The osx_fix_bundles target is in the main CMakeLists.txt and is created when KICAD_BUILD_DYNAMIC exists. A MacOS build should be dynamic (I assumed linked) right?
In build/kicacd/CmkaeCahce.txt the KICAD_BUILD_DYNAMIC is set to "off". Therefore the osx_fix_bundles target doesn't get created. Setting it to on for me results in another error "SWIG not found" even though the swig executable is on my path.
Hello,
I've run into this same error on OSX 10.8.5. Is there a fix available yet?
I've been trying to compile KiCad for a while using the script now. My build fails at step 5:
Final entry in CMakeError.log:
Last bits of CMakeOutput.log:
I don't know what's going wrong here; has anyone got a solution?