← Back to team overview

kicad-developers team mailing list archive

Re: Mac questions: fast build and BRIGHT_BOX

 

Le 06/09/2017 à 19:29, Bernhard Stegmaier a écrit :
> I didn’t see any issues with release builds - I did use it a couple of times the last days.
> On all of my machines, also on 10.12.
> 
> Maybe this assertion is only active in debug builds (didn’t try a debug build for some while)?
> 
> 
> Regards,
> Bernhard
> 

This is an explanation.

Be careful with assert messages in debug mode.
Many (even inside Kicad) are something like sentinels.

For instance, on Linux, GTK generates a lot of useless asserts with a lot of applications
(noticeable when running this application from a console).

They are not necessary a very annoying problem, but perhaps just need a (minor) fix, but not
necessary inside Kicad.

Of course, if they happen just before a crash, this is an other story.


>> On 6. Sep 2017, at 18:35, Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>> wrote:
>>
>> +I added this issue as LP: 1715440
>>
>> One more Mac OS issue that I'm curious if others see on 10.12:  "Copy Version Info" from the About
>> dialog doesn't work, and results in the following debug assertions:
>>
>> ../src/osx/carbon/clipbrd.cpp(65): assert "m_pasteboard" failed in Clear(): Clipboard creation failed.
>> Collecting stack trace information, please wait...2017-09-06 12:23:12.297 gerbview[62445:23182459]
>> Spell server connection invalidated
>> ../src/osx/carbon/clipbrd.cpp(65): assert "m_pasteboard" failed in Clear(): Clipboard creation failed.
>> Collecting stack trace information, please wait...../src/osx/carbon/clipbrd.cpp(121): assert
>> "(syncFlags&kPasteboardClientIsOwner)" failed in AddData(): client couldn't own clipboard
>> Collecting stack trace information, please wait...../src/osx/carbon/clipbrd.cpp(65): assert
>> "m_pasteboard" failed in Clear(): Clipboard creation failed.
>> ../src/osx/carbon/clipbrd.cpp(121): assert "(syncFlags&kPasteboardClientIsOwner)" failed in
>> AddData(): client couldn't own clipboard
>>
>> -Jon
>>
>>
>> On Tue, Sep 5, 2017 at 6:14 PM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx
>> <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>>
>>     Hi,
>>
>>     (1) You can’t run standalone applications (won’t find libraries), but you can run project
>>     manager directly from build directory.
>>     Like this from console (for me):
>>     <<<
>>     HackMini:build bstegmaier$ kicad/kicad.app/Contents/MacOS/kicad
>>     >>>
>>     Or just start it via Finder from build/kicad…
>>
>>     (2) Yes, just tried and I also don’t see it (if I tried correctly).
>>
>>
>>     Regards,
>>     Bernhard
>>
>>
>>>     On 5. Sep 2017, at 23:24, Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>> wrote:
>>>
>>>     Hi Mac developers:
>>>
>>>     1) is there an easy way to quickly rebuild a single app and run it?  I'm used to being able
>>>     to do that on Linux, but it seems like I can't run apps out of the build directory on Mac
>>>     (have to run "make install" which repackages all applications and is slow).
>>>
>>>     2) It seems like BRIGHT_BOX doesn't display on Mac (OpenGL and Cairo) on my machine (i.e. the
>>>     green box around an item when the selection disambiguation menu is shown) -- does anyone else
>>>     have this issue?
>>>
>>>     Thanks,
>>>     -Jon
>>>     _______________________________________________
>>>     Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/%7Ekicad-developers>
>>>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>     Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/%7Ekicad-developers>
>>>     More help   : https://help.launchpad.net/ListHelp <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
> 


-- 
Jean-Pierre CHARRAS


Follow ups

References