<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Converting Visual Studio solutions to Makefiles</title>
	<atom:link href="http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/</link>
	<description>Explaining this blog in a few words since 1999</description>
	<lastBuildDate>Fri, 05 Feb 2010 23:42:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: fvicente</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-129</link>
		<dc:creator>fvicente</dc:creator>
		<pubDate>Fri, 05 Feb 2010 23:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-129</guid>
		<description>Hi Adam,
I presume you&#039;re trying to run the script in a Windows environment, so after you modified the last line of the just enter into a command line box and type &quot;python.exe sln2make.py&quot; (without quoting). Of course you must have python interpreter installed.</description>
		<content:encoded><![CDATA[<p>Hi Adam,<br />
I presume you&#8217;re trying to run the script in a Windows environment, so after you modified the last line of the just enter into a command line box and type &#8220;python.exe sln2make.py&#8221; (without quoting). Of course you must have python interpreter installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-128</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 20 Jan 2010 21:58:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-128</guid>
		<description>How do I run the script after putting in the path on the last line?</description>
		<content:encoded><![CDATA[<p>How do I run the script after putting in the path on the last line?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fvicente</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-30</link>
		<dc:creator>fvicente</dc:creator>
		<pubDate>Sat, 23 May 2009 04:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-30</guid>
		<description>Hi Craig,
Here is the problem: I didn&#039;t make the script to use as a command line tool... It may sound silly but the reason is that I&#039;m using it in another script in my project.
So instead of passing the path to your .sln as an argument, please open the sln2make.py and modify the last line of the script with the corresponding path.

Fernando.</description>
		<content:encoded><![CDATA[<p>Hi Craig,<br />
Here is the problem: I didn&#8217;t make the script to use as a command line tool&#8230; It may sound silly but the reason is that I&#8217;m using it in another script in my project.<br />
So instead of passing the path to your .sln as an argument, please open the sln2make.py and modify the last line of the script with the corresponding path.</p>
<p>Fernando.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig A</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-29</link>
		<dc:creator>Craig A</dc:creator>
		<pubDate>Thu, 21 May 2009 19:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-29</guid>
		<description>C:\cwtrunk\tools\Sln2Make&gt;c:\Python25\python sln2make.py ..\..\cwtrunk\sw\TCU-Co
mm\COM-provider\TcuCommProvider.sln
Traceback (most recent call last):
  File &quot;sln2make.py&quot;, line 450, in 
    Sln2Make(sys.argv[1], exlist, dirrepl, librepl)
  File &quot;sln2make.py&quot;, line 72, in __init__
    file = open(casedir.correct(slnFile),&quot;r&quot;)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&quot;, line 28, in _correct
    file = files[map(self.hash, files).index(self.hash(file))]
ValueError: list.index(x): x not in list

C:\cwtrunk\tools\Sln2Make&gt;</description>
		<content:encoded><![CDATA[<p>C:\cwtrunk\tools\Sln2Make&gt;c:\Python25\python sln2make.py ..\..\cwtrunk\sw\TCU-Co<br />
mm\COM-provider\TcuCommProvider.sln<br />
Traceback (most recent call last):<br />
  File &#8220;sln2make.py&#8221;, line 450, in<br />
    Sln2Make(sys.argv[1], exlist, dirrepl, librepl)<br />
  File &#8220;sln2make.py&#8221;, line 72, in __init__<br />
    file = open(casedir.correct(slnFile),&#8221;r&#8221;)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;c:\cwtrunk\tools\Sln2Make\pathcorrect.py&#8221;, line 28, in _correct<br />
    file = files[map(self.hash, files).index(self.hash(file))]<br />
ValueError: list.index(x): x not in list</p>
<p>C:\cwtrunk\tools\Sln2Make&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig A</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-28</link>
		<dc:creator>Craig A</dc:creator>
		<pubDate>Thu, 21 May 2009 19:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-28</guid>
		<description>I have the same problem as
kperlotto on February 27th, 2009 at 11:36 am 

No matter what I do, it fails in the same fashion</description>
		<content:encoded><![CDATA[<p>I have the same problem as<br />
kperlotto on February 27th, 2009 at 11:36 am </p>
<p>No matter what I do, it fails in the same fashion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fvicente</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-27</link>
		<dc:creator>fvicente</dc:creator>
		<pubDate>Wed, 04 Mar 2009 02:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-27</guid>
		<description>Hi kperlotto,
this seems to happen when the PathCorrent can not find the file, so make sure that ”ug104.sln” exist in the same directory of sln2make remember that you can use a relative path e.g. &quot;..\\xxx\\ug104.sln&quot;. Best regards.</description>
		<content:encoded><![CDATA[<p>Hi kperlotto,<br />
this seems to happen when the PathCorrent can not find the file, so make sure that ”ug104.sln” exist in the same directory of sln2make remember that you can use a relative path e.g. &#8220;..\\xxx\\ug104.sln&#8221;. Best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kperlotto</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-26</link>
		<dc:creator>kperlotto</dc:creator>
		<pubDate>Fri, 27 Feb 2009 14:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-26</guid>
		<description>Dear fvicente,
Thanks for the tool, I am in great need of it but I have no python skills, and cannot resolve this error. Can you help? THANKS !

python sln2make.py
Traceback (most recent call last):
  File &quot;sln2make.py&quot;, line 449, in ?
    Sln2Make(&quot;ug104.sln&quot;, exlist, dirrepl, librepl)
  File &quot;sln2make.py&quot;, line 153, in __init__
    vcprojContent = self._getFileContent(casedir.correct(proj.path))
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 22, in _correct
    dir = self.correct(dir)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 14, in correct
    ret = self._correct(file)
  File &quot;h:\myapps\ug104\pathcorrect.py&quot;, line 28, in _correct
    file = files[map(self.hash, files).index(self.hash(file))]
ValueError: list.index(x): x not in list</description>
		<content:encoded><![CDATA[<p>Dear fvicente,<br />
Thanks for the tool, I am in great need of it but I have no python skills, and cannot resolve this error. Can you help? THANKS !</p>
<p>python sln2make.py<br />
Traceback (most recent call last):<br />
  File &#8220;sln2make.py&#8221;, line 449, in ?<br />
    Sln2Make(&#8220;ug104.sln&#8221;, exlist, dirrepl, librepl)<br />
  File &#8220;sln2make.py&#8221;, line 153, in __init__<br />
    vcprojContent = self._getFileContent(casedir.correct(proj.path))<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 22, in _correct<br />
    dir = self.correct(dir)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 14, in correct<br />
    ret = self._correct(file)<br />
  File &#8220;h:\myapps\ug104\pathcorrect.py&#8221;, line 28, in _correct<br />
    file = files[map(self.hash, files).index(self.hash(file))]<br />
ValueError: list.index(x): x not in list</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amdei</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-7</link>
		<dc:creator>amdei</dc:creator>
		<pubDate>Thu, 10 Jul 2008 00:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-7</guid>
		<description>OOps, here a solution:
&gt;  The problem is that that white space at the start of line 8 
&gt; *must* be a TAB character, not ordinary spaces.  
&gt;

THANKS!</description>
		<content:encoded><![CDATA[<p>OOps, here a solution:<br />
&gt;  The problem is that that white space at the start of line 8<br />
&gt; *must* be a TAB character, not ordinary spaces.<br />
&gt;</p>
<p>THANKS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amdei</title>
		<link>http://www.alfersoft.com.ar/blog/2008/05/23/converting-vs-solution-and-projects-to-makefiles/comment-page-1/#comment-6</link>
		<dc:creator>amdei</dc:creator>
		<pubDate>Thu, 10 Jul 2008 00:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfersoft.com.ar/blog/?p=4#comment-6</guid>
		<description>Guy, I would going to present you a BIG bottle or beer, but seems that I so stuped, and it&#039;s not working well for me. :(

Finaly, I undestand how to run it properly, but seems my MAKE not like generated Makefile.
Here is a generated Makefile:
===================
# sln2make autogenerated Makefile.ag
dir_root=../
dir_tmp=tmp
dir_obj=$(dir_tmp)/obj
dir_lib=lib

all:
   $(MAKE) -C consprog -f Makefile.ag


clean:
   $(MAKE) -C consprog -f Makefile.ag clean
   rm $(dir_lib)/Release/* bin/Release/*
===================

and here is a error mesage from make:
===================
$ make
Makefile:8: *** missing separator.  Stop.

===================

Can you say me, where I&#039;m wrong, and how I can fully enjoy this coolest script for the moment?</description>
		<content:encoded><![CDATA[<p>Guy, I would going to present you a BIG bottle or beer, but seems that I so stuped, and it&#8217;s not working well for me. <img src='http://www.alfersoft.com.ar/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Finaly, I undestand how to run it properly, but seems my MAKE not like generated Makefile.<br />
Here is a generated Makefile:<br />
===================<br />
# sln2make autogenerated Makefile.ag<br />
dir_root=../<br />
dir_tmp=tmp<br />
dir_obj=$(dir_tmp)/obj<br />
dir_lib=lib</p>
<p>all:<br />
   $(MAKE) -C consprog -f Makefile.ag</p>
<p>clean:<br />
   $(MAKE) -C consprog -f Makefile.ag clean<br />
   rm $(dir_lib)/Release/* bin/Release/*<br />
===================</p>
<p>and here is a error mesage from make:<br />
===================<br />
$ make<br />
Makefile:8: *** missing separator.  Stop.</p>
<p>===================</p>
<p>Can you say me, where I&#8217;m wrong, and how I can fully enjoy this coolest script for the moment?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
