Re: Pleas help me about porting applications from Openstep to GNUstep.
Adam Fedor <[email protected]> Fri, 21 Nov 2008 12:48:41 -0700
| Newsgroups | gmane.comp.lib.gnustep.user,gmane.comp.lib.gnustep.applications |
|---|---|
| Message-ID | <[email protected]> |
--===============0406317405== Content-Type: multipart/alternative; boundary=Apple-Mail-35--118381202 --Apple-Mail-35--118381202 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit You can't use the old Makefiles, you need new ones. There a few tools that might work: The released, but very old OpenStep2GNUConverter: ftp://ftp.gnustep.org/pub/gnustep/contrib/Openstep2GNUConverter-20000717.tar.gz The unreleased pbxbuild: http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/ Although your project is pretty simple. I bet a Makefile like this would work: NAME = modeleNpop PROJECTVERSION = 2.6 PROJECT_TYPE = Application LANGUAGE = English NEXTSTEP_APPICON = modeleNcol.tiff ICONSECTIONS = -sectcreate __ICON app modeleNcol.tiff LOCAL_RESOURCES = modeleNpop.nib population.nib CLASSES = popManager.m population.m HFILES = fonctionsC.h popManager.h population.h MFILES = modeleNpop_main.m CFILES = fonctionsC.c OTHERSRCS = Makefile.preamble Makefile Makefile.postamble include $(GNUSTEP_MAKEFILES)/common.make APP_NAME=$(NAME) $(NAME)_HEADER_FILES=$(HFILES) $(NAME)_OBJC_FILES=$(MFILES) $(CLASSES) $(NAME)_C_FILES=$(CFILES) $(NAME)_RESOURCE_FILES=$(LOCAL_RESOURCES) -include Makefile.preamble include $(GNUSTEP_MAKEFILES)/application.make -include Makefile.postamble On Nov 21, 2008, at 9:16 AM, Ryan Hwang wrote: > To anyone who can help me: > > Hello~ > > Recently I'v got an application for my research(about EEG signal > processing),but it was developped in Openstep Enterprise (OSE) for > Windows. > I installed GNUstep,but I don't know how to port the app to GNUstep > since I've never learned about UNIX/Linux/GNU stuff like that before. > > There are source codes and the author says: This source code can be > imported in Linux GNUSTEP with MINOR modifications as GNUSTEP is > compliant with Openstep specifications. > > I wonder what to modify and how to. > > Here is the Makefile in the Source Code: > > = > = > = > = > = > ====================================================================== > # > # Generated by the NeXT Project Builder. > # > # NOTE: Do NOT change this file -- Project Builder maintains it. > # > # Put all of your customizations in files called Makefile.preamble > # and Makefile.postamble (both optional), and Makefile will include > them. > # > NAME = modeleNpop > PROJECTVERSION = 2.6 > PROJECT_TYPE = Application > LANGUAGE = English > NEXTSTEP_APPICON = modeleNcol.tiff > ICONSECTIONS = -sectcreate __ICON app modeleNcol.tiff > LOCAL_RESOURCES = modeleNpop.nib population.nib > CLASSES = popManager.m population.m > HFILES = fonctionsC.h popManager.h population.h > MFILES = modeleNpop_main.m > CFILES = fonctionsC.c > OTHERSRCS = Makefile.preamble Makefile Makefile.postamble > > MAKEFILEDIR = $(NEXT_ROOT)/NextDeveloper/Makefiles/pb_makefiles > CODE_GEN_STYLE = DYNAMIC > MAKEFILE = app.make > NEXTSTEP_INSTALLDIR = $(HOME)/Apps > WINDOWS_INSTALLDIR = $(HOME)/Apps > PDO_UNIX_INSTALLDIR = $(HOME)/Apps > LIBS = > DEBUG_LIBS = $(LIBS) > PROF_LIBS = $(LIBS) > > FRAMEWORKS = -framework AppKit -framework Foundation > > include $(MAKEFILEDIR)/platform.make > -include Makefile.preamble > include $(MAKEFILEDIR)/$(MAKEFILE) > -include Makefile.postamble > -include Makefile.dependencies > = > = > = > = > = > = > = > = > ====================================================================== > > When I "make" this file in the GNUstep,it displays: > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > Makefile:46:/NextDeveloper/Makefiles/pb_makefiles/platform.make:No > such file or directory > Makefile:50:/NextDeveloper/Makefiles/pb_makefiles/app.make:No such > file or directory > make: *** No rule to make target '/NextDeveloper/Makefiles/ > pb_makefiles/app.make'. Stop. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > It's really an important application for me, and I really need your > help~ > If other source codes are needed,please let me know. > Looking forward to your reply ASAP. > > I'd be most grateful for your help. > > > Sincerely Yours, > Ryan Hwang > > _______________________________________________ > apps-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/apps-gnustep --Apple-Mail-35--118381202 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; ">You can't use the old = Makefiles, you need new ones.<div><br></div><div>There a few tools that = might work:</div><div>The released, but very old = OpenStep2GNUConverter:</div><div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span><a = href=3D"ftp://ftp.gnustep.org/pub/gnustep/contrib/">ftp://ftp.gnustep.org/= pub/gnustep/contrib/</a>Openstep2GNUConverter-20000717.tar.gz</div><div>Th= e unreleased pbxbuild:</div><div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span><a = href=3D"http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/">http://s= vn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/</a></div><div><br></div><= div>Although your project is pretty simple. I bet a Makefile like = this would work:</div><div><br></div><div><div>NAME =3D = modeleNpop</div><div>PROJECTVERSION =3D 2.6</div><div>PROJECT_TYPE =3D = Application</div><div>LANGUAGE =3D English</div><div>NEXTSTEP_APPICON =3D = modeleNcol.tiff</div><div>ICONSECTIONS =3D -sectcreate __ICON app = modeleNcol.tiff</div><div>LOCAL_RESOURCES =3D modeleNpop.nib = population.nib</div><div>CLASSES =3D popManager.m = population.m</div><div>HFILES =3D fonctionsC.h popManager.h = population.h</div><div>MFILES =3D modeleNpop_main.m</div><div>CFILES =3D = fonctionsC.c</div><div>OTHERSRCS =3D Makefile.preamble Makefile = Makefile.postamble</div><div><br></div><div>include = $(GNUSTEP_MAKEFILES)/common.make</div><div><br></div><div>APP_NAME=3D$(NAM= E)</div><div>$(NAME)_HEADER_FILES=3D$(HFILES)</div><div>$(NAME)_OBJC_FILES= =3D$(MFILES) = $(CLASSES)</div><div>$(NAME)_C_FILES=3D$(CFILES)</div><div>$(NAME)_RESOURC= E_FILES=3D$(LOCAL_RESOURCES)</div><div><br></div><div>-include = Makefile.preamble</div><div>include = $(GNUSTEP_MAKEFILES)/application.make</div><div>-include = Makefile.postamble</div><div><br></div></div><div> </div><div><= div><div>On Nov 21, 2008, at 9:16 AM, Ryan Hwang wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div><font = face=3D"comic sans ms,sans-serif">To anyone who can help = me:</font></div> <div><font face=3D"Comic Sans MS"></font> </div> = <div>Hello~</div> <div> </div> <div>Recently I'v got an = application for my research(about EEG signal processing),but it was = developped in Openstep Enterprise (OSE) for Windows.</div> <div>I = installed GNUstep,but I don't know how to port the app to GNUstep since = I've never learned about UNIX/Linux/GNU stuff like that before.</div> = <div> </div> <div>There are source codes and the author says: This = source code can be imported in Linux GNUSTEP with MINOR modifications as = GNUSTEP is compliant with Openstep specifications.</div> = <div> </div> <div>I wonder what to modify and how to.</div> = <div> </div> <div>Here is the Makefile in the Source Code:</div> = <div> </div> = <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D</div> <div><font face=3D"courier new,monospace">#<br># Generated = by the NeXT Project Builder.<br>#<br># NOTE: Do NOT change this file -- = Project Builder maintains it.<br>#<br># Put all of your customizations = in files called Makefile.preamble<br> # and Makefile.postamble (both = optional), and Makefile will include them.<br>#</font></div> <div><font = face=3D"courier new,monospace">NAME =3D modeleNpop</font></div> = <div><font face=3D"courier new,monospace">PROJECTVERSION =3D = 2.6<br>PROJECT_TYPE =3D Application<br>LANGUAGE =3D English</font></div> = <div><font face=3D"courier new,monospace">NEXTSTEP_APPICON =3D = modeleNcol.tiff<br>ICONSECTIONS =3D -sectcreate __ICON app = modeleNcol.tiff</font></div> <div><font face=3D"courier = new,monospace">LOCAL_RESOURCES =3D modeleNpop.nib = population.nib</font></div> <div><font face=3D"courier = new,monospace">CLASSES =3D popManager.m population.m</font></div> = <div><font face=3D"courier new,monospace">HFILES =3D fonctionsC.h = popManager.h population.h</font></div> <div><font face=3D"courier = new,monospace">MFILES =3D modeleNpop_main.m</font></div> <div><font = face=3D"courier new,monospace">CFILES =3D fonctionsC.c</font></div> = <div><font face=3D"courier new,monospace">OTHERSRCS =3D = Makefile.preamble Makefile Makefile.postamble</font></div> = <div><br><font face=3D"courier new,monospace">MAKEFILEDIR =3D = $(NEXT_ROOT)/NextDeveloper/Makefiles/pb_makefiles<br>CODE_GEN_STYLE =3D = DYNAMIC<br>MAKEFILE =3D app.make<br>NEXTSTEP_INSTALLDIR =3D = $(HOME)/Apps<br>WINDOWS_INSTALLDIR =3D $(HOME)/Apps<br> = PDO_UNIX_INSTALLDIR =3D $(HOME)/Apps<br>LIBS =3D <br>DEBUG_LIBS =3D = $(LIBS)<br>PROF_LIBS =3D $(LIBS)</font></div> <div><br><font = face=3D"courier new,monospace">FRAMEWORKS =3D -framework AppKit = -framework Foundation</font></div> <div><br><font face=3D"courier = new,monospace">include $(MAKEFILEDIR)/platform.make</font></div> = <div><font face=3D"courier new,monospace">-include = Makefile.preamble</font></div> <div><font face=3D"courier = new,monospace">include $(MAKEFILEDIR)/$(MAKEFILE)</font></div> = <div><font face=3D"courier new,monospace">-include = Makefile.postamble</font></div> <div><font face=3D"garamond,serif"><font = face=3D"courier new,monospace">-include = Makefile.dependencies</font><br></font>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div> <div> </div> = <div>When I "make" this file in the GNUstep,it displays:</div> = <div>---------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------</div> <div><font face=3D"courier = new,monospace">Makefile:46:/NextDeveloper/Makefiles/pb_makefiles/platform.= make:No such file or directory</font></div> <div> <div><font = face=3D"courier = new,monospace">Makefile:50:/NextDeveloper/Makefiles/pb_makefiles/app.make:= No such file or directory</font></div> <div><font face=3D"courier = new,monospace">make: *** No rule to make target = '/NextDeveloper/Makefiles/pb_makefiles/app.make'. Stop.</font></div> = <div>---------------------------------------------------------------------= --------------------------------------------------------------------------= --------------------------------------</div> <div> </div> <div>It's = really an important application for me, and I really need your = help~</div> <div>If other source codes are needed,please let me = know.</div> <div>Looking forward to your reply ASAP.</div> = <div> </div> <div>I'd be most grateful for your help.</div> = <div> </div> <div> </div> <div>Sincerely Yours,</div> = <div>Ryan Hwang</div> <div> </div></div> = _______________________________________________<br>apps-gnustep mailing = list<br><a = href=3D"mailto:[email protected]">[email protected]</a><br><a = href=3D"http://lists.gnu.org/mailman/listinfo/apps-gnustep">http://lists.g= nu.org/mailman/listinfo/apps-gnustep</a><br></blockquote></div><br></div><= /body></html>= --Apple-Mail-35--118381202-- --===============0406317405== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnustep --===============0406317405==--