[llvm-dev] Include all the things

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 9 10:36:34 PST 2015


Can you apply the following patch:

d:\src\llvm>git diff
diff --git a/lib/DebugInfo/PDB/CMakeLists.txt
b/lib/DebugInfo/PDB/CMakeLists.txt
index 1645a95..7a5913c 100644
--- a/lib/DebugInfo/PDB/CMakeLists.txt
+++ b/lib/DebugInfo/PDB/CMakeLists.txt
@@ -4,6 +4,7 @@ macro(add_pdb_impl_folder group)
 endmacro()

 if(HAVE_DIA_SDK)
+  message("DIA SDK Dir = ${MSVC_DIA_SDK_DIR}")
   include_directories(${MSVC_DIA_SDK_DIR}/include)
   set(LIBPDB_LINK_FOLDERS "${MSVC_DIA_SDK_DIR}\\lib")
   if (CMAKE_SIZEOF_VOID_P EQUAL 8)

then regenerate your CMake.  Whatever directory prints out, browse to it in
explorer and you should see include/cvconst.h.  Is it possible you have a
corrupt installation or something?

On Wed, Dec 9, 2015 at 10:31 AM Russell Wallace <russell.wallace at gmail.com>
wrote:

> On Wed, Dec 9, 2015 at 5:58 PM, Zachary Turner <zturner at google.com> wrote:
>
>>
>> I'm not sure how the source tarball works, but did you run CMake yourself
>> or does the source tarball come with pre-generated CMake build files?  It's
>> only supposed to compile the DIA stuff if it finds DIA is installed on your
>> machine at CMake gen time.
>>
>
> I ran CMake myself.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151209/6ce3012b/attachment.html>


More information about the llvm-dev mailing list