problem with libraries
Thanasis Petridis <[email protected]> Sun, 6 Nov 2011 21:59:51 +0200
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <CALOpJ4SezdR3qzYnszoxkZ4GSwjmD70e5K9jo-_myn41q8h+ew@mail.gmail.com> |
--===============0394611543464569456== Content-Type: multipart/alternative; boundary=14dae9340b7f99183404b1166115 --14dae9340b7f99183404b1166115 Content-Type: text/plain; charset=ISO-8859-1 Hello. My name is Thanasis. First of all sorry for my poor english. Secondly, if this is the wrong mailing list or if there is a solution for my problem, just tell me which is the correct mailing list or where is the answer. I have a PC running on Windows 7 and I want to start programming apps for iOS. So I figured out that I should start from learning the Objective-C language. So I searched in the Internet and I found that I can program Objective-C on windows 7 through GNUstep. I install in the directory c:\GNUstep the following 3 setups -gnustep-msys-system-0.28.1-setup -gnustep-core-0.28.0-setup -gnustep-devel-1.3.0-setup I have created a file hello.m in the folder c:\new I started the shell application I wrote c:\new and then I wrote g++ hello.m and I get the error " Foundation.h: No such file or directory compilation terminated" I changed the path of Foundation in the source code of my program to the correct " #import <C:\GNUstep\GNUstep\System\Library\Headers\Foundation\Foundation.h> " and then I get the error : " C:\GNUstep\GNUstep\System\Library\Headers\Foundation\Foundation.h:30:40: fatal error: GNUstepBase/GSVersionMacros.h: No such file or directory " I changed the path of the GSVersionMacros.h inside the source code of the Foundation.h file and then I got a new error for another header file inside the GSVersionMacros.h file. How can I fix this? Should I have to do this for all the header files? Thank you very much. --14dae9340b7f99183404b1166115 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <font style=3D"background-color: rgb(255, 255, 255);">Hello. My name is Tha= nasis.=A0</font><div><font style=3D"background-color: rgb(255, 255, 255);">= <br></font></div><div><font style=3D"background-color: rgb(255, 255, 255);"= >First of all sorry for my poor english.</font></div> <div><font style=3D"background-color: rgb(255, 255, 255);"><br></font></div= ><div><font style=3D"background-color: rgb(255, 255, 255);">Secondly, if th= is is the wrong mailing list or if there is a solution for my problem, just= tell me which is the correct mailing list or where is the answer.</font></= div> <div><font style=3D"background-color: rgb(255, 255, 255);"><br></font></div= ><div><font style=3D"background-color: rgb(255, 255, 255);">I have a PC run= ning on Windows 7 and I want to start programming apps for iOS. So I figure= d out that I should start from learning the Objective-C language.</font></d= iv> <div><font style=3D"background-color: rgb(255, 255, 255);">So I searched in= the Internet and I found that I can program Objective-C on windows 7 throu= gh GNUstep. I install in the directory c:\GNUstep the following 3 setups</f= ont></div> <div><font style=3D"background-color: rgb(255, 255, 255);"><br></font></div= ><div><font style=3D"background-color: rgb(255, 255, 255);">-gnustep-msys-s= ystem-0.28.1-setup</font></div><div><font style=3D"background-color: rgb(25= 5, 255, 255);">-gnustep-core-0.28.0-setup</font></div> <div><font style=3D"background-color: rgb(255, 255, 255);">-gnustep-devel-1= .3.0-setup</font></div><div><font style=3D"background-color: rgb(255, 255, = 255);"><br></font></div><div><font class=3D"Apple-style-span" style=3D"back= ground-color: rgb(255, 255, 255);">I have created a file hello.m in the fol= der c:\new=A0</font></div> <div><font class=3D"Apple-style-span" style=3D"background-color: rgb(255, 2= 55, 255);">I started the shell application</font></div><div><font class=3D"= Apple-style-span" style=3D"background-color: rgb(255, 255, 255);">I wrote c= :\new</font></div> <div><font class=3D"Apple-style-span" style=3D"background-color: rgb(255, 2= 55, 255);">and then I wrote g++ hello.m and I get the error " Foundati= on.h: No such file or directory compilation terminated"</font></div><d= iv> <font class=3D"Apple-style-span" style=3D"background-color: rgb(255, 255, 2= 55);">I changed the path of Foundation in the source code of my program to = the correct=A0</font></div><div><font class=3D"Apple-style-span" style=3D"b= ackground-color: rgb(255, 255, 255);"><br> </font></div><div><font class=3D"Apple-style-span" style=3D"background-colo= r: rgb(255, 255, 255);">"=A0#import <C:\GNUstep\GNUstep\System\Libr= ary\Headers\Foundation\Foundation.h> "</font></div><div><font class= =3D"Apple-style-span" style=3D"background-color: rgb(255, 255, 255);"><br> </font></div><div><span class=3D"Apple-style-span" style=3D"background-colo= r: rgb(255, 255, 255);">and then I get the error : "=A0C:\GNUstep\GNUs= tep\System\Library\Headers\Foundation\Foundation.h:30:40: fatal error: GNUs= tepBase/GSVersionMacros.h: No such file or directory "</span></div> <div><span class=3D"Apple-style-span" style=3D"background-color: rgb(255, 2= 55, 255); "><br></span></div><div><span class=3D"Apple-style-span" style=3D= "background-color: rgb(255, 255, 255);">I changed the path of the=A0GSVe<sp= an style=3D""></span>rsionMacros.h inside the source code of the Foundation= .h file and then I got a new error for another header file inside the=A0GSV= ersionMacros.h file.</span></div> <div><span class=3D"Apple-style-span" style=3D"background-color: rgb(255, 2= 55, 255); "><br></span></div><div><span class=3D"Apple-style-span" style=3D= "background-color: rgb(255, 255, 255); ">How can I fix this? Should I have = to do this for all the header files?=A0</span></div> <div><span class=3D"Apple-style-span" style=3D"background-color: rgb(255, 2= 55, 255); "><br></span></div><div><span class=3D"Apple-style-span" style=3D= "background-color: rgb(255, 255, 255); ">Thank you very much.</span></div><= div> <font class=3D"Apple-style-span" style=3D"background-color: rgb(255, 255, 2= 55);"><br></font></div><div><font class=3D"Apple-style-span" color=3D"#0066= 00"><br></font></div> --14dae9340b7f99183404b1166115-- --===============0394611543464569456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnustep --===============0394611543464569456==--