discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problems with Objc Runtime and Foundation Classes


From: Adam Fedor
Subject: Re: Problems with Objc Runtime and Foundation Classes
Date: Mon, 16 Jun 2003 20:23:28 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905



S.B., Vaitheeswaran wrote:
Hi all,
I am pretty new to GNUStep and Obj-c. Recently, I managed to get Objc and GnuStep installed under mingw. I am able to compile and run simple obj-c code without any problem. But when I try to use the GNUStep foundation classes like NSObject or NSString I get into trouble. I am trying to compile a small piece of code that uses NSString using the make framework provided by Gnustep and also am successfull. But when I run the program I get the following problem,

"
$ static_obj/ix86/mingw32/gnu-gnu-gnu/m.exe

abnormal program termination
objc runtime: cannot find class NSString
"
I have tried both shared(make) and static(make shared=no) linking but still have the same problem. I would like to get some pointers in this regard.


How did you install GNUstep? Using the README.MinGW in gnustep-make/Documentation or using the windows installer (ftp://ftp.gnustep.org/pub/gnustep/windows)? If you used the README you need to follow the instructions exactly. Sometimes even installing a non-GNUstep library that has been compiled badly will cause these types of problem (very frustrating to track down as well).

I'd recommend trying the installer if you haven't done so.





reply via email to

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