I just download the latest freeSwitch code through TortoiseGit x64 on Windows. When I downloaded it I had the option "AutoCrlf" unchecked. I am building it on Windows 7 x64 with Visual Studio 2008 SP1. Could someone please let me know why I am getting these errors (not having the libsofia_sip_ua_static.lib generated) ? And when I build it on the other machine (Windows Server x64, Windows Server Win32) I don't have the same error. All these machines are using Visual Studio 2008 SP1.
Error 1 error C2220: warning treated as error - no 'object' file generated c:\BA\freeswitch\libs\sofia-sip\libsofia-sip-ua\su\su_string.c 1 libsofia_sip_ua_static
Error 4 fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib' mod_unimrcp mod_unimrcp
Error 21 fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib' mod_sofia mod_sofia
1>------ Build started: Project: Download OPENSSL, Configuration: Debug Win32 ------
1>Downloading OPENSSL.
1>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog Download OPENSSL.htm"
1>Download OPENSSL - 0 error(s), 0 warning(s)
2>------ Build started: Project: Download CELT, Configuration: Debug Win32 ------
2>Downloading CELT.
3>------ Build started: Project: Download JSON, Configuration: Debug Win32 ------
3>Downloading JSON.
2>0 File(s) copied
3>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog Download JSON.htm"
3>Download JSON - 0 error(s), 0 warning(s)
2>0 File(s) copied
2>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog Download CELT.htm"
2>Download CELT - 0 error(s), 0 warning(s)
4>------ Build started: Project: libsofia_sip_ua_static, Configuration: Debug Win32 ------
4>Performing Pre-Build Event...
5>------ Skipped Build: Project: Download 16khz music, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: Download 32khz music, Configuration: Debug Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: Download 16khzsound, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: Download 32khzsound, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: FreeSWITCH.Managed, Configuration: Debug Any CPU ------
9>FreeSWITCH.Managed -> C:\Brightarrow\BASIPServices\freeswitch\Debug\mod\FreeSWITCH.Managed.dll
10>------ Skipped Build: Project: mod_flite, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: 32khz, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: 16khz, Configuration: Debug Win32 ------
12>Project not selected to build for this solution configuration
13>------ Build started: Project: 8khz, Configuration: Debug Win32 ------
13>Performing Post-Build Event...
13>0 File(s) copied
13>0 File(s) copied
4>multipart mismatch with Recursive multipart ()
13>0 File(s) copied
13>0 File(s) copied
13>0 File(s) copied
13>0 File(s) copied
4>Suppress-Body-If-Match header is experimental
4>Suppress-Notify-If-Match header is experimental
13>0 File(s) copied
13>0 File(s) copied
13>0 File(s) copied
13>0 File(s) copied
13>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm"
13>8khz - 0 error(s), 0 warning(s)
14>------ Skipped Build: Project: mod_opal, Configuration: Debug Win32 ------
14>Project not selected to build for this solution configuration
15>------ Skipped Build: Project: mod_h323, Configuration: Debug Win32 ------
15>Project not selected to build for this solution configuration
16>------ Skipped Build: Project: mod_skinny, Configuration: Debug Win32 ------
16>Project not selected to build for this solution configuration
17>------ Skipped Build: Project: mod_skel, Configuration: Debug Win32 ------
17>Project not selected to build for this solution configuration
18>------ Skipped Build: Project: mod_skypopen, Configuration: Debug Win32 ------
18>Project not selected to build for this solution configuration
19>------ Build started: Project: 8khz music, Configuration: Debug Win32 ------
19>Performing Post-Build Event...
4>Suppress-Body-If-Match header is experimental
4>Suppress-Notify-If-Match header is experimental
4>Suppress-Body-If-Match header is experimental
4>Suppress-Notify-If-Match header is experimental
19>0 File(s) copied
19>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm"
19>8khz music - 0 error(s), 0 warning(s)
20>------ Skipped Build: Project: 16khz music, Configuration: Debug Win32 ------
20>Project not selected to build for this solution configuration
21>------ Skipped Build: Project: 32khz music, Configuration: Debug Win32 ------
21>Project not selected to build for this solution configuration
22>------ Skipped Build: Project: FSComm, Configuration: Debug Win32 ------
22>Project not selected to build for this solution configuration
23>------ Skipped Build: Project: mod_cepstral, Configuration: Debug Win32 ------
23>Project not selected to build for this solution configuration
24>------ Skipped Build: Project: mod_directory, Configuration: Debug Win32 ------
24>Project not selected to build for this solution configuration
25>------ Skipped Build: Project: docs (Docs\docs), Configuration: Debug Win32 ------
25>Project not selected to build for this solution configuration
4>NOTE:
4>NOTE: Remember to install pthreadVC2.dll to your path, too!
4>NOTE:
4>Compiling...
4>su_string.c
4>..\..\sofia-sip\libsofia-sip-ua\su\su_string.c : error C2220: warning treated as error - no 'object' file generated
4>..\..\sofia-sip\libsofia-sip-ua\su\su_string.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
4>Creating browse information file...
4>Microsoft Browse Information Maintenance Utility Version 9.00.21022
4>Copyright (C) Microsoft Corporation. All rights reserved.
4>Build log was saved at "
file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\sofia\Debug\BuildLog.htm"
4>libsofia_sip_ua_static - 1 error(s), 1 warning(s)
26>------ Build started: Project: mrcpsofiasip, Configuration: Debug Win32 ------
27>------ Build started: Project: mod_sofia, Configuration: Debug Win32 ------
26>Compiling...
27>Compiling...
26>mrcp_sofiasip_client_agent.c
27>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
27>sofia_sla.c
26>mrcp_sofiasip_server_agent.c
26>Generating Code...
26>Creating library...
26>Build log was saved at "
file://c:\BA\freeswitch\libs\unimrcp\modules\mrcp-sofiasip\Debug\BuildLog.htm"
26>mrcpsofiasip - 0 error(s), 0 warning(s)
28>------ Build started: Project: mod_unimrcp, Configuration: Debug Win32 ------
28>Linking...
27>sofia_reg.c
28>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib'
28>Build log was saved at "
file://c:\BA\freeswitch\src\mod\asr_tts\mod_unimrcp\Debug\BuildLog.htm"
28>mod_unimrcp - 1 error(s), 0 warning(s)
27>sofia_presence.c
27>sofia_glue.c
27>.\sofia_glue.c(559) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data
27>.\sofia_glue.c(563) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data
27>.\sofia_glue.c(581) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data
27>.\sofia_glue.c(585) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data
27>.\sofia_glue.c(3173) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'
27>.\sofia_glue.c(3557) : warning C4244: 'function' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data
27>.\sofia_glue.c(4627) : warning C4244: 'function' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data
27>.\sofia_glue.c(4743) : warning C4244: '=' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data
27>.\sofia_glue.c(4867) : warning C4244: '=' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data
27>.\sofia_glue.c(5436) : warning C4244: 'function' : conversion from 'int' to 'switch_payload_t', possible loss of data
27>.\sofia_glue.c(5442) : warning C4244: 'function' : conversion from 'int' to 'switch_payload_t', possible loss of data
27>sofia.c
27>.\sofia.c(2436) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'
27>.\sofia.c(2438) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'
27>.\sofia.c(3233) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'
27>.\sofia.c(3235) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'
27>mod_sofia.c
27>Generating Code...
27>c:\BA\freeswitch\src\mod\endpoints\mod_sofia\sofia_glue.c(4129) : warning C4702: unreachable code
27>Linking...
27>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib'
27>Build log was saved at "
file://c:\BA\freeswitch\src\mod\endpoints\mod_sofia\Win32\Debug\BuildLog.htm"
27>mod_sofia - 1 error(s), 17 warning(s)
========== Build: 7 succeeded, 3 failed, 134 up-to-date, 18 skipped ==========