gnustep-dev
[Top][All Lists]
Advanced

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

Re: Problem with Renaissance


From: A. Arias
Subject: Re: Problem with Renaissance
Date: Sun, 07 Oct 2012 18:51:40 -0600

El dom, 07-10-2012 a las 08:41 +0200, Philippe Roussel escribió:
> Hi German,
> 
> Le 07/10/2012 04:21, Germán A. Arias a écrit :
> > I’m having an odd problem with Renaissance and gnustep update to svn.
> > Attached a simple test that compile fine on my machine. But don't run. I
> > get the error:
> > 
> > address@hidden:~/Instalados/Practicas/Renan$ openapp ./Renan
> > 2012-10-06 20:03:00.266 Renan[11495] Problem posting notification:
> > <NSException: 0x9b588ac> NAME:NSInvalidArgumentException
> > REASON:NSBundle(class) does not recognize loadGSMarkupNamed:owner:
> > INFO:(null) 
> 
> Same here.
> 
> ldd shows that Renan isn't linked with Renaissance. This is probably
> because you don't call any Renaissance code directly in your code so the
> linker removes it from the list of librairies.
> 
> 
> Try with this main function :
> 
> > int main(int argc, const char *argv[])
> > {
> >   CREATE_AUTORELEASE_POOL(pool);
> >   [[NSApplication sharedApplication] setDelegate:[AppController new]];
> >   RELEASE(pool);
> >   return GSMarkupApplicationMain(argc, argv);
> > }
> 
> Philippe

This solve the problem. Thanks.




reply via email to

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