<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Dave,<BR>
I have corrected several of the warnings. On subsequent builds the download errors can be ignored(files already present).<BR>
Jeff<BR><BR> <BR>
<HR id=stopSpelling>
From: stevendt@primrosebank.net<BR>To: freeswitch-users@lists.freeswitch.org<BR>Date: Mon, 21 Dec 2009 21:25:36 +0000<BR>Subject: Re: [Freeswitch-users] Building on Windows<BR><BR>
<STYLE>
</STYLE>
<DIV><FONT size=2 face=Arial>Hi Mike,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>OK - have "bitten the bullet" and installed VS2008 Express over VS2005 !</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Most of the "warnings" in the build have been cleared, I notice that the "error" in the build of mod_opal has gone with mod_opal not being in the preconfigured build list now and also that the number of warnings on VS2008 has reduced since I've been playing with this over the past few days and SVN versions.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>There does not seem to be anything major wrong, but as you requested, I have raised a Jira (FSBUILD-221) that you might care to take a look at please ?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I attached a copy of the output from the build run and highlighted in bold in the RTF file the warnings that are generated. </FONT></DIV>
<DIV><FONT size=2 face=Arial>There are a host of warnings due to the use of /analyze which is appears not to be supported by the Express compiler.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Most significant (though still trivial) are the warnings of some type conversion problems and some "indirection" errors.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>As I said, these don't seem to be too much of a problem, but you may care to take a look when you have time.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>One more thing, when I do subsequent builds, are there any pre-build steps that I need to take ?</FONT></DIV>
<DIV><FONT size=2 face=Arial>When I tried rebuilding previously, there seemed to be some directories that could not be overwritten (e.g., \libs\pthreads-w32--2-7-0-release) that were flagged as problems - do I just ignore these warnings or unprotect and/or delete the directories before rebuilding ?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>regards</FONT></DIV>
<DIV><FONT size=2 face=Arial>Dave</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A title=mike@jerris.com>Michael Jerris</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org>freeswitch-users@lists.freeswitch.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 17, 2009 6:14 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Building on Windows</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote:</DIV><BR class=ecxApple-interchange-newline>
<BLOCKQUOTE>
<DIV>On Thu, Dec 17, 2009 at 05:02:10PM -0000, Dave Stevenson wrote:<BR>
<BLOCKQUOTE>Hi,<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE>
<BLOCKQUOTE>I'm probably going to regret this - I'm not sure that I'll be able to do this without a lot of pain (nothing to do with FS - more my lack of ability with Visual Studio), but......, I want to try building FreeSwitch from source rather than using the pre-built binaries. I have a couple of initial questions that, hopefully, someone can answer please ?<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE>
<BLOCKQUOTE>1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me.<BR></BLOCKQUOTE>
<BLOCKQUOTE>Having downloaded the SVN, I see there is a VS 2005 Solution, but it is marked as "Unsupported", although the Wiki says that you only need VC++2005.<BR></BLOCKQUOTE>
<BLOCKQUOTE>What does "unsupported" mean in this context ? I guess that support for VS2005 is being dropped, but is the VS2005 Solution still being maintained, and if so, for how long? I'd hate to get into the build thing and then find that I was stalled when VS2005 support was dropped altogether ?<BR></BLOCKQUOTE><BR>Install VS 2008 if at all possible (express edition is free). 2005<BR>support isn't maintained much if at all, so a lot of newer modules stand<BR>a good chance of not having support.<BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>We maintain it as far as things that work now shouldn't break, but we rarely test it and only fix things when people supply patches or let me know there is a problem so I can address it.</DIV>
<DIV><BR>
<BLOCKQUOTE>
<DIV>
<BLOCKQUOTE><BR></BLOCKQUOTE>
<BLOCKQUOTE>2. The whole SVN thing is new to me but I've worked out that I need an SVN Client on Windows to work with the source. Can anyone recommend the best (free) SVN Client for Windows to use with FreeSwitch. I have installed TortoiseSVN - a Windows Explorer Shell that looks pretty and seemed to work on my first build but it's not command line based so some of the tips given in the Wiki like "make current" and "make sounds" may be more awkward to achieve. Is anyone else using Tortoise and/or can give some tips on which SVN client to use ?<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE>Tortoise SVN is fine and is probably the de-facto client for windows.<BR><BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>make current and such are all for the unix build only, on the msvc (at least 2008) build they are all built right into the solution</DIV>
<DIV>]<BR>
<BLOCKQUOTE>
<DIV>
<BLOCKQUOTE>3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ?<BR></BLOCKQUOTE></DIV></BLOCKQUOTE>
<DIV><BR></DIV>2005 has slightly different warning settings than are even available in 2008 so I get these from time to time. If you open up a bug on <A>jira.freeswitch.org</A> for me with details I can try to get them corrected.</DIV>
<DIV><BR>
<BLOCKQUOTE>
<DIV>
<BLOCKQUOTE><BR></BLOCKQUOTE>
<BLOCKQUOTE>4. There was one fatal error in the build of mod_opal (missing file)<BR></BLOCKQUOTE>
<BLOCKQUOTE>(Some examples of the warnings and the error are shown below :-)<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE>Try with VS 2008 and see if they go away.<FONT class=ecxApple-style-span color=#000000><FONT class=ecxApple-style-span color=#144fae><BR></FONT></FONT></DIV></BLOCKQUOTE>
<DIV><BR></DIV>I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal.</DIV>
<DIV><BR>
<BLOCKQUOTE>
<DIV>
<BLOCKQUOTE>5. How do I specify which options (e.g., mod_flite, to be included iin the build.<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE>You can enable the different sub projects somehow in the UI, I always<BR>forget exactly how but just click around in VS and you'll find it.<BR></DIV></BLOCKQUOTE>
<DIV><BR></DIV>You can adjust this in the configuration managaer</DIV>
<DIV><BR>
<BLOCKQUOTE>
<DIV>
<BLOCKQUOTE>6. How do I build the sounds etc. ?<BR></BLOCKQUOTE>
<BLOCKQUOTE><BR></BLOCKQUOTE><BR>The sounds are a subproject too IIRC.<FONT class=ecxApple-style-span color=#000000><FONT class=ecxApple-style-span color=#144fae><BR></FONT></FONT></DIV></BLOCKQUOTE>
<DIV><BR></DIV>I think think might only be in the 2008 versions, I can't recall to be sure, but there are targets you can build that will install them.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Mike</DIV>
<DIV><BR></DIV>
<HR>
<P><BR>_______________________________________________<BR>FreeSWITCH-users mailing list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE>                                            <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/171222984/direct/01/' target='_new'>Get it now.</a></body>
</html>