← Back to team overview

kicad-developers team mailing list archive

Re: Folks doing their own Mac builds will want to fetch from our local wxWidgets branch...

 

Jeff,

Great. I have gotten it working now and also updated our build docs to have
the correct flags (remove --enable-utf8 and add --enable-richtext).

Thanks,
-Ian

On Sun, Dec 22, 2019 at 1:27 AM Jeff Young <jeff@xxxxxxxxx> wrote:

> Oops.  I use this:
>
> ../configure \
>     --prefix=`pwd`/../wx-bin \
>     --with-opengl \
>     --enable-aui \
>     --enable-html \
>     --enable-richtext \
>     --enable-stl \
>     --enable-debug \
>     --enable-debug-gdb \
>     --with-libjpeg=builtin \
>     --with-libpng=builtin \
>     --with-regex=builtin \
>     --with-libtiff=builtin \
>     --with-zlib=builtin \
>     --with-expat=builtin \
>     --without-liblzma \
>     --with-macosx-version-min=10.13 \
>     --enable-universal-binary=x86_64 \
>     CC=clang \
>     CXX=clang++
>
> Note the inclusion of —enable-richtext over your version.  You need that
> for the new multi-line text editor.
>
> Cheers,
> Jeff.
>
> On 22 Dec 2019, at 01:22, Ian McInerney <Ian.S.McInerney@xxxxxxxx> wrote:
>
> Jeff,
>
> I was actually referring to the wxWidgets compilation configure commands
> not the KiCad configure commands. I ended up fixing it by removing the
> --enable-utf8 flag that we suggest passing into wxWidgets, overall it was:
>
> ../configure \
>     --prefix=`pwd` \
>     --enable-debug \
>     --with-opengl \
>     --enable-aui \
>     --enable-html \
>     --enable-stl \
>     --with-libjpeg=builtin \
>     --with-libpng=builtin \
>     --with-regex=builtin \
>     --with-libtiff=builtin \
>     --with-zlib=builtin \
>     --with-expat=builtin \
>     --without-liblzma \
>     --with-macosx-version-min=10.14 \
>     CC=clang \
>     CXX=clang++
>
> Thanks,
> -Ian
>
> On Sun, Dec 22, 2019 at 1:05 AM Jeff Young <jeff@xxxxxxxxx> wrote:
>
>> Hi Ian,
>>
>> I’m using:
>>
>> -DCMAKE_C_COMPILER=clang
>> -DCMAKE_CXX_COMPILER=clang++
>> -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14
>>
>> -DwxWidgets_CONFIG_EXECUTABLE=/Users/jeff/kicad_dev/wxWidgets/wx-bin/bin/wx-config
>> -DKICAD_SCRIPTING=ON
>> -DKICAD_SCRIPTING_MODULES=OFF
>> -DKICAD_SCRIPTING_WXPYTHON=OFF
>> -DKICAD_USE_OCE=OFF
>> -DKICAD_USE_FONT_REDUCED_SET=ON
>> -DCMAKE_INSTALL_PREFIX=./bin
>> -DCMAKE_BUILD_TYPE=Debug
>>
>> -DPYTHON_SITE_PACKAGE_PATH=/Users/jeff/kicad_dev/wxWidgets/wx-bin/lib/python2.7/site-packages
>>
>> That’s with CLion, but it should be the same elsewhere.
>>
>> Cheers,
>> Jeff.
>>
>>
>> On 22 Dec 2019, at 00:11, Ian McInerney <Ian.S.McInerney@xxxxxxxx> wrote:
>>
>> Jeff,
>>
>> What configure flags are you using with our fork of wxWidgets? When I use
>> the flags we list in the developer docs I hit the error you added about
>> wxUSE_UNICODE_UTF8 being defined. Completely removing Unicode support also
>> breaks KiCad builds (since that typdefs wxChar into char, and we get an
>> error). Is there another configure flag you pass to still use Unicode by
>> not UTF8?
>>
>> Thanks,
>> -Ian
>>
>> On Sat, Aug 10, 2019 at 11:18 AM Jeff Young <jeff@xxxxxxxxx> wrote:
>>
>>> … and rebuild wxWidgets.
>>>
>>> Cheers,
>>> Jeff.
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>

References