Sounds like your environment can find neither MinGW's (GCC's) objc nor
GNUstep's liobjc2.

If they are installed, and you just need a quick fix, you could perhaps go
to:
C:\GNUstep\GNUstep\System\Library\Makefiles (or equivalent)
and in common.make's definition for GNUSTEP_HEADERS_FLAGS add "-I" flag
pointing to where objc/objc.h is located (for example, I found it in
C:\GNUstep\GNUstep\System\Library\Headers so I would punch in
-IC:/GNUstep/GNUstep/System/Library/Headers)

Untested of course, and it probably won't help much since other problems
will probably arise. It's also just a dirty temporary fix.

On Mon, Mar 14, 2011 at 16:29, Riccardo Mottola
<riccardo.mott...@libero.it>wrote:

> Hi,
>
> the recent configure / header changes make it impossible for me to compile
> on windows:
>
> <....>
>  Compiling file GSNibLoader.m ...
> In file included from
> G:/GNUstep/GNUstep/include/GNUstepBase/GSConfig.h:229,
>                 from
> G:/GNUstep/GNUstep/include/GNUstepBase/GSVersionMacros.h:193,
>                 from G:/GNUstep/GNUstep/include/Foundation/NSArchiver.h:31,
>                 from GSNibLoader.m:30:
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:112:24: warning:
> objc/objc.h: No such file or directory
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:116:29: warning:
> objc/objc-api.h: No such file or directory
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:117:29: warning:
> objc/encoding.h: No such file or directory
>  Compiling file NSPasteboard.m ...
> In file included from
> G:/GNUstep/GNUstep/include/GNUstepBase/GSConfig.h:229,
>                 from
> G:/GNUstep/GNUstep/include/GNUstepBase/GSVersionMacros.h:193,
>                 from G:/GNUstep/GNUstep/include/Foundation/NSArray.h:27,
>                 from NSPasteboard.m:522:
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:112:24: warning:
> objc/objc.h: No such file or directory
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:116:29: warning:
> objc/objc-api.h: No such file or directory
> G:/GNUstep/GNUstep/include/GNUstepBase/preface.h:117:29: warning:
> objc/encoding.h: No such file or directory
>  Linking library libgnustep-gui ...
> G:\GNUstep\mingw\bin\ld.exe: cannot find -lobjc
> collect2: ld returned 1 exit status
>
> Any clues? it happens for almost any file in gui. I updated and
> reconfigured make, base and gui
>
> Riccardo
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>



-- 
Regards,

Ivan Vučica
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to