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.mciner...@ieee.org> 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 <j...@rokeby.ie 
> <mailto:j...@rokeby.ie>> 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.mciner...@ieee.org 
>> <mailto:ian.s.mciner...@ieee.org>> 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 <j...@rokeby.ie 
>> <mailto:j...@rokeby.ie>> wrote:
>> … and rebuild wxWidgets.
>> 
>> Cheers,
>> Jeff.
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers 
>> <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@lists.launchpad.net 
>> <mailto:kicad-developers@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp 
>> <https://help.launchpad.net/ListHelp>
> 

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to