Skip to content
Permalink
Browse files

Make CCExtractor great again (as in at least compile on Windows)

  • Loading branch information...
cfsmp3 committed Sep 22, 2019
1 parent 8fec59e commit 0f2a5b3b965897b3280eaa75b79af8dd8ee4d9e2
@@ -7,7 +7,7 @@
#endif

#ifdef ENABLE_OCR
#include <allheaders.h>
#include <leptonica/allheaders.h>
#endif

#include <stdio.h>
@@ -1,5 +1,4 @@
#ifdef ENABLE_HARDSUBX
#include <tesseract/capi.h>
#include <leptonica/allheaders.h>
#include "hardsubx.h"
#include "ocr.h"
@@ -548,7 +548,7 @@ xcopy /y "$(ProjectDir)libs\lib\libtesseract304d.dll" "$(ProjectDir)$(OutDir)"</
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>..\src\freetype\include;..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\libpng;..\src\zlib;..\src;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\src\freetype\include;..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\libpng;..\src\zlib;..\src;..\src\windows\libs\include;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>ENABLE_HARDSUBX;FT2_BUILD_LIBRARY;GPAC_DISABLE_VTT;GPAC_DISABLE_OD_DUMP;VERSION_FILE_PRESENT;ENABLE_OCR;WIN32;NDEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
@@ -652,4 +652,4 @@ xcopy /y "$(ProjectDir)libs\lib\libtesseract304d.dll" "$(ProjectDir)$(OutDir)"</
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
@@ -384,6 +384,9 @@
<ClInclude Include="..\src\lib_ccx\ccx_encoders_structs.h">
<Filter>Header Files\lib_ccx\ccx_encoders</Filter>
</ClInclude>
<ClInclude Include="..\src\lib_ccx\ccx_encoders_mcc.h">
<Filter>Header Files\lib_ccx\ccx_encoders</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\ccextractor.c">
@@ -497,15 +500,9 @@
<ClCompile Include="..\src\lib_ccx\ccx_common_option.c">
<Filter>Source Files\ccx_common</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_encoding.c">
<Filter>Source Files\ccx_decoders</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_dtvcc.c">
<Filter>Source Files\ccx_decoders</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_output.c">
<Filter>Source Files\ccx_decoders</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_encoding.c">
<Filter>Source Files</Filter>
</ClCompile>
@@ -968,6 +965,15 @@
<ClCompile Include="..\src\gpacmp4\box_dump.c">
<Filter>Source Files\gpacmp4</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_encoders_mcc.c">
<Filter>Source Files\ccx_encoders</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_encoding.c">
<Filter>Source Files\ccx_decoders</Filter>
</ClCompile>
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_output.c">
<Filter>Source Files\ccx_decoders</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\src\lib_ccx\ccx_sub_entry_message.proto">
File renamed without changes.

0 comments on commit 0f2a5b3

Please sign in to comment.
You can’t perform that action at this time.