kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #15967
Re: Failure to build KiCad on OS X Yosemite with wxWidgets-3.0.2 and Boost-1.54
I forgot to paste the KiCad info.
Application: kicad
Version: (2014-11-30 BZR 5308)-product Release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 14.0.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.56.0
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=OFF
KICAD_SCRIPTING_MODULES=OFF
KICAD_SCRIPTING_WXPYTHON=OFF
USE_FP_LIB_TABLE=HARD_CODED_ON
BUILD_GITHUB_PLUGIN=ON
Jean-Pauls-MacBook-Pro-3:build jean-paullouis$ clang -v
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
Jean-Pauls-MacBook-Pro-3:build jean-paullouis$ cmake --version
cmake version 3.0.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Jean-Pauls-MacBook-Pro-3:build jean-paullouis$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Jean-Pauls-MacBook-Pro-3:build jean-paullouis$
> On Dec 1, 2014, at 8:46 PM, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>
> I finally succeeded with stock Boost 1.56.
> I did first a full refresh of the MacPorts (port selfupdate),
> then ran “sudo port upgrade outdated”.
> Finally, I downloaded a fresh version of kicad (bzr5308) and used
>
> cmake ../kicad \
> -DKICAD_SKIP_BOOST=ON \
> -DCMAKE_C_COMPILER=clang \
> -DCMAKE_CXX_COMPILER=clang++ \
> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 \
> -DwxWidgets_CONFIG_EXECUTABLE=../wx-bin/bin/wx-config \
> -DKICAD_SCRIPTING=OFF \
> -DKICAD_SCRIPTING_MODULES=OFF \
> -DKICAD_SCRIPTING_WXPYTHON=OFF \
> -DCMAKE_INSTALL_PREFIX=/Applications/kicad \
> -DCMAKE_BUILD_TYPE=Release
>
> Then "make" followed by "sudo make install”, and the build completed without a glitch.
>
> Next step is to build "Boost 1.57”, and try again.
>
> Regards,
> Jean-Paul
> AC9GH
>
>
>
>
>
>
>> On Dec 1, 2014, at 12:46 PM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> hm, weird… but if it works now, everything OK.
>> I just install boost via MacPorts (no special flags) and use the -DKICAD_SKIP_BOOST=ON flag for KiCad.
>> Finds external boost automatically, didn’t see any issues with that up to now.
>>
>>
>> Regards,
>> Bernhard
>>
>>> On 01.12.2014, at 17:18, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>>>
>>> Hi Bernhard,
>>>
>>> That’s why I do not understand, as my clang++ is in
>>> ...
>>> Jean-Pauls-MacBook-Pro-3:kicad-build jean-paullouis$ whereis clang++
>>> /usr/bin/clang++
>>> …
>>>
>>> But I did a make clean, and now it succeeded, and the red background in eeschema seems to be gone.
>>>
>>> Some progress.
>>> I now need to find the proper way to use the stock boost. I will work on that today.
>>>
>>> Thanks for your help,
>>>
>>> Jean-Paul
>>> AC9GH
>>>
>>>> On Nov 30, 2014, at 9:09 PM, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>>>>
>>>> Hi Bernhard,
>>>>
>>>> Now, I am failing to build for OS X. I just tried to rebuild the wxWidgets 3.0.2 for OS X 10.10.
>>>> My last successful build was bzr5296. I just tried to build today with bzr5308.
>>>>
>>>> Now it fails just after building boost 1.54. Is it mandatory to use 1.57?
>>>> If so, I will try to build the latest boost (1.57.0).
>>>>
>>>> Regards,
>>>> Jean-Paul
>>>> AC9GH
>>>>
>>>> End of the make process, just after completing the build of boost 1.54.
>>>>
>>>> common.copy /Users/jean-paullouis/Soft_Dev/KiCad/kicad/boost_root/include/boost/tr1/tr1/unordered_set
>>>> common.copy /Users/jean-paullouis/Soft_Dev/KiCad/kicad/boost_root/include/boost/tr1/tr1/utility
>>>> common.copy /Users/jean-paullouis/Soft_Dev/KiCad/kicad/boost_root/include/boost/tr1/tr1/valarray
>>>> common.copy /Users/jean-paullouis/Soft_Dev/KiCad/kicad/boost_root/include/boost/tr1/tr1/vector
>>>> ...updated 10741 targets...
>>>> [ 1%] No install step for 'boost'
>>>> [ 1%] Completed 'boost'
>>>> [ 1%] Built target boost
>>>> [ 1%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_16/pinorient_right.cpp.o
>>>> /bin/sh: /Users/jean-paullouis/Soft_Dev/KiCad/build/clang++: No such file or directory
>>>> make[2]: *** [bitmaps_png/CMakeFiles/bitmaps.dir/cpp_16/pinorient_right.cpp.o] Error 127
>>>> make[1]: *** [bitmaps_png/CMakeFiles/bitmaps.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>> Jean-Pauls-MacBook-Pro-3:build jean-paullouis$
>>>
>>
>
References