gnustep-dev
[Top][All Lists]
Advanced

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

Re: Problem with Renaissance


From: Philippe Roussel
Subject: Re: Problem with Renaissance
Date: Sun, 07 Oct 2012 08:41:52 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

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



reply via email to

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