[Freeswitch-dev] Freeswitch latest source rebuild issue under Windows
Daniel Bryars
daniel.bryars at aeriandi.com
Wed Apr 13 13:42:25 MSD 2011
In my experience I have found that the nightly snapshot (http://files.freeswitch.org/freeswitch-snapshot.tar.gz)builds reliably on Windows. I use FreeSwitch.2010.sln but last night I tried the FreeSwitch.2010.express.sln and this worked fine too.
However, I have not personally been able to build FS successfully if I get the HEAD from GIT directly. I spent some time last night looking at the difference between the files in the "snapshot" and the files from the HEAD (via git) and there are several empty header files in the version from GIT which are causing the build to fail. Alongside these header files are some ".IN" files which look like they are templates for the header files. I'm guessing there is some sort of intermediate pre-processor step to parse these .IN files and create the headers. I don't know. Does this make any sense to anyone?
@Andrew - Perhaps you have the same problem? I'd like to use the HEAD rather than the "snapshot"; I plan on spending some time on this tomorrow night, I'll let you know what I find out.
Dan
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson
Sent: 12 April 2011 11:23
To: 'freeswitch-dev at lists.freeswitch.org'
Subject: Re: [Freeswitch-dev] Freeswitch latest source rebuild issue under Windows
Don't use 1.0.7, it's old. Use latest git HEAD and try again.
/Peter
Från: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] För Andrew Keil
Skickat: den 29 mars 2011 04:11
Till: freeswitch-dev at lists.freeswitch.org
Ämne: [Freeswitch-dev] Freeswitch latest source rebuild issue under Windows
To Freeswitch developers....
OK. Here goes, what I have done so far...
1) Setup a Virtual Machine running 32-bit XP SP3 (with all Critical Updates applied). That way I can quickly go back in time and try an install again if necessary.
2) Since I noticed that you now support Visual C++ 2010 Express, I downloaded and installed that (without the option for SQL Server Express 2008).
3) I also then installed the Windows SDK (7.1 (the latest version)). The reason for this is when I download your latest build of Freeswitch 1.0.7 today it complained about 64bit settings throughout various project files when opening Freeswitch.2010.express.sln
4) Then I simply downloaded your latest build from http://latest.freeswitch.org/ and extracted it out to c:\FreeSWITCH (so that there is a sub-directory freeswitch-1.0.7 below it with all the files) - this looks the same layout as the Freeswitch book example, except 1.0.7 version instead.
5) Opened the Freeswitch.2010.express.sln
5.1) Stated inside the Visual Studio Output Window: "Some of the properties associated with the solution could not be read."
6) Built the solution via F7
See attached for the build errors from Visual Studio.
I guess my questions are the following:
Q1) Should I be running Visual C++ 2010 Express or Visual C++ 2008 Express - it does not matter to me, however I always like to move with the times?
Q2) Was I right in installing the Windows SDK (http://msdn.microsoft.com/en-us/windows/bb980924.aspx) after the installation of Visual C++ 2010 Express? Perhaps this should be added to the Freeswitch windows installation instructions page: http://wiki.freeswitch.org/wiki/Installation_for_Windows
Q3) Should I expect the http://latest.freeswitch.org/ version of freeswitch to Build first time? Has this been tested?
Q4) Should I simply use the 1.0.6 version with Visual C++ 2008 Express and follow the Freeswitch book word for word? This seems a reliable path, but I am a 'C' developer myself and would like to start out with a more up-to-date dev. environment and a version of freeswitch that is closer to the current version.
Q5) Can someone make comments on the Build errors that are inside the attached file.
Obviously I could go through and debug each build error, however I feel it best to have my questions answered above to avoid wasting time.
Please note. I can happily start again and go back in time to the point prior to the installation of Visual C++ 2010 Express, since I am running a ESXi Virtual Machine. All I aiming for is a clean setup of FreeSWITCH under XP for testing and developing purposes (this is not to run in a production environment). I would like to be as up-to-date as possible in order to progress quickly (obviously I will install GIT/TortoiseGIT etc.. to make my dev. environment more integrated once I have a working base version of Freeswitch).
Thanks in advance,
Andrew Keil
________________________________
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from
your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110413/23d67174/attachment-0001.html
More information about the FreeSWITCH-dev
mailing list