+
 新版

可以帮忙告诉一下这个C++怎么编译成exe执行文件吗,需要下载什么软件?

lercent 发布于 2019/12/12 21:27
阅读 1K+
收藏 0

就是这个master分支的内容:https://gitee.com/mirrors/wkhtmltopdf

加载中
1
l
lkhlkjlj

看github官网。

Requirements

The software requirements on the build machine are:

  • git and p7zip
  • python and PyYAML
  • docker >= 17.05 (for linux targets)
    • build-time args in FROM were introduced in this version
  • Linux kernel >= 4.8 (for linux targets -- foreign archs only)
    • for seamless foreign arch emulation via qemu-user-static
  • vagrant with virtualbox (for non-linux targets)

On Ubuntu 18.04, this can be installed via a single command:

sudo apt install -y python-yaml docker.io vagrant virtualbox p7zip-full

Build System

Just call ./build or python build from the top-level folder, you will see all available commands. The build.yml file contains the configuration for all targets -- it includes documentation on the syntax to use.

The source folder which contains wkhtmltopdf (along with Qt) is always required as an argument; the version number is automatically generated based on the latest commit in git. In case you are rebuilding a tagged release, you can optionally specify an --iteration which is included in the filename, so that different filenames are generated if packaging scripts are different.

Before a release build, it is recommended to run docker system prune -af to ensure that the latest images are pulled.

0
lercent
lercent

现成的版本比较老了,有些bug没有修复,最新的提交已经修复了,所有需要自己编译最新的。

0
l
lkhlkjlj

给我点个赞   鼓励我一下

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部