When freeswitch1.0.7 is compiled in windows, compilation fails, and many targets fail to be compiled. Taking a closer look, we found that libpcre, an external dependent library, failed to compile.
PCRE is a well-known Regular Expression Library. In the past, in Linux, it was successful in compiling the trilogy in a normal way. However, what is the xuanjicang in windows? The error message is that the source file pcre_chartables.c does not exist in the cloud. Is the source code incorrect?
Open \ freeswitch-1.0.7 \ libs \ PCRE, really don't have this source file. After looking for the information, I found that compiling PCRE in windows really requires some additional work:
1. Rename config. H. Generic to config. H. This is the generic configuration file. You need to modify the pre-compilation according to the specific environment. 2. Set PCRE. h. rename generic to PCRE. H 3. Rename pcre_chartables.c.dist to pcre_chartables.c. In the freeswitch project, the pcre_chartables.c file path points to the \ freeswitch-1.0.7 \ libs \ Win32 \ PCRE directory, point to \ freeswitch-1.0.7 \ libs \ PCRE regenerate, everything goes well.