|
|
Home » Developing U++ » Mac OS » theide.app with apple style menus
|
Re: theide.app with apple style menus [message #50737 is a reply to message #50735] |
Tue, 11 December 2018 14:29 |
|
Klugier
Messages: 1083 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
Today, I try to launch new ide executable and i found following problem while running the app (TheIDE doesn't start):
Process: newide2 [663]
Path: /Users/USER/*/theide.app/Contents/MacOS/newide2
Identifier: newide2
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: newide2 [663]
User ID: 502
Date/Time: 2018-12-11 14:25:01.556 +0100
OS Version: Mac OS X 10.14.2 (18C54)
Report Version: 12
Bridge OS Version: 3.2 (16P2542)
Anonymous UUID: 3F4FE116-7AB0-CA0A-63D1-63D585F746EE
Time Awake Since Boot: 320 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /Users/USER/*/theide.app/Contents/MacOS/newide2
Reason: image not found
Binary Images:
0x101028000 - 0x101afcff7 +newide2 (0) <C79FF830-85DE-38CC-BA55-03DCE86CD8F1> /Users/USER/*/theide.app/Contents/MacOS/newide2
0x10ad29000 - 0x10ada7a67 dyld (640.2) <289AB27E-F09F-3384-A14A-100431139559> /usr/lib/dyld
0x7fff2cdb4000 - 0x7fff2cdb4fff com.apple.Carbon (158 - 158) <D6170F31-7A8A-3D4F-91DA-E11CF33E62B4> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff2d2cf000 - 0x7fff2d2cffff com.apple.Cocoa (6.11 - 23) <D0BED932-C061-33E9-9F59-ECE0BA9F7EEB> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff2fe77000 - 0x7fff30245fff com.apple.Foundation (6.9 - 1561) <27FD022F-F0E3-3053-BADA-DF9BF856CA85> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff581e3000 - 0x7fff581e4ffb libSystem.B.dylib (1252.200.5) <25F4A1F5-6551-312F-B397-C8D45ACC530A> /usr/lib/libSystem.B.dylib
0x7fff5842e000 - 0x7fff5843cfff libbz2.1.0.dylib (38.200.3) <4DEC3797-087F-3C8D-815B-48E895813251> /usr/lib/libbz2.1.0.dylib
0x7fff5ab6d000 - 0x7fff5ab7fffb libz.1.dylib (70.200.4) <15F7B40A-424C-33BB-BF2C-7E8195128B78> /usr/lib/libz.1.dylib
It seems that the following problem cause the crash:
Dyld Error Message:
Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /Users/USER/*/theide.app/Contents/MacOS/newide2
Reason: image not found
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Tue, 11 December 2018 14:45] Report message to a moderator
|
|
|
|
|
Re: theide.app with apple style menus [message #50740 is a reply to message #50739] |
Tue, 11 December 2018 18:29 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 11 December 2018 12:13Novo wrote on Tue, 11 December 2018 17:45mirek wrote on Tue, 11 December 2018 05:34
I see the light at the end of the tunnel
Thank you.
When I launched newly recompiled ide, I was unable to use both menu and keyboard. For example, I was unable to change main package using keyboard. After some period of random clicking, pressing keys, and switching windows I managed to make menu and keyboard work. After some time I got into situation when menu works but keyboard doesn't.
I couldn't figure out a pattern.
Did you recompile or have you downloaded the recent one? It looks like due to apple bug, menu does not work unless it is application bundle (which now theide generates).
Mirek
I recompiled it (I always do). My setup:
/Users/XXX/dvlp/cpp/code/upp/git/out/uppsrc/CLANG.Blitz.Gui.Nogtk.Shared/ide.app/Contents/MacOS/ide (15260788 B) is up to date.
$ which ide
/Users/XXX/local/bin/ide
$ ls -l /Users/XXX/local/bin/ide
lrwxr-xr-x 1 XXX staff 104 Nov 27 19:38 /Users/XXX/local/bin/ide -> /Users/XXX/dvlp/cpp/code/upp/git/out/uppsrc/CLANG.Blitz.Gui.Nogtk.Shared/ide.app/Contents/MacOS/ide
Is there something wrong with my setup?
Regards,
Novo
|
|
|
Re: theide.app with apple style menus [message #50741 is a reply to message #50740] |
Tue, 11 December 2018 18:44 |
|
mirek
Messages: 14105 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Tue, 11 December 2018 18:29mirek wrote on Tue, 11 December 2018 12:13Novo wrote on Tue, 11 December 2018 17:45mirek wrote on Tue, 11 December 2018 05:34
I see the light at the end of the tunnel
Thank you.
When I launched newly recompiled ide, I was unable to use both menu and keyboard. For example, I was unable to change main package using keyboard. After some period of random clicking, pressing keys, and switching windows I managed to make menu and keyboard work. After some time I got into situation when menu works but keyboard doesn't.
I couldn't figure out a pattern.
Did you recompile or have you downloaded the recent one? It looks like due to apple bug, menu does not work unless it is application bundle (which now theide generates).
Mirek
I recompiled it (I always do). My setup:
/Users/XXX/dvlp/cpp/code/upp/git/out/uppsrc/CLANG.Blitz.Gui.Nogtk.Shared/ide.app/Contents/MacOS/ide (15260788 B) is up to date.
$ which ide
/Users/XXX/local/bin/ide
$ ls -l /Users/XXX/local/bin/ide
lrwxr-xr-x 1 XXX staff 104 Nov 27 19:38 /Users/XXX/local/bin/ide -> /Users/XXX/dvlp/cpp/code/upp/git/out/uppsrc/CLANG.Blitz.Gui.Nogtk.Shared/ide.app/Contents/MacOS/ide
Is there something wrong with my setup?
The recompile again using the new ide...
(Or download from the link).
Mirek
|
|
|
Re: theide.app with apple style menus [message #50742 is a reply to message #50741] |
Tue, 11 December 2018 19:48 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 11 December 2018 12:44The recompile again using the new ide...
(Or download from the link).
Tried to recompile with a newly compiled ide ...
Tried downloaded version (copied over config files from the old ide) ...
Got the same result in both cases: menu and keyboard (at least command-key) do not work (at least initially).
MacOS High Sierra
Version 10.13.6
-std=c++14
Regards,
Novo
|
|
|
Re: theide.app with apple style menus [message #50743 is a reply to message #50742] |
Tue, 11 December 2018 20:09 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Tried to copy your precompiled app into Application - it won't event launch because it requires macOS 10.14 (can be launched from command line).
Tried to copy my recompiled app into Application - menu works, but keyboard (at least command-m) doesn't.
Regards,
Novo
|
|
|
|
|
|
|
|
|
|
Re: theide.app with apple style menus [message #50751 is a reply to message #50746] |
Tue, 11 December 2018 21:43 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 11 December 2018 14:29P.P.S.: Some keys do not work right now, it is "todo".
New discoveries:
command-m
command-/
command-\
These three do not work till you click on the "File" menu. It looks like it "enables" these combinations.
ESC doesn't work in any case...
command-b works without clicking on "Edit".
Regards,
Novo
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:23:46 CET 2024
Total time taken to generate the page: 0.00911 seconds
|
|
|