Сборка TexMaker 5 из источника на окнах
Я пытался собрать Texmaker из 5 из исходного архива на http://www.xm1math.net/texmaker/download.html
Я установил новую версию QT 5.9 и новую версию MSVC 2015 Community.
Когда я пробую сборку, она проходит до стадии соединения и умирает с отсутствующими символами. В частности, символы с устройства pdf для Windows отсутствуют, как будто файл.pro справляется только со сборками linux/mac.
Кому-нибудь удалось сделать эту работу?
Письма автору остались без ответа.
У меня есть некоторые изменения (дополнительные параметры сворачивания, такие как "Сложить все разделы" и т. Д.), Которые я хотел бы проверить и передать обратно в основной поток.
Заранее благодарю за любую помощь.
Точный раздел журнала сборки с ошибками в:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:release\texmaker.exe @C:\Users\Robin\AppData\Local\Temp\texmaker.exe.7624.29140.jom
Creating library release\texmaker.lib and object release\texmaker.exp
fpdfview.obj : error LNK2019: unresolved external symbol "public: __cdecl CFX_WindowsDevice::CFX_WindowsDevice(struct HDC__ *)" (??0CFX_WindowsDevice@@QEAA@PEAUHDC__@@@Z) referenced in function FPDF_RenderPage
fpdfview.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl CFX_WindowsDevice::~CFX_WindowsDevice(void)" (??1CFX_WindowsDevice@@UEAA@XZ) referenced in function FPDF_RenderPage
fpdf_sysfontinfo.obj : error LNK2019: unresolved external symbol "public: static class std::unique_ptr<class IFX_SystemFontInfo,struct std::default_delete<class IFX_SystemFontInfo> > __cdecl IFX_SystemFontInfo::CreateDefault(char const * *)" (?CreateDefault@IFX_SystemFontInfo@@SA?AV?$unique_ptr@VIFX_SystemFontInfo@@U?$default_delete@VIFX_SystemFontInfo@@@std@@@std@@PEAPEBD@Z) referenced in function FPDF_GetDefaultSystemFontInfo
doc_form.obj : error LNK2019: unresolved external symbol __imp_EnumFontFamiliesExA referenced in function "int __cdecl RetrieveSpecificFont(struct tagLOGFONTA &)" (?RetrieveSpecificFont@@YAHAEAUtagLOGFONTA@@@Z)
doc_form.obj : error LNK2019: unresolved external symbol __imp_GetDC referenced in function "int __cdecl RetrieveSpecificFont(struct tagLOGFONTA &)" (?RetrieveSpecificFont@@YAHAEAUtagLOGFONTA@@@Z)
doc_form.obj : error LNK2019: unresolved external symbol __imp_ReleaseDC referenced in function "int __cdecl RetrieveSpecificFont(struct tagLOGFONTA &)" (?RetrieveSpecificFont@@YAHAEAUtagLOGFONTA@@@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_CreateCompatibleDC referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_CreateFontIndirectA referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_DeleteDC referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_DeleteObject referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_GetCharWidthW referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_GetFontData referenced in function "class CFX_ByteString __cdecl `anonymous namespace'::FPDF_GetPSNameFromTT(struct HDC__ *)" (?FPDF_GetPSNameFromTT@?A0x2555c822@@YA?AVCFX_ByteString@@PEAUHDC__@@@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_GetOutlineTextMetricsW referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
cpdf_document.obj : error LNK2019: unresolved external symbol __imp_SelectObject referenced in function "public: class CPDF_Font * __cdecl CPDF_Document::AddWindowsFont(struct tagLOGFONTA *,int,int)" (?AddWindowsFont@CPDF_Document@@QEAAPEAVCPDF_Font@@PEAUtagLOGFONTA@@HH@Z)
fx_extension.obj : error LNK2019: unresolved external symbol __imp_CryptAcquireContextW referenced in function "void __cdecl FX_Random_GenerateMT(unsigned int *,int)" (?FX_Random_GenerateMT@@YAXPEAIH@Z)
fx_extension.obj : error LNK2019: unresolved external symbol __imp_CryptReleaseContext referenced in function "void __cdecl FX_Random_GenerateMT(unsigned int *,int)" (?FX_Random_GenerateMT@@YAXPEAIH@Z)
fx_extension.obj : error LNK2019: unresolved external symbol __imp_CryptGenRandom referenced in function "void __cdecl FX_Random_GenerateMT(unsigned int *,int)" (?FX_Random_GenerateMT@@YAXPEAIH@Z)
fx_ge.obj : error LNK2019: unresolved external symbol "private: void __cdecl CFX_GEModule::InitPlatform(void)" (?InitPlatform@CFX_GEModule@@AEAAXXZ) referenced in function "private: __cdecl CFX_GEModule::CFX_GEModule(char const * *,class CCodec_ModuleMgr *)" (??0CFX_GEModule@@AEAA@PEAPEBDPEAVCCodec_ModuleMgr@@@Z)
fx_ge.obj : error LNK2019: unresolved external symbol "private: void __cdecl CFX_GEModule::DestroyPlatform(void)" (?DestroyPlatform@CFX_GEModule@@AEAAXXZ) referenced in function "private: __cdecl CFX_GEModule::~CFX_GEModule(void)" (??1CFX_GEModule@@AEAA@XZ)
release\texmaker.exe : fatal error LNK1120: 19 unresolved externals
jom: D:\Artifex\build-texmaker-Desktop_Qt_5_9_1_MSVC2015_64bit-Debug\Makefile.Release [release\texmaker.exe] Error 1120
jom: D:\Artifex\build-texmaker-Desktop_Qt_5_9_1_MSVC2015_64bit-Debug\Makefile [release] Error 2
15:04:01: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project texmaker (kit: Desktop Qt 5.9.1 MSVC2015 64bit)
When executing step "Make"
15:04:01: Elapsed time: 00:41.