On 18/08/2018 04:00, UZRNW SDRXG wrote:
> Whoops, here are the compiler logs! Can't seem to figure out how to edit
> my last post.
> 
> 1>------ Rebuild All started: Project: add-test-lib, Configuration:
> Release x64 ------
> 1>EXEC : error : static library tests need 'mpirxx.lib'
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: The command "cd ..\..\..\build.vc <http://build.vc> 
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: check_config x64 Release 15
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: :VCEnd" exited with code -1.
> 1>Done building project "add-test-lib.vcxproj" -- FAILED.
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
> 
> 1>------ Rebuild All started: Project: mpz.addsub, Configuration:
> Release x64 ------
> 1>EXEC : error : static library tests need 'mpirxx.lib'
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: The command "cd ..\..\..\build.vc <http://build.vc> 
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: check_config x64 Release 15
> 1>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(123,5):
> error MSB3073: :VCEnd" exited with code -1.
> 1>Done building project "mpz.addsub.vcxproj" -- FAILED.
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

In order to test the MPIR static library builds you have to build both
mpir.lib (the C library) and mpirxx.lib (the C++ library).  As far as I
can tell these failures are being generated because the mpirxx.lib
project has not been built.

The problem with the missing Microsoft library (LIBCMT.LIB) is likely to
be caused by the use of a different Windows SDK to that set in the
default, which is currently 10.0.16299.0 (Windows 10 Creators Update).

If you know the Windows SDK you want to use, you can set this when you
run mpir_config.py.  An alternative is to edit this line:

   'windows_sdk':'10.0.16299.0'      # Windows 10 Creators Update

in the version_info.py file is the VS17 sub-directory (before you load
Visual Studio).  The SDKs for the various windows 10 updates are:

Windows 10:                  10.0.14393.795
Windows 10 Creators Update   10.0.16299.0
Windows 10 latest (I think!) 10.0.17134.0

     Brian

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to