kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40639
Re: IMPORTANT build change for OSX users
:)
> On 10 May 2019, at 20:32, Adam Wolf <adamwwolf@xxxxxxxxx> wrote:
>
> I actually got a friendly build error last night!
>
> 03:24:32 default: In file included from ./src/regex/regcustom.h:40:
> 03:24:32 default: ./include/wx/chartype.h:192:
> 03:24:32 default: 10: error: "wxUSE_UNICODE_UTF8 is not
> thread-safe and is therefore not compatible with Kicad"
> 03:24:32 default: #error "wxUSE_UNICODE_UTF8 is not
> thread-safe and is therefore not compatible with Kicad"
> 03:24:32 default: ^
> 03:24:32 default: 1 error generated.
> 03:24:32 default: make[4]: *** [wxregex_regcomp.o] Error 1
> 03:24:32 default: make[3]: ***
> [wxwidgets/src/wxwidgets-stamp/wxwidgets-build] Error 2
> 03:24:32 default: make[2]: *** [CMakeFiles/wxwidgets.dir/all] Error 2
> 03:24:32 default: make[1]: ***
> [CMakeFiles/package-kicad-nightly.dir/rule] Error 2
> 03:24:32 default: make: *** [package-kicad-nightly] Error 2
> 03:24:32 default: Error while running make after rebuilding with a
> single job. Please report this issue if you cannot fix it after
> reading the README.
>
> On Fri, May 10, 2019 at 9:19 AM Jeff Young <jeff@xxxxxxxxx> wrote:
>>
>> Awesome!
>>
>> I’ll still give it a week or so before removing the mutex’s so that everyone can catch up.
>>
>> That being said, if some of you forget and then start experiencing seemingly-random crashes, you’ll know why. ;)
>>
>> Cheers,
>> Jeff
>>
>>
>> On 10 May 2019, at 14:42, Adam Wolf <adamwwolf@xxxxxxxxx> wrote:
>>
>> I have made this change in kicad-mac-builder, and it should show up in nightlies tonight and going forward.
>>
>> Thanks folks!
>>
>> Adam
>>
>> On Thu, May 9, 2019, 2:01 PM Jeff Young <jeff@xxxxxxxxx> wrote:
>>>
>>> OK, so the config statement is in the dev docs, but I’m not sure it should be. Now that 4.x is a few versions behind us, I think we should retire all the doc about building without kicad-mac-builder. Does that sound reasonable?
>>>
>>> Either way, we need to update the config of kicad-mac-builder.
>>>
>>> Cheers,
>>> Jeff.
>>>
>>>
>>> On 9 May 2019, at 18:57, Jeff Young <jeff@xxxxxxxxx> wrote:
>>>
>>> I don’t know whether the configure statement is in them or not. (I haven’t been able to check because it seems the server is down.)
>>>
>>> New folks won’t need the rest of the instructions as they’ll be building from scratch.
>>>
>>> Cheers,
>>> Jeff.
>>>
>>>
>>> On 9 May 2019, at 17:28, Michael Kavanagh <michael@xxxxxxxxxxxxxxxxxx> wrote:
>>>
>>> Should the build instructions in the developers docs be updated?
>>>
>>> Cheers,
>>> Michael
>>>
>>> On Thu, 9 May 2019 at 00:03, Jeff Young <jeff@xxxxxxxxx> wrote:
>>>>
>>>> I’ve added a check in the headers that will fail a compile if wxUSE_UNICODE_UTF8 is set. This will allow us to remove a bunch of our mutex hacks. (It turns out that it’s only on for OSX; the other platforms already have it off.)
>>>>
>>>> You’ll need to do 3 things in your wxWidgets tree:
>>>>
>>>> 1) git fetch (your origin should be set to git@xxxxxxxxxx:KiCad/wxWidgets.git and you should be on branch kicad/macos-wx-3.0)
>>>> 2) run your configure command without the --enable-UTF8 option [1]
>>>> 3) make install (in wxWidgets/build)
>>>>
>>>> (You’ll probably need to do a clean and a re-build of Kicad after this.)
>>>>
>>>> Cheers,
>>>> Jeff.
>>>>
>>>> [1] This is the configure I used:
>>>>
>>>> ../configure \
>>>> --prefix=`pwd`/../wx-bin \
>>>> --with-opengl \
>>>> --enable-aui \
>>>> --enable-html \
>>>> --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++
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>> _______________________________________________
>>> 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