Zeroc Ice 3.6.1 Generate vs2015 C + + repository and related configurations

Source: Internet
Author: User

Background:

The latest ice version of the current release is 3.6.0, using the vs2013 compiled, vs2015 version is being developed, release is only a matter of time;

But the official force, GitHub source code has supported vs2015 compiled. Source version is 3.6.1

Development environment:

64-bit Win7 Ultimate + vs2015 Enterprise Edition

Topic: 1, compiling and installing ice

Download the ice3.6.1 source from GitHub and follow the HTTPS://GITHUB.COM/ZEROC-ICE/ICE/BLOB/MASTER/CPP/BUILDINSTRUCTIONSWINDOWS.MD instructions to compile and install it.

Description

1) do not manually download or install a third-party dependent library. The authorities have already integrated the third-party dependency library into makefile, using NuGet to download the library files directly.

2) By default compile to debug version, modify Cpp\config\make.rules.mak file OPTIMIZE = yes (uncomment), compile to release version.

3) Default installation directory is C:\Ice-3.6.1

4) Errors and solutions in compiling:

Error 1: An error occurred while downloading a third-party dependent library: Unable to connect to the remote server.

Workaround: Make sure that the network is normal, and then try a few more times. Of the four third-party libraries, I've probably tried 5 or 6 times to download them all.

Error 2: An error LNK2038 occurred after DEBUG and release version compilation switch: "_iterator_debug_level" mismatch detected

Workaround: Execute nmake/f makefile.mak clean to clear the generated file before compiling.

2. Install Ice Builder

Download Https://visualstudiogallery.msdn.microsoft.com/1a64e701-63f2-4740-8004-290e6c682ce0 and install from official

3, Configuration vs2015

1) vs2015 interface--tools--options--Projects and Solutions--ice Builder, set ice home directory to C:\Ice-3.6.1

2) After installing Ice Builder, the value of the ICELIB macro defaults to C:\Ice-3.6.1\lib\vc140, and the path we previously installed by default is C:\Ice-3.6.1\lib without the vc140 directory. So create a new vc140 directory and copy the Lib file in the past.

Zeroc Ice 3.6.1 Generate vs2015 C + + repository and related configurations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.