Question

I'm trying to compile for the first time, a Obj-C source under Windows 7. I installed GNUstep and when I try to compile a simple hello world file it says to me I had MinGW installed before with CodeBlocks fwiw...

Here is the error message I get from the GNUstep shell:

screenshot

EDIT: I tryed to add this GNUmakefile

include $(GNUSTEP_MAKEFILES)/common.make

APP_NAME = PanelTest
PanelTest_OBJC_FILES = main.m

include $(GNUSTEP_MAKEFILES)/application.make

but nothing changes.

EDIT 2: See @crashmstr reply to overcame the issue.

Now when I compile it says to me this

fatal error: Foundation/Foundation.h: No such file or directory compilaion terminated.

What should I do?

Was it helpful?

Solution

C:\ is leaving you in the cd command, and in the next line, you are then adding g++ to send to the cd command.

Note the > in front of g++ instead of the $, plus the fact that it says sh: cd: C:g++

In the shell, you need to use Unix style paths and / as the path separator.

OTHER TIPS

Is your path set correctly? The error message I see in your screenshot refers to g++ was not found.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top