<div>Hi there,</div><div> </div><div>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. </div>
<div><br> </div><div>I got the following errors:</div><div> </div><div>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<br>
Error 4 fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib' mod_unimrcp mod_unimrcp<br>Error 21 fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib' mod_sofia mod_sofia<br>
</div><div> </div><div>This is the build log:</div><div> </div><div>1>------ Build started: Project: Download OPENSSL, Configuration: Debug Win32 ------<br>1>Downloading OPENSSL.<br>1>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog</a> Download OPENSSL.htm"<br>
1>Download OPENSSL - 0 error(s), 0 warning(s)<br>2>------ Build started: Project: Download CELT, Configuration: Debug Win32 ------<br>2>Downloading CELT.<br>3>------ Build started: Project: Download JSON, Configuration: Debug Win32 ------<br>
3>Downloading JSON.<br>2>0 File(s) copied<br>3>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog</a> Download JSON.htm"<br>
3>Download JSON - 0 error(s), 0 warning(s)<br>2>0 File(s) copied<br>2>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Debug\BuildLog</a> Download CELT.htm"<br>
2>Download CELT - 0 error(s), 0 warning(s)<br>4>------ Build started: Project: libsofia_sip_ua_static, Configuration: Debug Win32 ------<br>4>Performing Pre-Build Event...<br>5>------ Skipped Build: Project: Download 16khz music, Configuration: Debug Win32 ------<br>
5>Project not selected to build for this solution configuration <br>6>------ Skipped Build: Project: Download 32khz music, Configuration: Debug Win32 ------<br>6>Project not selected to build for this solution configuration <br>
7>------ Skipped Build: Project: Download 16khzsound, Configuration: Debug Win32 ------<br>7>Project not selected to build for this solution configuration <br>8>------ Skipped Build: Project: Download 32khzsound, Configuration: Debug Win32 ------<br>
8>Project not selected to build for this solution configuration <br>9>------ Build started: Project: FreeSWITCH.Managed, Configuration: Debug Any CPU ------<br>9>FreeSWITCH.Managed -> C:\Brightarrow\BASIPServices\freeswitch\Debug\mod\FreeSWITCH.Managed.dll<br>
10>------ Skipped Build: Project: mod_flite, Configuration: Debug Win32 ------<br>10>Project not selected to build for this solution configuration <br>11>------ Skipped Build: Project: 32khz, Configuration: Debug Win32 ------<br>
11>Project not selected to build for this solution configuration <br>12>------ Skipped Build: Project: 16khz, Configuration: Debug Win32 ------<br>12>Project not selected to build for this solution configuration <br>
13>------ Build started: Project: 8khz, Configuration: Debug Win32 ------<br>13>Performing Post-Build Event...<br>13>0 File(s) copied<br>13>0 File(s) copied<br>4>multipart mismatch with Recursive multipart ()<br>
13>0 File(s) copied<br>13>0 File(s) copied<br>13>0 File(s) copied<br>13>0 File(s) copied<br>4>Suppress-Body-If-Match header is experimental<br>4>Suppress-Notify-If-Match header is experimental<br>13>0 File(s) copied<br>
13>0 File(s) copied<br>13>0 File(s) copied<br>13>0 File(s) copied<br>13>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm</a>"<br>
13>8khz - 0 error(s), 0 warning(s)<br>14>------ Skipped Build: Project: mod_opal, Configuration: Debug Win32 ------<br>14>Project not selected to build for this solution configuration <br>15>------ Skipped Build: Project: mod_h323, Configuration: Debug Win32 ------<br>
15>Project not selected to build for this solution configuration <br>16>------ Skipped Build: Project: mod_skinny, Configuration: Debug Win32 ------<br>16>Project not selected to build for this solution configuration <br>
17>------ Skipped Build: Project: mod_skel, Configuration: Debug Win32 ------<br>17>Project not selected to build for this solution configuration <br>18>------ Skipped Build: Project: mod_skypopen, Configuration: Debug Win32 ------<br>
18>Project not selected to build for this solution configuration <br>19>------ Build started: Project: 8khz music, Configuration: Debug Win32 ------<br>19>Performing Post-Build Event...<br>4>Suppress-Body-If-Match header is experimental<br>
4>Suppress-Notify-If-Match header is experimental<br>4>Suppress-Body-If-Match header is experimental<br>4>Suppress-Notify-If-Match header is experimental<br>19>0 File(s) copied<br>19>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\Sound_Files\Debug\BuildLog.htm</a>"<br>
19>8khz music - 0 error(s), 0 warning(s)<br>20>------ Skipped Build: Project: 16khz music, Configuration: Debug Win32 ------<br>20>Project not selected to build for this solution configuration <br>21>------ Skipped Build: Project: 32khz music, Configuration: Debug Win32 ------<br>
21>Project not selected to build for this solution configuration <br>22>------ Skipped Build: Project: FSComm, Configuration: Debug Win32 ------<br>22>Project not selected to build for this solution configuration <br>
23>------ Skipped Build: Project: mod_cepstral, Configuration: Debug Win32 ------<br>23>Project not selected to build for this solution configuration <br>24>------ Skipped Build: Project: mod_directory, Configuration: Debug Win32 ------<br>
24>Project not selected to build for this solution configuration <br>25>------ Skipped Build: Project: docs (Docs\docs), Configuration: Debug Win32 ------<br>25>Project not selected to build for this solution configuration <br>
4>NOTE:<br>4>NOTE: Remember to install pthreadVC2.dll to your path, too!<br>4>NOTE:<br>4>Compiling...<br>4>su_string.c<br>4>..\..\sofia-sip\libsofia-sip-ua\su\su_string.c : error C2220: warning treated as error - no 'object' file generated<br>
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<br>4>Creating browse information file...<br>
4>Microsoft Browse Information Maintenance Utility Version 9.00.21022<br>4>Copyright (C) Microsoft Corporation. All rights reserved.<br>4>Build log was saved at "<a href="file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\sofia\Debug\BuildLog.htm">file://c:\Brightarrow\BASIPServices\freeswitch\libs\win32\sofia\Debug\BuildLog.htm</a>"<br>
4>libsofia_sip_ua_static - 1 error(s), 1 warning(s)<br>26>------ Build started: Project: mrcpsofiasip, Configuration: Debug Win32 ------<br>27>------ Build started: Project: mod_sofia, Configuration: Debug Win32 ------<br>
26>Compiling...<br>27>Compiling...<br>26>mrcp_sofiasip_client_agent.c<br>27>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler<br>
27>sofia_sla.c<br>26>mrcp_sofiasip_server_agent.c<br>26>Generating Code...<br>26>Creating library...<br>26>Build log was saved at "<a href="file://c:\BA\freeswitch\libs\unimrcp\modules\mrcp-sofiasip\Debug\BuildLog.htm">file://c:\BA\freeswitch\libs\unimrcp\modules\mrcp-sofiasip\Debug\BuildLog.htm</a>"<br>
26>mrcpsofiasip - 0 error(s), 0 warning(s)<br>28>------ Build started: Project: mod_unimrcp, Configuration: Debug Win32 ------<br>28>Linking...<br>27>sofia_reg.c<br>28>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib'<br>
28>Build log was saved at "<a href="file://c:\BA\freeswitch\src\mod\asr_tts\mod_unimrcp\Debug\BuildLog.htm">file://c:\BA\freeswitch\src\mod\asr_tts\mod_unimrcp\Debug\BuildLog.htm</a>"<br>28>mod_unimrcp - 1 error(s), 0 warning(s)<br>
27>sofia_presence.c<br>27>sofia_glue.c<br>27>.\sofia_glue.c(559) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data<br>27>.\sofia_glue.c(563) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data<br>
27>.\sofia_glue.c(581) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data<br>27>.\sofia_glue.c(585) : warning C4244: 'function' : conversion from 'uint32_t' to 'switch_port_t', possible loss of data<br>
27>.\sofia_glue.c(3173) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'<br>27>.\sofia_glue.c(3557) : warning C4244: 'function' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data<br>
27>.\sofia_glue.c(4627) : warning C4244: 'function' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data<br>27>.\sofia_glue.c(4743) : warning C4244: '=' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data<br>
27>.\sofia_glue.c(4867) : warning C4244: '=' : conversion from 'unsigned int' to 'switch_payload_t', possible loss of data<br>27>.\sofia_glue.c(5436) : warning C4244: 'function' : conversion from 'int' to 'switch_payload_t', possible loss of data<br>
27>.\sofia_glue.c(5442) : warning C4244: 'function' : conversion from 'int' to 'switch_payload_t', possible loss of data<br>27>sofia.c<br>27>.\sofia.c(2436) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'<br>
27>.\sofia.c(2438) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'<br>27>.\sofia.c(3233) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'<br>
27>.\sofia.c(3235) : warning C4133: 'function' : incompatible types - from 'switch_rtp_bug_flag_t *' to 'uint32_t *'<br>27>mod_sofia.c<br>27>Generating Code...<br>27>c:\BA\freeswitch\src\mod\endpoints\mod_sofia\sofia_glue.c(4129) : warning C4702: unreachable code<br>
27>Linking...<br>27>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\sofia\debug\libsofia_sip_ua_static.lib'<br>27>Build log was saved at "<a href="file://c:\BA\freeswitch\src\mod\endpoints\mod_sofia\Win32\Debug\BuildLog.htm">file://c:\BA\freeswitch\src\mod\endpoints\mod_sofia\Win32\Debug\BuildLog.htm</a>"<br>
27>mod_sofia - 1 error(s), 17 warning(s)<br>========== Build: 7 succeeded, 3 failed, 134 up-to-date, 18 skipped ==========</div><div> </div><div> </div><div>Thanks, <div><br>Frankie</div></div>