[Freeswitch-users] Building on Windows
Michael Jerris
mike at jerris.com
Thu Dec 17 10:14:28 PST 2009
On Dec 17, 2009, at 12:15 PM, Andrew Thompson wrote:
> On Thu, Dec 17, 2009 at 05:02:10PM -0000, Dave Stevenson wrote:
>> Hi,
>>
>> 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 ?
>>
>> 1. I only have Visual Studio 2005 and don't see an upgrade to 2008 on the horizon for me.
>> 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.
>> 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 ?
>
> Install VS 2008 if at all possible (express edition is free). 2005
> support isn't maintained much if at all, so a lot of newer modules stand
> a good chance of not having support.
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.
>>
>> 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 ?
>>
> Tortoise SVN is fine and is probably the de-facto client for windows.
>
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
]
>> 3. I built 15979 last night (with VS2005) and got some warnings, with data type conversion - is this a known issue under Windows ?
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 jira.freeswitch.org for me with details I can try to get them corrected.
>>
>> 4. There was one fatal error in the build of mod_opal (missing file)
>> (Some examples of the warnings and the error are shown below :-)
>>
> Try with VS 2008 and see if they go away.
I think this is due to missing dependencies. I don't think I had automation to download the right svn versions of opal.
>> 5. How do I specify which options (e.g., mod_flite, to be included iin the build.
>>
> You can enable the different sub projects somehow in the UI, I always
> forget exactly how but just click around in VS and you'll find it.
You can adjust this in the configuration managaer
>> 6. How do I build the sounds etc. ?
>>
>
> The sounds are a subproject too IIRC.
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.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091217/680983a0/attachment-0002.html
More information about the FreeSWITCH-users
mailing list