El vie, 13-02-2015 a las 13:19 -0600, Germán Arias escribió: > El vie, 13-02-2015 a las 15:18 +0100, Fred Kiefer escribió: > > Am 13.02.2015 um 07:29 schrieb Germán Arias: > > > Now I have installed gnustep on latest MinGW. But can't load the backend > > > (winlib or cairo) because the class NSBundle return NO at line 2049 in > > > method +load. I'm using the libobjc library. Any idea what can cause > > > this? > > > > I haven't used GNUstep on MinGW for a long time. Could you please state > > which Windows version you are on? And please provide the full error > > messages you get in the shell window when starting a GNUstep application > > with "--GNU-Debug=dflt" or "--GNU-Debug=BackendBundle". If you don't get > > any output in the window, please also check your Windows event log. > > > > Hope this helps, > > Fred > > > > > > Widows 7 32 bits on VirtualBox. With: > > $ debugapp SystemPreferences --GNU-Debug=BackendBundle > > I use debugapp, if not don't print anything. I get: > > (gdb) run > Starting program: > C:/MinGW/msys/1.0/local/lib/GNUstep/Applications/SystemPrefere > nces.app/SystemPreferences.exe "--GNU-Debug=BackendBundle" > [New Thread 2632.0xa8c] > [New Thread 2632.0xa80] > warning: 2015-02-13 13:11:52.843 SystemPreferences[2632] File > NSApplication.m: 1 > 88. In gnustep_backend_path Looking for GNUstep-back.framework > > warning: 2015-02-13 13:11:52.973 SystemPreferences[2632] Did not find > backend fr > amework. > > warning: 2015-02-13 13:11:53.053 SystemPreferences[2632] File > NSApplication.m: 1 > 88. In gnustep_backend_path Looking for libgnustep-back-024.bundle > > warning: 2015-02-13 13:11:53.134 SystemPreferences[2632] File > NSApplication.m: 3 > 06. In initialize_gnustep_backend Loading Backend from > C:/MinGW/msys/1.0/local/l > ib/GNUstep/Bundles/libgnustep-back-024.bundle > > warning: 2015-02-13 13:11:55.567 SystemPreferences[2632] > NSApplication.m:317 As > sertion failed in initialize_gnustep_backend. Can't load object file > from backe > nd at path > C:/MinGW/msys/1.0/local/lib/GNUstep/Bundles/libgnustep-back-024.bundl > e > > [Inferior 1 (process 2632) exited with code 01] > (gdb) > > Germán >
I add a breakpoint at line 180 in objc-load.m and I get this: (gdb) run Starting program: C:/MinGW/msys/1.0/local/lib/GNUstep/Applications/SystemPrefere nces.app/SystemPreferences.exe [New Thread 3456.0x7b8] [New Thread 3456.0xf00] Breakpoint 1, GSPrivateLoadModule (filename=filename@entry=0x3f76310, errorStream=0x76362940 <msvcrt!_iob+64>, loadCallback=loadCallback@entry=0x66e239d0 <_bundle_load_callback>, header=header@entry=0x0, debugFilename=debugFilename@entry=0x0) at objc-load.m:180 180 _objc_load_callback = 0; (gdb) For some reason no handler is returned by __objc_dynamic_link(). Germán. _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev