Hallo! Saluton!
..ProjektPfad../build/Projekt.build/Projekt.build/Objects-normal/ppc/CustomWindow.o illegal reference to symbol: _GetApplicationEventTarget defined in indirectly referenced dynamic library /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Ähm, das passiert mir beim Compilen, aber nur wenn ich das als deployment mache. Dann kann ich das Programm auch nicht starten. Es hüpft einmal und verschwindet dann wieder aus dem Dock :-/
Da rufe ich das Symbol _GetApplicationEventTarget auf:
RegisterEventHotKey(kMyHotKey, cmdKey, gMyHotKeyID, GetApplicationEventTarget(), 0, &gMyHotKeyRef);
Hier importiere ich die CarbonFramework:
#import <Carbon/Carbon.h>
Beides in meinem CostumWindow.m
Das ganze wundert mich, weil es ganz hervorragend funktioniert hat bis vor kurzem. Jemand eine Ahnung, woran es liegt?
Danke schon mal.
Gruß
Eno
..ProjektPfad../build/Projekt.build/Projekt.build/Objects-normal/ppc/CustomWindow.o illegal reference to symbol: _GetApplicationEventTarget defined in indirectly referenced dynamic library /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Ähm, das passiert mir beim Compilen, aber nur wenn ich das als deployment mache. Dann kann ich das Programm auch nicht starten. Es hüpft einmal und verschwindet dann wieder aus dem Dock :-/
Da rufe ich das Symbol _GetApplicationEventTarget auf:
RegisterEventHotKey(kMyHotKey, cmdKey, gMyHotKeyID, GetApplicationEventTarget(), 0, &gMyHotKeyRef);
Hier importiere ich die CarbonFramework:
#import <Carbon/Carbon.h>
Beides in meinem CostumWindow.m
Das ganze wundert mich, weil es ganz hervorragend funktioniert hat bis vor kurzem. Jemand eine Ahnung, woran es liegt?
Danke schon mal.
Gruß
Eno