<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Mike,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>OK - have "bitten the bullet" and installed VS2008
Express over VS2005 !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 face=Arial size=2>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 face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Most significant (though still trivial) are the
warnings of some type conversion problems and some "indirection"
errors.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>One more thing, when I do subsequent builds, are
there any pre-build steps that I need to take ?</FONT></DIV>
<DIV><FONT face=Arial size=2>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 face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mike@jerris.com href="mailto:mike@jerris.com">Michael Jerris</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto: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=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>On Thu, Dec 17, 2009 at 05:02:10PM -0000, Dave Stevenson wrote:<BR>
<BLOCKQUOTE type="cite">Hi,<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">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 type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">1. I only have Visual Studio 2005 and don't see an
upgrade to 2008 on the horizon for me.<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">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 type="cite">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 type="cite">
<DIV>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">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 type="cite"><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 type="cite">
<DIV>
<BLOCKQUOTE type="cite">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 href="http://jira.freeswitch.org">jira.freeswitch.org</A> for me with
details I can try to get them corrected.</DIV>
<DIV><BR>
<BLOCKQUOTE type="cite">
<DIV>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">4. There was one fatal error in the build of
mod_opal (missing file)<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">(Some examples of the warnings and the error are
shown below :-)<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>Try with VS 2008 and see if they go
away.<FONT class=Apple-style-span color=#000000><FONT class=Apple-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 type="cite">
<DIV>
<BLOCKQUOTE type="cite">5. How do I specify which options (e.g.,
mod_flite, to be included iin the build.<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><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 type="cite">
<DIV>
<BLOCKQUOTE type="cite">6. How do I build the sounds etc. ?<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE><BR>The sounds are a subproject too
IIRC.<FONT class=Apple-style-span color=#000000><FONT class=Apple-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>
<P>
<HR>
<P></P>_______________________________________________<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></BODY></HTML>