← Back to team overview

kicad-developers team mailing list archive

Re: Failure to build KiCad on OS X Yosemite with wxWidgets-3.0.2 and Boost-1.54

 

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



Follow ups

References