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:
> 
> german@german-desktop:~/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

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to