Onlyoffice二次开发

来自ling
跳转至: 导航搜索

window和linux参考[[1]]

官方安装程序

官方5.0.4 需要 下载nodejs6.11.3-x64.exe https://npm.taobao.org/mirrors/node/v6.11.3/node-v6.11.3-x64.msi

不要随意删除日志目录,否则无法启动,补救如下

Onlyoffice log folder.PNG

开发环境搭建

安装7z1604-x64

链接: https://pan.baidu.com/s/1geYRkbD 密码: fmvm

vs2013

https://download.my.visualstudio.com/sg/en_visual_studio_ultimate_2013_with_update_5_x86_dvd_6815896.iso?t=f0710635-0f4d-4e81-ac0a-ac8855c93682&e=1510361793&h=f3ed815198de3de777631dcc851ac878&su=1 下载不动的话从百度云拿

qt5.8

https://download.qt.io/archive/qt/5.8/5.8.0/

qt-opensource-windows-x86-msvc2013-5.8.0.exe

vs2013插件

qt-vs-tools-msvc2013-2.1.1.vsix

python

添加到环境变量 D:\DocumentServer\core\Common\3dParty\v8\depot_tools\python276_bin

https://www.python.org/download/releases/2.7.6/

nodejs

老版本 windows平台为 v6.9.2 可以在[2]下载

http://cdn.npm.taobao.org/dist/node/v6.9.2/node-v6.9.2-x86.msi

新编译版本为 node-v8.9.0-x86.msi

和5.0.4保持一致,用nodejs 6.11.3-x64.exe

redis

rabbitmq

https://dl.bintray.com/rabbitmq/windows/rabbitmq-server-3.6.14.exe

mysql

Onlyoffice二次开发#mysql表结构

下载源代码

如果需要重新编译v8

不需要编译v8 包含必须的include和编译好的dll文件

Onlyoffice v8 dll.PNG

qt部分编译及顺序

debug和release区别

  • 在远程服务器下运行\core\Common\3dParty\v8\fetch.bat (已成功,可不再执行)
  • 用vs2013 cmd运行 build32.bat (已成功,可不再执行)
  • 用vs2013 cmd运行 build64.bat (已成功,可不再执行)

  • 编译boost(第一次需执行)
core\Common\3dParty\boost\fetch.bat
core\Common\3dParty\boost\build.bat
  • 编译cef(第一次需执行)
core\Common\3dParty\cef\fetch.bat
core\Common\3dParty\cef\build.bat
  • 编译curl(第一次需执行)
core\Common\3dParty\curl\fetch.bat
core\Common\3dParty\curl\build.bat
  • 编译v8(需要编译v8才执行,使用已经编译好的请忽略,没有vpn请自动忽略)
core\Common\3dParty\v8\fetch.bat
core\Common\3dParty\v8\build.bat
  • 使使用qt构建core 注意使用release构建
    • DesktopEditor/Qt_build/graphics/project/graphics.pro
    • DesktopEditor/xml/build/qt/libxml2.pro
    • DesktopEditor/xmlsec/src/ooxmlsignature.pro
    • DesktopEditor/hunspell-1.3.3/src/qt/hunspell.pro
    • core\UnicodeConverter/UnicodeConverter.pro
    • core/HtmlRenderer/htmlrenderer.pro
    • core/PdfReader/PdfReader.pro
    • core/PdfWriter/PdfWriter.pro
    • core\DjVuFile\DjVuFile.pro
    • core\XpsFile\XpsFile.pro
    • HtmlFile\HtmlFile.pro
    • core\DesktopEditor\doctrenderer\doctrenderer.pro
    • X2tConverter/build/Qt/X2tSLN.pro
    • desktop-sdk/HtmlFile/Internal/Internal.pro
    • core/DesktopEditor/AllFontsGen/AllFontsGen.pro
    • desktop-sdk/ChromiumBasedEditors/lib/AscDocumentsCore_win.pro

AllFontsGen

复制\core\build\bin\AllFontsGen\win_32.exe到server\tools\AllFontsGen.exe

nodejs部分编译与顺序

server编译与测试

  • 测试需要的dll是否完整 server\copydll.bat
  • 安装nodejs需要的模块,需要连vpn访问外网 server\run.bat
  • 测试服务是否可以正常启动 server\runserver.bat
  • cnpm install
ECHO Start build skd-all.js

CD /D %~dp0\..\sdkjs\build
call cnpm install -g grunt-cli
call cnpm install
call grunt --src="./configs" --level=WHITESPACE_ONLY --formatting=PRETTY_PRINT

ECHO Install node.js modules 

CD /D %~dp0\DocService || goto ERROR
call cnpm install

cd /D ..\Common || goto ERROR
call cnpm install

cd /D ..\FileConverter || goto ERROR
call cnpm install

cd /D ..\SpellChecker || goto ERROR
call cnpm install

发布

  • 删除所有有 node_modules
  • 重新执行server\run.bat
  • 删除server\App_Data下内容
  • 删除nginx-1.11.4\temp
  • 删除nginx-1.11.4\log

runserver.bat

ECHO OFF

rem reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32||set OS=64
set OS=32
set MAKETYPE=DEBUG

SET RUN_DIR=%~dp0
SET NODE_ENV=development-windows
SET NODE_CONFIG_DIR=%RUN_DIR%\Common\config

cd "%RUN_DIR%\DocService\sources"
start /min /b node server.js
start /min /b node gc.js

cd "%RUN_DIR%\FileConverter\sources"
start /min /b node convertermaster.js

rem cd "%RUN_DIR%\SpellChecker\sources"
rem start /min /b node server.js

:ERROR
:SUCCESS
pause

linux编译参考

  • Build core:
cd ../.. && make
  • Build sdkjs:
cd ../sdkjs && make
  • Build server:
cd ../server && make
cd ../server && run.bat

字体相关

  • 经过修改documentserver-generate-allfonts.bat,所显示字体不再依赖操作系统
  • documentserver-generate-allfonts.bat执行后生成的js文件为 sdkjs\common\AllFonts.js
  • 可以修改AllFonts.js这里的字体名称来达到中文字体中文名称的目的

修改字体后乱码问题

  • 修改字体后无需删除转换后的缓存
  • 重新生成字体后乱码部分就正常显示

documentserver-generate-allfonts.bat

@ECHO off

SET ONLYOFFICE_DATA_CONTAINER=false
IF NOT "%1"=="" (
  SET ONLYOFFICE_DATA_CONTAINER=%1
)
rem Setup path env to enable to load the dlls
set PATH=%~dp0\..\server\FileConverter\bin;%PATH%

rem Start generate AllFonts.js, font thumbnails and font_selection.bin
ECHO | SET /p="Generating AllFonts.js, please wait..."

"%~dp0\..\server\tools\AllFontsGen.exe" ^
  "%~dp0\..\front" ^
  "%~dp0\..\sdkjs\common\AllFonts.js" ^
  "%~dp0\..\sdkjs\common\Images" ^
  "%~dp0\..\server\FileConverter\bin\font_selection.bin"

ECHO Done
pause

api对接

  • 传递的文件不能有中文名
  • docapi serve必须能访问document.url的地址,因为apiserver服务器会根据document.url获取文件内容并转换后返回给当前网页
  • 不同的文件(包括相同文件修改前后),document必须不同,否者会返回相同key的内容.和document.url没关系,因为内容会根据key缓存到redis中
<div id="placeholder"></div>
<script type="text/javascript" src="http://192.168.31.2:59/web-apps/apps/api/documents/api.js"></script>

<script>
    new DocsAPI.DocEditor("placeholder", {
        "document": {
            "fileType": "xlsx",
            "key": "dsaf3asfddd",
            "title": "Example Document Title.docx",
            "url": "http://192.168.31.3:8081/app_data/192.168.31.3/1.xlsx"
        },
        "height": "100%",
        "width": "100%",
        "documentType": "spreadsheet"
    });
</script>

CommunityServer

cd D:\workspace\source\onlyoffice\CommunityServer
build\BuildAndDeploy.bat

core makefile

X2T_PRO := $(abspath X2tConverter/build/Qt/X2tSLN.pro)
HTMLFILEINTERNAL_PRO := $(abspath ../desktop-sdk/HtmlFile/Internal/Internal.pro)
ALLFONTSGEN_PRO := $(abspath DesktopEditor/AllFontsGen/AllFontsGen.pro)
DOCBUILDER_PRO := $(abspath ../core-ext/docbuilder/test_builder/docbuilder.pro)
XLSFORMATLIB_PRO := $(abspath ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro)
ODFFILEWRITERLIB_PRO := $(abspath ASCOfficeOdfFileW/linux/OdfFileWriterLib.pro)
ODFFILEREADERLIB_PRO := $(abspath ASCOfficeOdfFile/linux/OdfFileReaderLib.pro)
DOCFORMATLIB_PRO := $(abspath ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro)
PPTFORMATLIB_PRO := $(abspath ASCOfficePPTFile/PPTFormatLib/Linux/PPTFormatLib.pro)
RTFFORMATLIB_PRO := $(abspath ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro)
TXTXMLFORMATLIB_PRO := $(abspath ASCOfficeTxtFile/TxtXmlFormatLib/Linux/TxtXmlFormatLib.pro)
PDFWRITER_PRO := $(abspath PdfWriter/PdfWriter.pro)
ASCOFFICEDOCXFILE2LIB_PRO := $(abspath ASCOfficeDocxFile2/Linux/ASCOfficeDocxFile2Lib.pro)
PPTXFORMATLIB_PRO := $(abspath ASCOfficePPTXFile/PPTXLib/Linux/PPTXFormatLib/PPTXFormatLib.pro)
DOCXFORMATLIB_PRO := $(abspath Common/DocxFormat/DocxFormatLib/DocxFormatLib.pro)
OFFICEUTILS_PRO := $(abspath OfficeUtils/OfficeUtils.pro)
GRAPHICS_PRO := $(abspath DesktopEditor/Qt_build/graphics/project/graphics.pro)
DOCTRENDERER_PRO := $(abspath DesktopEditor/doctrenderer/doctrenderer.pro)
HTMLRENDERER_PRO := $(abspath HtmlRenderer/htmlrenderer.pro)
PDFREADER_PRO := $(abspath PdfReader/PdfReader.pro)
DJVUFILE_PRO := $(abspath DjVuFile/DjVuFile.pro)
XPSFILE_PRO := $(abspath XpsFile/XpsFile.pro)
HTMLFILE_PRO := $(abspath HtmlFile/HtmlFile.pro)
UNICODECONVERTER_PRO := $(abspath UnicodeConverter/UnicodeConverter.pro)
ASCDOCUMENTSCORE_PRO := $(abspath ../desktop-sdk/ChromiumBasedEditors/lib/AscDocumentsCore_$(PLATFORM).pro)
LIBXML_PRO := $(abspath DesktopEditor/xml/build/qt/libxml2.pro)
LICENSEMANAGER_PRO := $(abspath LicenceManager/linux/LicenseManager.pro)
OOXMLSIGNATURE_PRO := $(abspath DesktopEditor/xmlsec/src/ooxmlsignature.pro)
HUNSPELL_PRO := $(abspath DesktopEditor/hunspell-1.3.3/src/qt/hunspell.pro)

document server run.bat

ECHO OFF

reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32||set OS=64

ECHO.
ECHO ----------------------------------------
ECHO copy file to converter
ECHO ----------------------------------------

mkdir "%~dp0\App_Data"
mkdir "%~dp0\FileConverter\bin"
mkdir "%~dp0\FileConverter\bin\HtmlFileInternal"

cd /D "%~dp0\FileConverter\bin" || goto ERROR
copy "..\..\..\core\build\bin\win_64\icudt.dll" "."
copy "..\..\..\core\build\bin\icu\win_%OS%\icudt55.dll" "."
copy "..\..\..\core\build\bin\icu\win_%OS%\icuuc55.dll" "."
copy "..\..\..\core\build\lib\DoctRenderer.config" "."
copy "..\..\..\core\build\lib\win_%OS%\doctrenderer.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\HtmlRenderer.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\DjVuFile.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\XpsFile.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\PdfReader.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\PdfWriter.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\HtmlFile.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\UnicodeConverter.dll" "."
copy "..\..\..\core\build\lib\win_%OS%\HtmlFileInternal.exe" ".\HtmlFileInternal"
xcopy /s/h/e/k/c/y/q "..\..\..\core\build\cef\win_%OS%" ".\HtmlFileInternal"
copy "..\..\..\core\build\bin\win_%OS%\x2t.exe" "."

"..\..\..\core\build\bin\AllFontsGen\win_%OS%.exe" "%windir%\Fonts" "%~dp0\..\sdkjs\common\AllFonts.js" "%~dp0\..\sdkjs\common\Images" "%~dp0\FileConverter\bin\font_selection.bin"

mkdir "%~dp0\SpellChecker\dictionaries"
cd /D "%~dp0\SpellChecker" || goto ERROR
xcopy /s/e/k/c/y/q "..\..\dictionaries" ".\dictionaries"

ECHO.
ECHO ----------------------------------------
ECHO Start build skd-all.js
ECHO ----------------------------------------
CD /D %~dp0\..\sdkjs\build
call cnpm install -g grunt-cli
call cnpm install
call grunt --src="./configs" --level=WHITESPACE_ONLY --formatting=PRETTY_PRINT


ECHO.
ECHO ----------------------------------------
ECHO Install node.js modules 
ECHO ----------------------------------------

CD /D %~dp0\DocService || goto ERROR
call cnpm install

cd /D ..\Common || goto ERROR
call cnpm install

cd /D ..\FileConverter || goto ERROR
call cnpm install

cd /D ..\SpellChecker || goto ERROR
call cnpm install

SET RUN_DIR=%~dp0
SET NODE_ENV=development-windows
SET NODE_CONFIG_DIR=%RUN_DIR%\Common\config

cd "%RUN_DIR%\DocService\sources"
start /min /b node server.js
start /min /b node gc.js

cd "%RUN_DIR%\FileConverter\sources"
start /min /b node convertermaster.js

cd "%RUN_DIR%\SpellChecker\sources"
start /min /b node server.js

:ERROR
:SUCCESS
pause

dll

Onlyoffice dll.PNG

Onlyoffice HtmlFileInternal dll.PNG

node_modules

  • D:\DocumentServer\server\SpellChecker
  • D:\DocumentServer\server\FileConverter
  • D:\DocumentServer\server\Common
  • D:\DocumentServer\server\DocService
  • D:\DocumentServer\sdkjs\build

直接运行

  • 主要用于安装包和os不兼容,必须手工运行
  • 将在某个安装成功的os上将documentserver 目录copy出来
  • 安装必要的依赖软件

命令行

set NODE_ENV=production-windows
set NODE_CONFIG_DIR=C:\server\ONLYOFFICE Community Edition\DocumentServer\config
SET RUN_DIR=C:\server\ONLYOFFICE Community Edition\DocumentServer\server

cd "%RUN_DIR%\DocService\sources"
start /min /b node server.js
start /min /b node gc.js

cd "%RUN_DIR%\FileConverter\sources"
start /min /b node convertermaster.js

cd "%RUN_DIR%\SpellChecker\sources"
start /min /b node server.js

配置

注意修改config\production-windows.json中数据库配置

{
  "log": {
    "filePath": "../../../config/log4js/production.json"
  },
  "storage": {
    "name": "storage-fs",
    "fs": {
      "folderPath": "../../App_Data/cache/files",
      "urlExpires": 2592000,
      "secretString": "onlyoffice"
    }
  },
  "services": {
    "CoAuthoring": {
      "server": {
        "sockjsUrl": "/web-apps/vendor/sockjs/sockjs.min.js",
        "static_content": {
          "/sdkjs": {
            "path": "../../../sdkjs",
            "options": {
              "maxAge": "7d"
            }
          },
          "/web-apps": {
            "path": "../../../web-apps",
            "options": {
              "maxAge": "7d"
            }
          },
          "/sdkjs-plugins": {
            "path": "../../../sdkjs-plugins",
            "options": {
              "maxAge": "7d"
            }
          },
          "/welcome": {
            "path": "../../welcome",
            "options": {
              "maxAge": "7d"
            }
          }
        }
      },
      "utils": {
        "utils_common_fontdir": "C:/Windows/Fonts"
      },
      "sql": {
        "type": "mysql",
        "dbPort": 3306,
        "dbUser": "root",
        "dbPass": "Dtt!23456"
      }
    }
  },
  "license": {
    "license_file": "C:/server/CommunityServer/Data/license.lic"
  },
  "FileConverter": {
    "converter": {
      "fontDir": "",
      "presentationThemesDir": "../../../sdkjs/slide/themes",
      "filePath": "../../FileConverter/bin/x2t.exe",
      "errorfiles": "error"
    }
  }
}

mysql表结构

server/schema/mysql/createdb.sql

CREATE TABLE IF NOT EXISTS `doc_changes` (
  `id` varchar(255) NOT NULL,
  `change_id` int(10) unsigned NOT NULL,
  `user_id` varchar(255) NOT NULL,
  `user_id_original` varchar(255) NOT NULL,
  `user_name` varchar(255) NOT NULL,
  `change_data` longtext NOT NULL,
  `change_date` datetime NOT NULL,
  PRIMARY KEY (`id`,`change_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `task_result` (
  `id` varchar(255) NOT NULL,
  `status` tinyint(3) NOT NULL,
  `status_info` int(10) NOT NULL,
  `last_open_date` datetime NOT NULL,
  `user_index` int(10) unsigned NOT NULL DEFAULT 1,
  `change_id` int(10) unsigned NOT NULL DEFAULT 0,
  `callback` text NOT NULL,
  `baseurl` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

问题解决

error MSB6006: "cmd.exe" exited with code 127

右键管理员执行

转换过的文件缓存丢失

DELETE FROM task_result

parser.cc(2327): error C2220: warning treated as error - no 'object' file generated

http://blog.csdn.net/qqagsd155451/article/details/53371099

在Solution中,选择libMXF工程,右键菜单中选择“Properties”。弹出的属性框中,将Configuration选择“All Configurations”,选择“C/C++/General/”,右侧Treat Warnings As Errors值从原来的“Yes(/WX)”改为“No(/WX-)”。

产生原因为:

  • 代码不严谨。
  • 因为编译器版本转换后,在Project编译选项中,Treat Warnings As Errors(把警告看作错误来处理)选项开启了。
  • 该文件的代码页为英文,而我们系统中的代码页为中文。


大概有以下几种解决方法:

  • 改编译器的编译选项
  • 修改WDKPATH/i386.inc文件
  • 修改当前驱动工程的sources文件

解决方法:

  • 将源码转化为正确的编码方式
用vs2008打开对应的文档,文件->打开->选择该cpp,然后保存。
如果不起作用的话,修改其中一部分,或者 选择替换,选中正则表达式,将\n替换为\n。
也可以用文本编辑器如Notepad,更改代码文件的编码方式,改为ANSI。
  • 设置项目属性,取消警告视为错误
VS2008菜单 - 项目 - 属性 - 通用配置 - C/C++ - 常规 - 将警告视为错误 修改为 否,重新编译即可。

失败了,但有意思的备份

编译使用win32平台,target machine为 MachineX86 (/MACHINE:X86)

Win32 target.PNG

  • 使用vs编译core\Common\3dParty\v8\v8\third_party\icu\icu.sln
  • 使用vs编译 core\Common\3dParty\v8\v8\build\all.sln
  • 使用vs编译core\Common\3dParty\v8\v8\tools\gyp\v8.sln 注意设置v8_base_3的varing值

V8 base 3.PNG

编译server时复制的dll问题

  • copy "..\..\..\core\build\bin\win_64\icudt.dll" "."
  • copy "..\..\..\core\build\lib\DoctRenderer.config" "."
  • copy "..\..\..\core\build\lib\win_%OS%\XpsFile.dll" "."
  • copy "..\..\..\core\build\lib\win_%OS%\HtmlFileInternal.exe" ".\HtmlFileInternal"
  • xcopy /s/h/e/k/c/y/q "..\..\..\core\build\cef\win_%OS%" ".\HtmlFileInternal"

DocumentServer

x2t编译记录备份

15:40:09: 为项目X2tSLN执行步骤 ...
15:40:09: 正在启动 "C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe" clean

	cd ..\..\..\OfficeUtils\ && ( if not exist Makefile C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile D:\DocumentServer\core\OfficeUtils\OfficeUtils.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile clean
	del core_build\win_32\release\obj\OfficeUtils.obj core_build\win_32\release\obj\ZipUtilsCP.obj core_build\win_32\release\obj\ioapi.obj core_build\win_32\release\obj\miniunz.obj core_build\win_32\release\obj\minizip.obj core_build\win_32\release\obj\mztools.obj core_build\win_32\release\obj\unzip.obj core_build\win_32\release\obj\zip.obj core_build\win_32\release\obj\adler32.obj core_build\win_32\release\obj\compress.obj core_build\win_32\release\obj\crc32.obj core_build\win_32\release\obj\deflate.obj core_build\win_32\release\obj\example.obj core_build\win_32\release\obj\gzio.obj core_build\win_32\release\obj\infback.obj core_build\win_32\release\obj\inffast.obj core_build\win_32\release\obj\inflate.obj core_build\win_32\release\obj\inftrees.obj core_build\win_32\release\obj\minigzip.obj core_build\win_32\release\obj\trees.obj core_build\win_32\release\obj\uncompr.obj core_build\win_32\release\obj\zutil.obj
	cd ..\..\..\DesktopEditor\Qt_build\graphics\project\ && ( if not exist Makefile.graphics C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.graphics D:\DocumentServer\core\DesktopEditor\Qt_build\graphics\project\graphics.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.graphics clean
	del core_build\win_32\release\obj\graphics_pri.obj core_build\win_32\release\obj\ftbbox.obj core_build\win_32\release\obj\ftgxval.obj core_build\win_32\release\obj\ftlcdfil.obj core_build\win_32\release\obj\ftmm.obj core_build\win_32\release\obj\ftotval.obj core_build\win_32\release\obj\ftpatent.obj core_build\win_32\release\obj\ftpfr.obj core_build\win_32\release\obj\ftsynth.obj core_build\win_32\release\obj\fttype1.obj core_build\win_32\release\obj\ftwinfnt.obj core_build\win_32\release\obj\ftxf86.obj core_build\win_32\release\obj\pcf.obj core_build\win_32\release\obj\pfr.obj core_build\win_32\release\obj\psaux.obj core_build\win_32\release\obj\pshinter.obj core_build\win_32\release\obj\psmodule.obj core_build\win_32\release\obj\raster.obj core_build\win_32\release\obj\sfnt.obj core_build\win_32\release\obj\truetype.obj core_build\win_32\release\obj\type1.obj core_build\win_32\release\obj\type1cid.obj core_build\win_32\release\obj\type42.obj core_build\win_32\release\obj\winfnt.obj core_build\win_32\release\obj\autofit.obj core_build\win_32\release\obj\bdf.obj core_build\win_32\release\obj\cff.obj core_build\win_32\release\obj\ftbase.obj core_build\win_32\release\obj\ftbitmap.obj core_build\win_32\release\obj\ftcache.obj core_build\win_32\release\obj\ftfstype.obj core_build\win_32\release\obj\ftgasp.obj core_build\win_32\release\obj\ftglyph.obj core_build\win_32\release\obj\ftgzip.obj core_build\win_32\release\obj\ftinit.obj core_build\win_32\release\obj\ftlzw.obj core_build\win_32\release\obj\ftstroke.obj core_build\win_32\release\obj\ftsystem.obj core_build\win_32\release\obj\smooth.obj core_build\win_32\release\obj\jas_cm.obj core_build\win_32\release\obj\jas_debug.obj core_build\win_32\release\obj\jas_getopt.obj core_build\win_32\release\obj\jas_icc.obj core_build\win_32\release\obj\jas_iccdata.obj core_build\win_32\release\obj\jas_image.obj core_build\win_32\release\obj\jas_init.obj core_build\win_32\release\obj\jas_malloc.obj core_build\win_32\release\obj\jas_stream.obj
	del core_build\win_32\release\obj\jas_seq.obj core_build\win_32\release\obj\jas_string.obj core_build\win_32\release\obj\jas_tvp.obj core_build\win_32\release\obj\jas_version.obj core_build\win_32\release\obj\bmp_cod.obj core_build\win_32\release\obj\bmp_dec.obj core_build\win_32\release\obj\bmp_enc.obj core_build\win_32\release\obj\jp2_cod.obj core_build\win_32\release\obj\jp2_dec.obj core_build\win_32\release\obj\jp2_enc.obj core_build\win_32\release\obj\jpc_bs.obj core_build\win_32\release\obj\jpc_cs.obj core_build\win_32\release\obj\jpc_dec.obj core_build\win_32\release\obj\jpc_enc.obj core_build\win_32\release\obj\jpc_math.obj core_build\win_32\release\obj\jpc_mct.obj core_build\win_32\release\obj\jpc_mqcod.obj core_build\win_32\release\obj\jpc_mqdec.obj core_build\win_32\release\obj\jpc_mqenc.obj core_build\win_32\release\obj\jpc_qmfb.obj core_build\win_32\release\obj\jpc_t1cod.obj core_build\win_32\release\obj\jpc_t1dec.obj core_build\win_32\release\obj\jpc_t1enc.obj core_build\win_32\release\obj\jpc_t2cod.obj core_build\win_32\release\obj\jpc_t2dec.obj core_build\win_32\release\obj\jpc_t2enc.obj core_build\win_32\release\obj\jpc_tagtree.obj core_build\win_32\release\obj\jpc_tsfb.obj core_build\win_32\release\obj\jpc_util.obj core_build\win_32\release\obj\jpg_dummy.obj core_build\win_32\release\obj\jpg_val.obj core_build\win_32\release\obj\mif_cod.obj core_build\win_32\release\obj\pgx_cod.obj core_build\win_32\release\obj\pgx_dec.obj core_build\win_32\release\obj\pgx_enc.obj core_build\win_32\release\obj\pnm_cod.obj core_build\win_32\release\obj\pnm_dec.obj core_build\win_32\release\obj\pnm_enc.obj core_build\win_32\release\obj\ras_cod.obj core_build\win_32\release\obj\ras_dec.obj core_build\win_32\release\obj\ras_enc.obj core_build\win_32\release\obj\jbig.obj core_build\win_32\release\obj\jbig_tab.obj core_build\win_32\release\obj\wrtarga.obj core_build\win_32\release\obj\wrrle.obj core_build\win_32\release\obj\wrppm.obj core_build\win_32\release\obj\wrjpgcom.obj
	cd ..\..\..\Common\3dParty\cryptopp\project\ && ( if not exist Makefile.cryptopp C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.cryptopp D:\DocumentServer\core\Common\3dParty\cryptopp\project\cryptopp.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.cryptopp clean
	del core_build\win_32\release\obj\3way.obj core_build\win_32\release\obj\adler32.obj core_build\win_32\release\obj\algparam.obj core_build\win_32\release\obj\arc4.obj core_build\win_32\release\obj\asn.obj core_build\win_32\release\obj\authenc.obj core_build\win_32\release\obj\base32.obj core_build\win_32\release\obj\base64.obj core_build\win_32\release\obj\basecode.obj core_build\win_32\release\obj\bench.obj core_build\win_32\release\obj\bench2.obj core_build\win_32\release\obj\bfinit.obj core_build\win_32\release\obj\blowfish.obj core_build\win_32\release\obj\blumshub.obj core_build\win_32\release\obj\camellia.obj core_build\win_32\release\obj\cast.obj core_build\win_32\release\obj\casts.obj core_build\win_32\release\obj\cbcmac.obj core_build\win_32\release\obj\ccm.obj core_build\win_32\release\obj\channels.obj core_build\win_32\release\obj\cmac.obj core_build\win_32\release\obj\crc.obj core_build\win_32\release\obj\cryptlib.obj core_build\win_32\release\obj\cryptlib_bds.obj core_build\win_32\release\obj\datatest.obj core_build\win_32\release\obj\default.obj core_build\win_32\release\obj\des.obj core_build\win_32\release\obj\dessp.obj core_build\win_32\release\obj\dh.obj core_build\win_32\release\obj\dh2.obj core_build\win_32\release\obj\dsa.obj core_build\win_32\release\obj\eax.obj core_build\win_32\release\obj\ec2n.obj core_build\win_32\release\obj\ecp.obj core_build\win_32\release\obj\elgamal.obj core_build\win_32\release\obj\emsa2.obj core_build\win_32\release\obj\esign.obj core_build\win_32\release\obj\files.obj core_build\win_32\release\obj\filters.obj core_build\win_32\release\obj\fips140.obj core_build\win_32\release\obj\fipsalgt.obj core_build\win_32\release\obj\fipstest.obj core_build\win_32\release\obj\gcm.obj core_build\win_32\release\obj\gf2_32.obj core_build\win_32\release\obj\gf2n.obj core_build\win_32\release\obj\gf256.obj core_build\win_32\release\obj\gfpcrypt.obj core_build\win_32\release\obj\gost.obj core_build\win_32\release\obj\gzip.obj core_build\win_32\release\obj\hex.obj
	del core_build\win_32\release\obj\hmac.obj core_build\win_32\release\obj\hrtimer.obj core_build\win_32\release\obj\ida.obj core_build\win_32\release\obj\idea.obj core_build\win_32\release\obj\integer.obj core_build\win_32\release\obj\iterhash.obj core_build\win_32\release\obj\luc.obj core_build\win_32\release\obj\mars.obj core_build\win_32\release\obj\marss.obj core_build\win_32\release\obj\md2.obj core_build\win_32\release\obj\md4.obj core_build\win_32\release\obj\md5.obj core_build\win_32\release\obj\misc.obj core_build\win_32\release\obj\modes.obj core_build\win_32\release\obj\mqueue.obj core_build\win_32\release\obj\mqv.obj core_build\win_32\release\obj\nbtheory.obj core_build\win_32\release\obj\network.obj core_build\win_32\release\obj\oaep.obj core_build\win_32\release\obj\osrng.obj core_build\win_32\release\obj\panama.obj core_build\win_32\release\obj\pch.obj core_build\win_32\release\obj\pkcspad.obj core_build\win_32\release\obj\pssr.obj core_build\win_32\release\obj\pubkey.obj core_build\win_32\release\obj\queue.obj core_build\win_32\release\obj\rabin.obj core_build\win_32\release\obj\randpool.obj core_build\win_32\release\obj\rc2.obj core_build\win_32\release\obj\rc5.obj core_build\win_32\release\obj\rc6.obj core_build\win_32\release\obj\rdrand.obj core_build\win_32\release\obj\dll.obj core_build\win_32\release\obj\dlltest.obj core_build\win_32\release\obj\rdtables.obj core_build\win_32\release\obj\regtest.obj core_build\win_32\release\obj\rijndael.obj core_build\win_32\release\obj\ripemd.obj core_build\win_32\release\obj\rng.obj core_build\win_32\release\obj\rsa.obj core_build\win_32\release\obj\rw.obj core_build\win_32\release\obj\safer.obj core_build\win_32\release\obj\salsa.obj core_build\win_32\release\obj\seal.obj core_build\win_32\release\obj\seed.obj core_build\win_32\release\obj\serpent.obj core_build\win_32\release\obj\sha.obj core_build\win_32\release\obj\sha3.obj core_build\win_32\release\obj\shacal2.obj core_build\win_32\release\obj\shark.obj
	cd ..\..\..\Common\DocxFormat\DocxFormatLib\ && ( if not exist Makefile C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile D:\DocumentServer\core\Common\DocxFormat\DocxFormatLib\DocxFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile clean
	del core_build\win_32\release\obj\docxformatlib_logic.obj core_build\win_32\release\obj\docxformatlib.obj core_build\win_32\release\obj\codecvt.obj core_build\win_32\release\obj\DateTime.obj core_build\win_32\release\obj\TxtFile.obj core_build\win_32\release\obj\unicode_util.obj core_build\win_32\release\obj\pole.obj
	del core_build\win_32\release\obj\sharkbox.obj core_build\win_32\release\obj\simple.obj core_build\win_32\release\obj\skipjack.obj core_build\win_32\release\obj\socketft.obj core_build\win_32\release\obj\sosemanuk.obj core_build\win_32\release\obj\square.obj core_build\win_32\release\obj\squaretb.obj core_build\win_32\release\obj\tea.obj core_build\win_32\release\obj\test.obj core_build\win_32\release\obj\tftables.obj core_build\win_32\release\obj\tiger.obj core_build\win_32\release\obj\tigertab.obj core_build\win_32\release\obj\trdlocal.obj core_build\win_32\release\obj\ttmac.obj core_build\win_32\release\obj\twofish.obj core_build\win_32\release\obj\validat1.obj core_build\win_32\release\obj\validat2.obj core_build\win_32\release\obj\validat3.obj core_build\win_32\release\obj\vmac.obj core_build\win_32\release\obj\wait.obj core_build\win_32\release\obj\wake.obj core_build\win_32\release\obj\whrlpool.obj core_build\win_32\release\obj\winpipes.obj core_build\win_32\release\obj\xtr.obj core_build\win_32\release\obj\xtrcrypt.obj core_build\win_32\release\obj\zdeflate.obj core_build\win_32\release\obj\zinflate.obj core_build\win_32\release\obj\zlib.obj core_build\win_32\release\obj\cpu.obj
	cd ..\..\..\ASCOfficePPTXFile\PPTXLib\Linux\PPTXFormatLib\ && ( if not exist Makefile C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile D:\DocumentServer\core\ASCOfficePPTXFile\PPTXLib\Linux\PPTXFormatLib\PPTXFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile clean
	del core_build\win_32\release\obj\wrgif.obj core_build\win_32\release\obj\wrbmp.obj core_build\win_32\release\obj\transupp.obj core_build\win_32\release\obj\rdtarga.obj core_build\win_32\release\obj\rdswitch.obj core_build\win_32\release\obj\rdrle.obj core_build\win_32\release\obj\rdppm.obj core_build\win_32\release\obj\rdjpgcom.obj core_build\win_32\release\obj\rdgif.obj core_build\win_32\release\obj\rdcolmap.obj core_build\win_32\release\obj\rdbmp.obj core_build\win_32\release\obj\jutils.obj core_build\win_32\release\obj\jpegtran.obj core_build\win_32\release\obj\jquant1.obj core_build\win_32\release\obj\jquant2.obj core_build\win_32\release\obj\jdpostct.obj core_build\win_32\release\obj\jdsample.obj core_build\win_32\release\obj\jdtrans.obj core_build\win_32\release\obj\jerror.obj core_build\win_32\release\obj\jfdctflt.obj core_build\win_32\release\obj\jfdctfst.obj core_build\win_32\release\obj\jfdctint.obj core_build\win_32\release\obj\jidctflt.obj core_build\win_32\release\obj\jidctfst.obj core_build\win_32\release\obj\jidctint.obj core_build\win_32\release\obj\jmemmgr.obj core_build\win_32\release\obj\jmemnobs.obj core_build\win_32\release\obj\jaricom.obj core_build\win_32\release\obj\jcapimin.obj core_build\win_32\release\obj\jcapistd.obj core_build\win_32\release\obj\jcarith.obj core_build\win_32\release\obj\jccoefct.obj core_build\win_32\release\obj\jccolor.obj core_build\win_32\release\obj\jcdctmgr.obj core_build\win_32\release\obj\jchuff.obj core_build\win_32\release\obj\jcinit.obj core_build\win_32\release\obj\jcmainct.obj core_build\win_32\release\obj\jcmarker.obj core_build\win_32\release\obj\jcmaster.obj core_build\win_32\release\obj\jcomapi.obj core_build\win_32\release\obj\jcparam.obj core_build\win_32\release\obj\jcprepct.obj core_build\win_32\release\obj\jcsample.obj core_build\win_32\release\obj\jctrans.obj core_build\win_32\release\obj\jdapimin.obj core_build\win_32\release\obj\jdapistd.obj core_build\win_32\release\obj\jdarith.obj core_build\win_32\release\obj\jdatadst.obj
	del core_build\win_32\release\obj\jdatasrc.obj core_build\win_32\release\obj\jdcoefct.obj core_build\win_32\release\obj\jdcolor.obj core_build\win_32\release\obj\jddctmgr.obj core_build\win_32\release\obj\jdhuff.obj core_build\win_32\release\obj\jdinput.obj core_build\win_32\release\obj\jdmainct.obj core_build\win_32\release\obj\jdmarker.obj core_build\win_32\release\obj\jdmaster.obj core_build\win_32\release\obj\jdmerge.obj core_build\win_32\release\obj\cdjpeg.obj core_build\win_32\release\obj\cjpeg.obj core_build\win_32\release\obj\ckconfig.obj core_build\win_32\release\obj\djpeg.obj core_build\win_32\release\obj\libpsd_pri.obj core_build\win_32\release\obj\libpsd_pri2.obj core_build\win_32\release\obj\libpsd_pri3.obj core_build\win_32\release\obj\crc32.obj core_build\win_32\release\obj\adler32.obj core_build\win_32\release\obj\deflate.obj core_build\win_32\release\obj\inffast.obj core_build\win_32\release\obj\inflate.obj core_build\win_32\release\obj\inftrees.obj core_build\win_32\release\obj\trees.obj core_build\win_32\release\obj\zutil.obj core_build\win_32\release\obj\uncompr.obj core_build\win_32\release\obj\compress.obj core_build\win_32\release\obj\libmng_callback_xs.obj core_build\win_32\release\obj\libmng_chunk_descr.obj core_build\win_32\release\obj\libmng_chunk_io.obj core_build\win_32\release\obj\libmng_chunk_prc.obj core_build\win_32\release\obj\libmng_chunk_xs.obj core_build\win_32\release\obj\libmng_cms.obj core_build\win_32\release\obj\libmng_display.obj core_build\win_32\release\obj\libmng_dither.obj core_build\win_32\release\obj\libmng_error.obj core_build\win_32\release\obj\libmng_filter.obj core_build\win_32\release\obj\libmng_hlapi.obj core_build\win_32\release\obj\libmng_jpeg.obj core_build\win_32\release\obj\libmng_object_prc.obj core_build\win_32\release\obj\libmng_pixels.obj core_build\win_32\release\obj\libmng_prop_xs.obj core_build\win_32\release\obj\libmng_read.obj core_build\win_32\release\obj\libmng_trace.obj core_build\win_32\release\obj\libmng_write.obj
	cd ..\..\..\ASCOfficeDocxFile2\Linux\ && ( if not exist Makefile.ASCOfficeDocxFile2Lib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.ASCOfficeDocxFile2Lib D:\DocumentServer\core\ASCOfficeDocxFile2\Linux\ASCOfficeDocxFile2Lib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.ASCOfficeDocxFile2Lib clean
	del core_build\win_32\release\obj\libmng_zlib.obj core_build\win_32\release\obj\png.obj core_build\win_32\release\obj\pngerror.obj core_build\win_32\release\obj\pngget.obj core_build\win_32\release\obj\pngmem.obj core_build\win_32\release\obj\pngpread.obj core_build\win_32\release\obj\pngread.obj core_build\win_32\release\obj\pngrio.obj core_build\win_32\release\obj\pngrtran.obj core_build\win_32\release\obj\pngrutil.obj core_build\win_32\release\obj\pngset.obj core_build\win_32\release\obj\pngtrans.obj core_build\win_32\release\obj\pngwio.obj core_build\win_32\release\obj\pngwrite.obj core_build\win_32\release\obj\pngwtran.obj core_build\win_32\release\obj\pngwutil.obj core_build\win_32\release\obj\libdcr.obj core_build\win_32\release\obj\tif_stream.obj core_build\win_32\release\obj\tif_aux.obj core_build\win_32\release\obj\tif_close.obj core_build\win_32\release\obj\tif_codec.obj core_build\win_32\release\obj\tif_color.obj core_build\win_32\release\obj\tif_compress.obj core_build\win_32\release\obj\tif_dir.obj core_build\win_32\release\obj\tif_dirinfo.obj core_build\win_32\release\obj\tif_dirread.obj core_build\win_32\release\obj\tif_dirwrite.obj core_build\win_32\release\obj\tif_dumpmode.obj core_build\win_32\release\obj\tif_error.obj core_build\win_32\release\obj\tif_extension.obj core_build\win_32\release\obj\tif_fax3.obj core_build\win_32\release\obj\tif_fax3sm.obj core_build\win_32\release\obj\tif_flush.obj core_build\win_32\release\obj\tif_getimage.obj core_build\win_32\release\obj\tif_jbig.obj core_build\win_32\release\obj\tif_jpeg.obj core_build\win_32\release\obj\tif_luv.obj core_build\win_32\release\obj\tif_lzw.obj core_build\win_32\release\obj\tif_next.obj core_build\win_32\release\obj\tif_ojpeg.obj core_build\win_32\release\obj\tif_open.obj core_build\win_32\release\obj\tif_packbits.obj core_build\win_32\release\obj\tif_pixarlog.obj core_build\win_32\release\obj\tif_predict.obj core_build\win_32\release\obj\tif_print.obj core_build\win_32\release\obj\tif_read.obj
	del core_build\win_32\release\obj\pptxformatlib.obj core_build\win_32\release\obj\pptxformatlib_logic.obj core_build\win_32\release\obj\ASCOfficeDrawingConverter.obj core_build\win_32\release\obj\ASCOfficePPTXFileRealization.obj core_build\win_32\release\obj\BinaryFileReaderWriter.obj core_build\win_32\release\obj\FontPicker.obj core_build\win_32\release\obj\TextAttributesEx.obj core_build\win_32\release\obj\Elements.obj core_build\win_32\release\obj\ASCSVGWriter.obj core_build\win_32\release\obj\FileDownloader_win.obj
	del core_build\win_32\release\obj\tif_strip.obj core_build\win_32\release\obj\tif_swab.obj core_build\win_32\release\obj\tif_thunder.obj core_build\win_32\release\obj\tif_tile.obj core_build\win_32\release\obj\tif_unix.obj core_build\win_32\release\obj\tif_version.obj core_build\win_32\release\obj\tif_warning.obj core_build\win_32\release\obj\tif_write.obj core_build\win_32\release\obj\tif_zip.obj core_build\win_32\release\obj\tif_xfile.obj core_build\win_32\release\obj\ximabmp.obj core_build\win_32\release\obj\ximadsp.obj core_build\win_32\release\obj\ximaenc.obj core_build\win_32\release\obj\ximaexif.obj core_build\win_32\release\obj\ximage.obj core_build\win_32\release\obj\ximagif.obj core_build\win_32\release\obj\ximahist.obj core_build\win_32\release\obj\ximaico.obj core_build\win_32\release\obj\ximainfo.obj core_build\win_32\release\obj\ximaint.obj core_build\win_32\release\obj\ximajas.obj core_build\win_32\release\obj\ximajbg.obj core_build\win_32\release\obj\ximajpg.obj core_build\win_32\release\obj\ximalpha.obj core_build\win_32\release\obj\ximalyr.obj core_build\win_32\release\obj\ximamng.obj core_build\win_32\release\obj\ximapal.obj core_build\win_32\release\obj\ximapcx.obj core_build\win_32\release\obj\ximapng.obj core_build\win_32\release\obj\ximapsd.obj core_build\win_32\release\obj\ximaraw.obj core_build\win_32\release\obj\ximasel.obj core_build\win_32\release\obj\ximaska.obj core_build\win_32\release\obj\ximatga.obj core_build\win_32\release\obj\ximath.obj core_build\win_32\release\obj\ximatif.obj core_build\win_32\release\obj\ximatran.obj core_build\win_32\release\obj\ximawbmp.obj core_build\win_32\release\obj\ximawmf.obj core_build\win_32\release\obj\ximawnd.obj core_build\win_32\release\obj\xmemfile.obj core_build\win_32\release\obj\jbig2arith.obj core_build\win_32\release\obj\jbig2enc.obj core_build\win_32\release\obj\jbig2sym.obj core_build\win_32\release\obj\lepton_lib_all.obj core_build\win_32\release\obj\boxbasic.obj core_build\win_32\release\obj\ccbord.obj
	del core_build\win_32\release\obj\DocxSerializer.obj core_build\win_32\release\obj\FontProcessor.obj core_build\win_32\release\obj\XlsxSerializer.obj core_build\win_32\release\obj\ChartWriter.obj core_build\win_32\release\obj\BinWriters.obj core_build\win_32\release\obj\Common.obj core_build\win_32\release\obj\ChartFromToBinary.obj core_build\win_32\release\obj\CommonWriter.obj core_build\win_32\release\obj\CSVReader.obj core_build\win_32\release\obj\CSVWriter.obj core_build\win_32\release\obj\ECMACryptFile.obj core_build\win_32\release\obj\CryptTransform.obj core_build\win_32\release\obj\Readers.obj
	cd ..\..\..\ASCOfficeTxtFile\TxtXmlFormatLib\Linux\ && ( if not exist Makefile.TxtXmlFormatLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.TxtXmlFormatLib D:\DocumentServer\core\ASCOfficeTxtFile\TxtXmlFormatLib\Linux\TxtXmlFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.TxtXmlFormatLib clean
	del core_build\win_32\release\obj\Encoding.obj core_build\win_32\release\obj\ToString.obj core_build\win_32\release\obj\File.obj core_build\win_32\release\obj\TxtFile.obj core_build\win_32\release\obj\TxtXmlFile.obj core_build\win_32\release\obj\ConvertDocx2Txt.obj core_build\win_32\release\obj\ConvertTxt2Docx.obj
	del core_build\win_32\release\obj\dwacomb.2.obj core_build\win_32\release\obj\dwacomblow.2.obj core_build\win_32\release\obj\fhmtgen.1.obj core_build\win_32\release\obj\fliphmtgen.obj core_build\win_32\release\obj\fmorphauto.obj core_build\win_32\release\obj\fmorphgen.1.obj core_build\win_32\release\obj\numabasic.obj core_build\win_32\release\obj\pix5.obj core_build\win_32\release\obj\pixabasic.obj core_build\win_32\release\obj\pixafunc1.obj core_build\win_32\release\obj\pixcomp.obj core_build\win_32\release\obj\ptabasic.obj core_build\win_32\release\obj\ptra.obj core_build\win_32\release\obj\ropiplow.obj core_build\win_32\release\obj\roplow.obj core_build\win_32\release\obj\rotateam.obj core_build\win_32\release\obj\rotateshear.obj core_build\win_32\release\obj\sarray.obj core_build\win_32\release\obj\sel1.obj core_build\win_32\release\obj\sel2.obj core_build\win_32\release\obj\skew.obj
	cd ..\..\..\ASCOfficeRtfFile\RtfFormatLib\Linux\ && ( if not exist Makefile.RtfFormatLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.RtfFormatLib D:\DocumentServer\core\ASCOfficeRtfFile\RtfFormatLib\Linux\RtfFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.RtfFormatLib clean
	cd ..\..\..\ASCOfficePPTFile\PPTFormatLib\Linux\ && ( if not exist Makefile.PPTFormatLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.PPTFormatLib D:\DocumentServer\core\ASCOfficePPTFile\PPTFormatLib\Linux\PPTFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.PPTFormatLib clean
	cd ..\..\..\ASCOfficeDocFile\DocFormatLib\Linux\ && ( if not exist Makefile.DocFormatLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.DocFormatLib D:\DocumentServer\core\ASCOfficeDocFile\DocFormatLib\Linux\DocFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.DocFormatLib clean
	del core_build\win_32\release\obj\rtfformatlib_source.obj core_build\win_32\release\obj\DestinationCommand.obj core_build\win_32\release\obj\ConvertationManager.obj
	del core_build\win_32\release\obj\pptformatlib_logic.obj core_build\win_32\release\obj\PPTFormatLib.obj core_build\win_32\release\obj\Elements.obj core_build\win_32\release\obj\TextAttributesEx.obj core_build\win_32\release\obj\pole.obj core_build\win_32\release\obj\FileDownloader_win.obj
找不到 D:\DocumentServer\core\ASCOfficePPTFile\PPTFormatLib\Linux\core_build\win_32\release\obj\pptformatlib_logic.obj
	del core_build\win_32\release\obj\DocFormatLib.obj core_build\win_32\release\obj\pole.obj core_build\win_32\release\obj\EncryptionHeader.obj core_build\win_32\release\obj\DrawingPrimitives.obj core_build\win_32\release\obj\Spa.obj core_build\win_32\release\obj\OleObject.obj core_build\win_32\release\obj\docformatlib_converter.obj
	cd ..\..\..\ASCOfficeOdfFile\linux\ && ( if not exist Makefile.OdfFileReaderLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.OdfFileReaderLib D:\DocumentServer\core\ASCOfficeOdfFile\linux\OdfFileReaderLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.OdfFileReaderLib clean
找不到 D:\DocumentServer\core\ASCOfficeDocFile\DocFormatLib\Linux\core_build\win_32\release\obj\DocFormatLib.obj
	cd ..\..\..\ASCOfficeOdfFileW\linux\ && ( if not exist Makefile.OdfFileWriterLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.OdfFileWriterLib D:\DocumentServer\core\ASCOfficeOdfFileW\linux\OdfFileWriterLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.OdfFileWriterLib clean
	cd ..\..\..\ASCOfficeXlsFile2\source\linux\ && ( if not exist Makefile.XlsFormatLib C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.XlsFormatLib D:\DocumentServer\core\ASCOfficeXlsFile2\source\linux\XlsFormatLib.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.XlsFormatLib clean
	del core_build\win_32\release\obj\odffilereaderlib_odf_datatypes.obj core_build\win_32\release\obj\odffilereaderlib_odf.obj core_build\win_32\release\obj\odffilereaderlib_oox.obj core_build\win_32\release\obj\formulasconvert_oox.obj core_build\win_32\release\obj\formulasconvert_odf.obj core_build\win_32\release\obj\conversionelement.obj core_build\win_32\release\obj\attributes.obj core_build\win_32\release\obj\sax.obj core_build\win_32\release\obj\sax_xmllite.obj core_build\win_32\release\obj\utils.obj core_build\win_32\release\obj\xmlchar.obj core_build\win_32\release\obj\CPColorUtils.obj core_build\win_32\release\obj\CPString.obj core_build\win_32\release\obj\readdocelement.obj core_build\win_32\release\obj\ConvertOO2OOX.obj
找不到 D:\DocumentServer\core\ASCOfficeOdfFile\linux\core_build\win_32\release\obj\odffilereaderlib_odf_datatypes.obj
	cd ..\..\..\DesktopEditor\xml\build\qt\ && ( if not exist Makefile.libxml2 C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.libxml2 D:\DocumentServer\core\DesktopEditor\xml\build\qt\libxml2.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.libxml2 clean
	del core_build\win_32\release\obj\libxml2_all.obj core_build\win_32\release\obj\libxml2_all2.obj core_build\win_32\release\obj\xmllight.obj core_build\win_32\release\obj\xmldom.obj
	del core_build\win_32\release\obj\odffilewriterlib_odf.obj core_build\win_32\release\obj\Converter.obj core_build\win_32\release\obj\ConverterChart.obj core_build\win_32\release\obj\ConvertVml.obj core_build\win_32\release\obj\DocxConverter.obj core_build\win_32\release\obj\XlsxConverter.obj core_build\win_32\release\obj\ConvertDrawing.obj core_build\win_32\release\obj\PptxConverter.obj
找不到 D:\DocumentServer\core\ASCOfficeOdfFileW\linux\core_build\win_32\release\obj\odffilewriterlib_odf.obj
	del core_build\win_32\release\obj\xlsformatlib_logic.obj core_build\win_32\release\obj\HelpFunc.obj core_build\win_32\release\obj\CFRecord.obj core_build\win_32\release\obj\CFRecordType.obj core_build\win_32\release\obj\CFStream.obj core_build\win_32\release\obj\CFStreamCacheReader.obj core_build\win_32\release\obj\CFStreamCacheWriter.obj core_build\win_32\release\obj\CompoundFile.obj core_build\win_32\release\obj\cipher.obj core_build\win_32\release\obj\digest.obj core_build\win_32\release\obj\BiffDecoder_RCF.obj core_build\win_32\release\obj\BinaryCodec_RCF.obj core_build\win_32\release\obj\Decryptor.obj core_build\win_32\release\obj\RC4Crypt.obj core_build\win_32\release\obj\Log.obj core_build\win_32\release\obj\Logger.obj core_build\win_32\release\obj\utils.obj core_build\win_32\release\obj\FormulaShape.obj core_build\win_32\release\obj\CustomShape.obj core_build\win_32\release\obj\BaseShape_1.obj core_build\win_32\release\obj\ConvertXls2Xlsx.obj core_build\win_32\release\obj\external_items.obj core_build\win_32\release\obj\mediaitems_utils.obj core_build\win_32\release\obj\namespaces.obj core_build\win_32\release\obj\oox_content_type.obj core_build\win_32\release\obj\oox_package.obj core_build\win_32\release\obj\oox_rels.obj core_build\win_32\release\obj\XlsConverter.obj core_build\win_32\release\obj\xlsx_conversion_context.obj core_build\win_32\release\obj\xlsx_drawing_context.obj core_build\win_32\release\obj\xlsx_drawings.obj core_build\win_32\release\obj\xlsx_hyperlinks.obj core_build\win_32\release\obj\xlsx_output_xml.obj core_build\win_32\release\obj\xlsx_package.obj core_build\win_32\release\obj\xlsx_protection.obj core_build\win_32\release\obj\xlsx_tablecontext.obj core_build\win_32\release\obj\xlsx_textcontext.obj core_build\win_32\release\obj\xlsx_chart_context.obj core_build\win_32\release\obj\xlsx_pivots_context.obj core_build\win_32\release\obj\xlsx_comments.obj core_build\win_32\release\obj\xlsx_comments_context.obj
找不到 D:\DocumentServer\core\ASCOfficeXlsFile2\source\linux\core_build\win_32\release\obj\xlsformatlib_logic.obj
	( if not exist Makefile.X2tConverter C:\Qt\Qt5.8.0\5.8\msvc2013\bin\qmake.exe -o Makefile.X2tConverter D:\DocumentServer\core\X2tConverter\build\Qt\X2tConverter.pro -spec win32-msvc2013 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.X2tConverter clean
	del ..\Qt\core_build\win_32\release\obj\cextracttools.obj ..\Qt\core_build\win_32\release\obj\OfficeFileFormatChecker2.obj ..\Qt\core_build\win_32\release\obj\ASCConverters.obj ..\Qt\core_build\win_32\release\obj\xmllight.obj ..\Qt\core_build\win_32\release\obj\xmldom.obj ..\Qt\core_build\win_32\release\obj\main.obj
找不到 D:\DocumentServer\core\X2tConverter\build\Qt\core_build\win_32\release\obj\cextracttools.obj
	del ..\..\..\build\bin\win_32\x2t2.exp
找不到 D:\DocumentServer\core\build\bin\win_32\x2t2.exp
	del D:\DocumentServer\core\X2tConverter\build\Qt\core_build\win_32\release\obj\x2t_resource.res
找不到 D:\DocumentServer\core\X2tConverter\build\Qt\core_build\win_32\release\obj\x2t_resource.res
15:40:10: 进程"C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe"正常退出。
15:40:10: 配置没有改变, 跳过 qmake 步骤。
15:40:10: 正在启动 "C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe" 
................

d:\documentserver\core\desktopeditor\agg-2.4\include\agg_rendering_buffer.h(81) : warning C4100: 'len' : unreferenced formal parameter
        d:\documentserver\core\desktopeditor\agg-2.4\include\agg_rendering_buffer.h(82) : while compiling class template member function 'agg::int8u *agg::row_accessor<agg::int8u>::row_ptr(int,int,unsigned int)'
        d:\documentserver\core\desktopeditor\agg-2.4\include\agg_rendering_buffer.h(122) : see reference to function template instantiation 'agg::int8u *agg::row_accessor<agg::int8u>::row_ptr(int,int,unsigned int)' being compiled
        ..\..\..\DesktopEditor\agg-2.4\include\platform/agg_platform_support.h(654) : see reference to class template instantiation 'agg::row_accessor<agg::int8u>' being compiled
d:\documentserver\core\desktopeditor\agg-2.4\include\agg_rendering_buffer.h(81) : warning C4100: 'x' : unreferenced formal parameter
	link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /INCREMENTAL:NO /SUBSYSTEM:CONSOLE,5.01 "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERSION:2.4 /MANIFEST:embed /OUT:..\..\..\build\bin\win_32\x2t.exe @C:\Users\BO6A9E~1.WAN\AppData\Local\Temp\x2t.exe.212.11203.jom
   Creating library ..\..\..\build\bin\win_32\x2t.lib and object ..\..\..\build\bin\win_32\x2t.exp
17:24:01: 进程"C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe"正常退出。
17:24:01: Elapsed time: 1:43:53.

vs编译

以下直接编译报错,用vsdio打开然后菜单选择build-rebuild

core\Common\3dParty\v8\v8\third_party\icu\icu.sln
core\Common\3dParty\v8\v8\tools\gyp\v8.sln

编译

nmake /f Makefile release=1  

Visual Studio各个版本对应关系

名字	版本号	简称	全称
msvc70	VC7.0	VS2002	Microsoft Visual Studio 2002
msvc71	VC7.1	VS2003	Microsoft Visual Studio 2003
msvc80	VC8.0	VS2005	Microsoft Visual Studio 2005
msvc90	VC9.0	VS2008	Microsoft Visual Studio 2008
	VC10.0	VS2010	Microsoft Visual Studio 2010
	VC11.0	VS2012	Microsoft Visual Studio 2012
	VC12.0	VS2013	Microsoft Visual Studio 2013
	VC13.0	VS2014	Microsoft Visual Studio 2014
	VC14.0	VS2015	Microsoft Visual Studio 2015
Microsoft .NET Framework: version 3.5;
Internet Information Services: version 7 or later;
MySQL Server: version 5.1 or later;
Node.js: version 0.10.x (32-bit version);
Python: version 2.7;
Microsoft Visual Studio C++ 2010 Express;
Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update (32-bit version);
Web Browser: Microsoft Internet Explorer 9 or later, latest versions of Mozilla Firefox, Opera, Safari, Google Chrome.
	 	 	 

必须安装 VC12.0 VS2013,2017是不行的,编译时需要使用相关exe 例如[3]

cd D:\workspace\source\onlyoffice\DocumentServer

[4]

  • 需要连接google,开启vpn 必须使用Developer Command Prompt for VS2013 执行
D:\workspace\source\onlyoffice\DocumentServer\core\Common\3dParty\fetch.bat
D:\workspace\source\onlyoffice\DocumentServer\core\Common\3dParty\make.bat