[Freeswitch-dev] Compile freeswitch for Windows Vista

Michael Jerris mike at jerris.com
Wed Jul 2 15:43:43 EDT 2008


You need to install the platform sdk if you installed the express  
edition it does not install it for you.


On Jul 2, 2008, at 3:35 PM, Kin Quek wrote:

> It seemed that the environment variables are missing:
> windows.h, winsock2.h, odbc32.lib
>
> Thanks for your help!
>
> Kin
>
> Here are some of the error messages:
> ---------------------------
> 1>------ Build started: Project: libpcre Generate pcre_chartables.c,  
> Configuration: Debug Win32 ------
> 2>------ Build started: Project: libapr, Configuration: Debug Win32  
> ------
> 1>Compiling...
> 2>Performing Pre-Build Event...
> 2>0 File(s) copied
> 1>dftables.c
> 1>Compiling manifest to resources...
> 2>Compiling...
> 2>userinfo.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>groupinfo.c
> 1>Linking...
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>timestr.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>time.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>access.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>threadpriv.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>thread.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>signals.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> 2>proc.c
> 2>c:\freeswitch-1.0.0\libs\apr\include\apr.h(92) : fatal error  
> C1083: Cannot open include file: 'windows.h': No such file or  
> directory
> .....
> 3>Generating Code...
> 5>alloc.c
> 5>c:\freeswitch-1.0.0\libs\srtp\crypto\include\datatypes.h(62) :  
> fatal error C1083: Cannot open include file: 'winsock2.h': No such  
> file or directory
> 5>crypto_kernel.c
> 5>c:\freeswitch-1.0.0\libs\srtp\crypto\include\datatypes.h(62) :  
> fatal error C1083: Cannot open include file: 'winsock2.h': No such  
> file or directory
> 5>ctr_prng.c
> 5>c:\freeswitch-1.0.0\libs\srtp\crypto\include\datatypes.h(62) :  
> fatal error C1083: Cannot open include file: 'winsock2.h': No such  
> file or directory
> 5>err.c
> 3>Compiling...
> 3>pager.c
> 5>c:\freeswitch-1.0.0\libs\srtp\crypto\include\datatypes.h(62) :  
> fatal error C1083: Cannot open include file: 'winsock2.h': No such  
> file or directory
> 5>key.c
> 3>c:\freeswitch-1.0.0\libs\sqlite\src\os.h(55) : fatal error C1083:  
> Cannot open include file: 'windows.h': No such file or directory
> 3>parse.c
> 5>c:\freeswitch-1.0.0\libs\srtp\crypto\include\datatypes.h(62) :  
> fatal error C1083: Cannot open include file: 'winsock2.h': No such  
> file or directory
> .......
> 8>Generating Code...
> 8>Creating library...
> 8>LIB : fatal error LNK1181: cannot open input file 'odbc32.lib'
> 8>Build log was saved at "file://c:\freeswitch-1.0.0\libs\win32\pcre 
> \Debug\BuildLog.htm"
> 8>libpcre - 1 error(s), 0 warning(s)
> 9>------ Build started: Project: FreeSwitchCoreLib, Configuration:  
> Debug Win32 ------
> 9>Generating switch_version.h
> 9>Compiling...
> 9>switch_buffer.c
> 9>c:\freeswitch-1.0.0\src\include\switch.h(75) : fatal error C1083:  
> Cannot open include file: 'Winsock2.h': No such file or directory
> 9>Build log was saved at "file://c:\freeswitch-1.0.0\w32\Library 
> \Debug\BuildLog FreeSwitchCoreLib.htm"
> 9>FreeSwitchCoreLib - 1 error(s), 0 warning(s)
> 10>------ Build started: Project: FreeSwitchConsole, Configuration:  
> Debug Win32 ------
> 10>Compiling...
> 10>switch.c
> 10>c:\freeswitch-1.0.0\src\include\switch.h(75) : fatal error C1083:  
> Cannot open include file: 'Winsock2.h': No such file or directory
> 10>Build log was saved at "file://c:\freeswitch-1.0.0\w32\Console 
> \Debug\BuildLog FreeSwitchConsole.htm"
> 10>FreeSwitchConsole - 1 error(s), 0 warning(s)
> ========== Build: 3 succeeded, 7 failed, 0 up-to-date, 0 skipped  
> ==========
>
>
> freeswitch-dev-request at lists.freeswitch.org wrote:
>
> 1. Compile freeswitch for Windows Vista (Kin Quek)
> 2. Re: Compile freeswitch for Windows Vista (Michael Jerris)
> 3. Re: Compile freeswitch for Windows Vista (Brian West)
> 4. Re: Compile freeswitch for Windows Vista (Brian West)
> From: Kin Quek <kin_quek at yahoo.com>
> To: freeswitch-dev at lists.freeswitch.org
> Date: Wed, 2 Jul 2008 03:01:36 -0700 (PDT)
> Subject: [Freeswitch-dev] Compile freeswitch for Windows Vista
>
> Date: Wed, 2 Jul 2008 02:56:21 -0700 (PDT)
> From: Kin Quek <kin_quek at yahoo.com>
> Subject: Compile freeswitch for Windows Vista
> To: freeswitch-users at lists.freeswitch.org
>
> Hi All,
>
> I am new to FS and I tried to compile FS for Windows Vista and I  
> will appreciate help if anyone has this experience.
>
> I have installed VS 2005 Express Edition and Platform SDK in Vista.  
> I downloaded the FS source and unzip it to freeswitch directory. I  
> found Freeswitch.2008.sln and Freeswich.sln. I tried to start  
> Freeswitch.sln and got many error messages.
>
> Any suggestions?
>
> Thanks,
>
> Kin
>
> From: Michael Jerris <mike at jerris.com>
> To: freeswitch-dev at lists.freeswitch.org
> Date: Wed, 2 Jul 2008 11:48:39 -0400
> Subject: Re: [Freeswitch-dev] Compile freeswitch for Windows Vista
>
> If the warnings are about supporting solution folders, this is just  
> a feature we use thats not supported in express edition, its not a  
> problem, it just pops up the warnings when it starts.
>
> Mike
>
>
>
>
> From: Brian West <brian at freeswitch.org>
> To: freeswitch-dev at lists.freeswitch.org
> Date: Wed, 2 Jul 2008 10:50:13 -0500
> Subject: Re: [Freeswitch-dev] Compile freeswitch for Windows Vista
>
> What were the errors messages?  Can you join #freeswitch on  
> irc.freenode.net and see if maybe we can assist you with this?
>
> /b
>
>
> Brian West
> sip:brian at freeswitch.org
>
>
>
> From: Brian West <brian at freeswitch.org>
> To: freeswitch-dev at lists.freeswitch.org
> Date: Wed, 2 Jul 2008 10:50:39 -0500
> Subject: Re: [Freeswitch-dev] Compile freeswitch for Windows Vista
>
> doh forgot about these warnings.. yes they are harmless.
>
> On Jul 2, 2008, at 10:48 AM, Michael Jerris wrote:
>
> > If the warnings are about supporting solution folders, this is just
> > a feature we use thats not supported in express edition, its not a
> > problem, it just pops up the warnings when it starts.
> >
> > Mike
>
> Brian West
> sip:brian at freeswitch.org
>
>
>
>
>
> _______________________________________________
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080702/f3944153/attachment-0001.html 


More information about the Freeswitch-dev mailing list