help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep on windows


From: Fred Kiefer
Subject: Re: gnustep on windows
Date: Mon, 06 May 2002 14:27:54 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Enrico Sersale wrote:

Only back gives some troubles; I've configured it with: --enable-win32
--enable-winlib.
I've installed libtiff and libjpeg.
But when I try to launch an app I get:

$ openapp Calculator.app
May 04 16:12:20 Calculator.exe[1120] No classes in bundle
May 04 16:12:20 Calculator.exe[1120] NSApplication.m:206  Assertion failed
in initialize_gnustep_backend. Can't load backend class
Error (objc-load):126
c:\GNUstep\Local\Applications\Calculator.app\ix86
\mingw32\gnu-gnu-gnu\Calculator.exe: Uncaught exception
NSInternalInconsistencyExeption, reason: NSApplication.m:206 Assertion
failed in initialize_gnustep_backend. Can't load backend class


This new problem is caused by the new file name handling. When loading a bundle the wrong file name is used as NSBundle uses cString instead of fileSystemRepresentation to get the file name. After fixing this (which I will apply later on) loading the bundle works. Still there is a big problem with gdomap and gdnc. It looks like all the programs started from GNUstep have a strange application name in the argv[0] argument. I will have to investigate this. Sorry for the inconvenience. Still I think that the changes that Richard did in this area were required, there just are a few places where further corrections are needed.

Cheers Fred






reply via email to

[Prev in Thread] Current Thread [Next in Thread]