AVUpate编译

来源:互联网 发布:黄金软件 编辑:程序博客网 时间:2024/05/29 16:09

The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
Check for working C compiler using: Visual Studio 12 2013 Win64
Check for working C compiler using: Visual Studio 12 2013 Win64 – works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013 Win64
Check for working CXX compiler using: Visual Studio 12 2013 Win64 – works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Boost version: 1.59.0
Boost version: 1.59.0
CMake Error at cmake/FindWTL.cmake:14 (message):
cannot find WTL, Please install WTL 8.1 and set WTL_ROOT to the WTL include
path
Call Stack (most recent call first):
Updater/CMakeLists.txt:7 (find_package)

Boost version: 1.59.0
Found the following Boost libraries:
system
thread
date_time
filesystem
chrono
locale
regex
CMake Error at cmake/FindWTL.cmake:14 (message):
cannot find WTL, Please install WTL 8.1 and set WTL_ROOT to the WTL include
path
Call Stack (most recent call first):
UpdateTool/CMakeLists.txt:9 (find_package)

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.4)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run “cmake –help-policy CMP0000”.
This warning is for project developers. Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
See also “Z:/net/client/ref/update/avupdate/build/CMakeFiles/CMakeOutput.log”.
See also “Z:/net/client/ref/update/avupdate/build/CMakeFiles/CMakeError.log”.

手动下载WTL,setup.js完成安装到vs2013,复制WTL的include目录到某个目录,我是

C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/WTL/Include,重新cmake-gui的generate:

Boost version: 1.59.0

Boost version: 1.59.0

found wtl at C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/WTL/Include 找到了。

Boost version: 1.59.0

Found the following Boost libraries:

system

thread

date_time

filesystem

chrono

locale

regex

found wtl at C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/WTL/Include 找到了。

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.4)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run “cmake –help-policy CMP0000”.
This warning is for project developers. Use -Wno-dev to suppress it.

Configuring done

Generating done