Re: Pleas help me about porting applications from Openstep to GNUstep.

"Ryan Hwang" <[email protected]> Sat, 22 Nov 2008 14:08:57 +0800
Newsgroups gmane.comp.lib.gnustep.applications,gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
--===============0311375559==
Content-Type: multipart/alternative; 
	boundary="----=_Part_108272_23124402.1227334137639"

------=_Part_108272_23124402.1227334137639
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks so much for your immediate reply,Adam~!

But I'm still having problems..

I modified the Makfiles like yours.After "make" it, displayed:
-----------------------------------------------------------------------------------------------------------------------------------------------------
$ make
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
Making all for app modeleNpop...
make[1]:GNUmakefile:No such file or directory
make[1]:*** No rule to make target 'GNUmakefile'. Stop.
make: *** [modeleNpop.all.app.variables] Error 2
------------------------------------------------------------------------------------------------------------------------------------------------------
The application and source codes are available at:
https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=97983&file=\wendlingEtAl2005\readme.html

and I installed gnustep-system-0.20.3 and gnustep-core-0.20.3 for Windows
which are available at:
 http://gnustep.org/experience/Windows.html
I wonder if there are any other files needed in my GNUstep.
I'm so sorry for bothering you again.
I can't find any references or books aobut Openstep or GNUstep in the
library here,nor can I turn to anyone else for help.It's really confusing
me.

Appreciating your great kindness!

 Sincerely Yours,
Ryan Hwang



2008/11/22 Adam Fedor <[email protected]>

> 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
>
>
>

------=_Part_108272_23124402.1227334137639
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Thanks so much&nbsp;for&nbsp;your immediate reply,Adam~!</div>
<div>&nbsp;</div>
<div>But I&#39;m still having problems..</div>
<div>&nbsp;</div>
<div>I modified the Makfiles like yours.After&nbsp;&quot;make&quot; it, displayed:</div>
<div>-----------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div><font face="courier new,monospace">$ make</font></div>
<div><font face="courier new,monospace">This is gnustep-make <a href="http://2.0.6.">2.0.6.</a> Type &#39;make print-gnustep-make-help&#39; for help.</font></div>
<div><font face="courier new,monospace">Making all for app modeleNpop...</font></div>
<div><font face="courier new,monospace">make[1]:GNUmakefile:No such file or directory</font></div>
<div><font face="courier new,monospace">make[1]:*** No rule to make target &#39;GNUmakefile&#39;. Stop.</font></div>
<div><font face="courier new,monospace">make: *** [modeleNpop.all.app.variables] Error 2</font></div>
<div>------------------------------------------------------------------------------------------------------------------------------------------------------<br></div>
<div>The application and source codes are available at:</div>
<div><a href="https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=97983&amp;file=\wendlingEtAl2005\readme.html">https://senselab.med.yale.edu/ModelDB/ShowModel.asp?model=97983&amp;file=\wendlingEtAl2005\readme.html</a></div>

<div>&nbsp;</div>
<div><font face="tahoma,sans-serif">and I installed</font> <font face="arial black,sans-serif"><font face="courier new,monospace">gnustep-system-0.20.3 <font face="tahoma,sans-serif">and</font> gnustep-core-0.20.3 </font></font><font face="tahoma,sans-serif">for Windows which are available at:</font></div>

<div><font face="tahoma,sans-serif">&nbsp;<a href="http://gnustep.org/experience/Windows.html">http://gnustep.org/experience/Windows.html</a></font></div>
<div><font face="tahoma,sans-serif">I wonder if there are any other files needed in my GNUstep.<br></font></div>
<div><font face="tahoma,sans-serif">I&#39;m so sorry for bothering you again.</font></div>
<div><font face="Tahoma">I can&#39;t find any references or books aobut Openstep or GNUstep in the library here,nor can I turn to anyone else for help.</font><font face="Tahoma">It&#39;s really confusing me.</font></div>

<div><font face="Tahoma"></font>&nbsp;</div>
<div><font face="Tahoma"><span class="mut_lvs">Appreciating your great kindness!</span></font></div>
<div><font face="tahoma,sans-serif"></font>&nbsp;</div>
<div><font face="tahoma,sans-serif">
<div>Sincerely Yours,</div>
<div>Ryan&nbsp;Hwang</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div></font></div>
<div class="gmail_quote">2008/11/22 Adam Fedor <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">You can&#39;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 style="WHITE-SPACE: pre"></span><a href="ftp://ftp.gnustep.org/pub/gnustep/contrib/" target="_blank">ftp://ftp.gnustep.org/pub/gnustep/contrib/</a>Openstep2GNUConverter-20000717.tar.gz</div>
<div>The unreleased pbxbuild:</div>
<div><span style="WHITE-SPACE: pre"></span><a href="http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/" target="_blank">http://svn.gna.org/viewcvs/gnustep/tools/pbxbuild/trunk/</a></div>
<div><br></div>
<div>Although your project is pretty simple. &nbsp;I bet a Makefile like this would work:</div>
<div><br></div>
<div>
<div class="Ih2E3d">
<div>NAME = modeleNpop</div>
<div>PROJECTVERSION = 2.6</div>
<div>PROJECT_TYPE = Application</div>
<div>LANGUAGE = English</div>
<div>NEXTSTEP_APPICON = modeleNcol.tiff</div>
<div>ICONSECTIONS = -sectcreate __ICON app modeleNcol.tiff</div>
<div>LOCAL_RESOURCES = modeleNpop.nib population.nib</div>
<div>CLASSES = popManager.m population.m</div>
<div>HFILES = fonctionsC.h popManager.h population.h</div>
<div>MFILES = modeleNpop_main.m</div>
<div>CFILES = fonctionsC.c</div>
<div>OTHERSRCS = Makefile.preamble Makefile Makefile.postamble</div>
<div><br></div></div>
<div>include $(GNUSTEP_MAKEFILES)/common.make</div>
<div><br></div>
<div>APP_NAME=$(NAME)</div>
<div>$(NAME)_HEADER_FILES=$(HFILES)</div>
<div>$(NAME)_OBJC_FILES=$(MFILES) $(CLASSES)</div>
<div>$(NAME)_C_FILES=$(CFILES)</div>
<div>$(NAME)_RESOURCE_FILES=$(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>&nbsp;&nbsp;</div>
<div>
<div>
<div>
<div></div>
<div class="Wj3C7c">
<div>On Nov 21, 2008, at 9:16 AM, Ryan Hwang wrote:</div><br></div></div>
<blockquote type="cite">
<div>
<div></div>
<div class="Wj3C7c">
<div><font face="comic sans ms,sans-serif">To anyone who can&nbsp;help me:</font></div>
<div><font face="Comic Sans MS"></font>&nbsp;</div>
<div>Hello~</div>
<div>&nbsp;</div>
<div>Recently I&#39;v got an application&nbsp;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&#39;t know how to port the app to GNUstep since I&#39;ve never learned about UNIX/Linux/GNU stuff like that before.</div>
<div>&nbsp;</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>&nbsp;</div>
<div>I wonder what to modify and how to.</div>
<div>&nbsp;</div>
<div>Here is the Makefile in the Source Code:</div>
<div>&nbsp;</div>
<div>===========================================================================</div>
<div><font face="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="courier new,monospace">NAME = modeleNpop</font></div>
<div><font face="courier new,monospace">PROJECTVERSION = 2.6<br>PROJECT_TYPE = Application<br>LANGUAGE = English</font></div>
<div><font face="courier new,monospace">NEXTSTEP_APPICON = modeleNcol.tiff<br>ICONSECTIONS =&nbsp;-sectcreate __ICON app modeleNcol.tiff</font></div>
<div><font face="courier new,monospace">LOCAL_RESOURCES = modeleNpop.nib population.nib</font></div>
<div><font face="courier new,monospace">CLASSES = popManager.m population.m</font></div>
<div><font face="courier new,monospace">HFILES = fonctionsC.h popManager.h population.h</font></div>
<div><font face="courier new,monospace">MFILES = modeleNpop_main.m</font></div>
<div><font face="courier new,monospace">CFILES = fonctionsC.c</font></div>
<div><font face="courier new,monospace">OTHERSRCS = Makefile.preamble Makefile Makefile.postamble</font></div>
<div><br><font face="courier new,monospace">MAKEFILEDIR = $(NEXT_ROOT)/NextDeveloper/Makefiles/pb_makefiles<br>CODE_GEN_STYLE = DYNAMIC<br>MAKEFILE = app.make<br>NEXTSTEP_INSTALLDIR = $(HOME)/Apps<br>WINDOWS_INSTALLDIR = $(HOME)/Apps<br>
PDO_UNIX_INSTALLDIR = $(HOME)/Apps<br>LIBS = <br>DEBUG_LIBS = $(LIBS)<br>PROF_LIBS = $(LIBS)</font></div>
<div><br><font face="courier new,monospace">FRAMEWORKS = -framework AppKit -framework Foundation</font></div>
<div><br><font face="courier new,monospace">include $(MAKEFILEDIR)/platform.make</font></div>
<div><font face="courier new,monospace">-include Makefile.preamble</font></div>
<div><font face="courier new,monospace">include $(MAKEFILEDIR)/$(MAKEFILE)</font></div>
<div><font face="courier new,monospace">-include Makefile.postamble</font></div>
<div><font face="garamond,serif"><font face="courier new,monospace">-include Makefile.dependencies</font><br></font>==============================================================================</div>
<div>&nbsp;</div>
<div>When I &quot;make&quot; this file in the GNUstep,it displays:</div>
<div>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div><font face="courier new,monospace">Makefile:46:/NextDeveloper/Makefiles/pb_makefiles/platform.make:No such file or directory</font></div>
<div>
<div><font face="courier new,monospace">Makefile:50:/NextDeveloper/Makefiles/pb_makefiles/app.make:No such file or directory</font></div>
<div><font face="courier new,monospace">make:&nbsp; ***&nbsp; No rule to make target &#39;/NextDeveloper/Makefiles/pb_makefiles/app.make&#39;. Stop.</font></div>
<div>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div>&nbsp;</div>
<div>It&#39;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>&nbsp;</div>
<div>I&#39;d be most grateful for your help.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Sincerely Yours,</div>
<div>Ryan&nbsp;Hwang</div>
<div>&nbsp;</div></div></div></div>_______________________________________________<br>apps-gnustep mailing list<br><a href="mailto:[email protected]" target="_blank">[email protected]</a><br><a href="http://lists.gnu.org/mailman/listinfo/apps-gnustep" target="_blank">http://lists.gnu.org/mailman/listinfo/apps-gnustep</a><br>
</blockquote></div><br></div></div></blockquote></div><br>

------=_Part_108272_23124402.1227334137639--



--===============0311375559==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
apps-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/apps-gnustep

--===============0311375559==--