Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

warning #31001: The dll for reading and writing the pdb could not be found on your path

$
0
0

Reference number: DPD200572993
Product versions:
    Intel® C++ Composer XE 2015 for Windows* Update 3 and 4
OS affected:
    Windows OS with Visual Studio 2013*

Problem description:

This issue is seen when building Intel-64 program from command line using Intel C++ compiler 15.0 update 3 or 4 with "/Zi" debug option. The warning "warning #31001: The dll for reading and writing the pdb (for example, mspdb110.dll) could  not be found on your path" is emitted by the Intel C++ compiler. i.e.

    C:\test>icl /Zi t.cpp
    Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.4.221 Build 20150407

    Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.
    t.cpp
    warning #31001: The dll for reading and writing the pdb (for example, mspdb110.dll) could  not be found on your path. This is usually a configuration error. Compilation will continue using /Z7 instead of /Zi, but expect a similar error when you link your program.

Solution:

This issue is known, and we are working on the fix for next product update. When the fix is available, this article will be updated with the information.

Please use the workaround below for now:

  1. Open file "C:\Program Files (x86)\Intel\Composer XE 2015\bin\compilervars_arch.bat" with notepad or any editing tool
  2. Go to "::VS2013" line and comment out the line in bold below:
    ::VS2013
    if /i "%TARGET_VS%"=="vs2013" (
        if defined VS120COMNTOOLS (
            if exist "%VS120COMNTOOLS%..\IDE\devenv.exe" (
                if exist "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" (
                    set MSVS_VAR_SCRIPT="%VS120COMNTOOLS%..\..\VC\vcvarsall.bat"if /i "%TARGET_ARCH%"=="intel64" set TARGET_VS_ARCH=x86_amd64
                    goto Calls
                )
            )
  3. Save
  4. Reopen a new build environment window from [start] menu and build program

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>