<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thanks,</p>
    <p>I can rebuild... but then why do they provide a pre-build package
      ?</p>
    <p>And anyway, I should continue to have the same cmake issue, right
      ?<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 23/02/2018 17:30, Philip Pfaffe
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHe691H9BfCBvmqga3C8BKkusGG8UHPfNp9XgaP4_sz8BiD7Hg@mail.gmail.com">
      <div dir="ltr">Hi Christophe,<br>
        <div><br>
        </div>
        <div>please keep this discussion on the list (re-added), so
          others can correct me if I'm wrong or am giving bad advice.</div>
        <div><br>
        </div>
        <div>If there is no dev package included or available for
          windows, then this means that you need to build LLVM yourself,
          I"m afraid.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Philip</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2018-02-23 16:37 GMT+01:00 Christophe
          Demez <span dir="ltr"><<a
              href="mailto:christophe.demez@luciad.com" target="_blank"
              moz-do-not-send="true">christophe.demez@luciad.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>Thanks a lot Philip,</p>
              <p>I downloaded theses :</p>
              <p><a class="m_708902464918877146moz-txt-link-freetext"
                  href="http://releases.llvm.org/5.0.1/llvm-5.0.1.src.tar.xz"
                  target="_blank" moz-do-not-send="true">http://releases.llvm.org/5.0.<wbr>1/llvm-5.0.1.src.tar.xz</a><br>
                <a class="m_708902464918877146moz-txt-link-freetext"
                  href="http://releases.llvm.org/5.0.1/LLVM-5.0.1-win64.exe"
                  target="_blank" moz-do-not-send="true">http://releases.llvm.org/5.0.<wbr>1/LLVM-5.0.1-win64.exe</a></p>
              <p>And uncrompress everything in the same folder :
                C:/Luciad_src/libs/LLVM</p>
              <p>Is it wrong way to do ?</p>
              <p>Because the LLVM-5.0.1-win64.exe does not contains any
                cmake file or even any .h file etc !</p>
              <p>Thanks<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div class="m_708902464918877146moz-cite-prefix">On
                    23/02/2018 16:05, Philip Pfaffe wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi Christophe,
                      <div><br>
                      </div>
                      <div>I didn't fully get your setup.
                        Is C:/Luciad_src/libs/LLVM where you unpacked
                        the sources? Or is that a build or install tree?
                        If it is the former, and your errors suggest
                        that it is, then that's not how this works!</div>
                      <div><br>
                      </div>
                      <div>You need to point CMake to a built version of
                        LLVM.</div>
                      <div><br>
                      </div>
                      <div>Now, I'm not familiar with the windows
                        packaging, so I can't tell you whether the
                        binaries you downloaded already contained what
                        you need. Someone who's more familiar with the
                        windows environment should chime in here. On
                        Linux at least there are dev packages available
                        for this purpose, so it's possible the windows
                        distribution contains something like that.</div>
                      <div><br>
                      </div>
                      <div>Cheers,</div>
                      <div>Philip</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2018-02-23 15:44
                        GMT+01:00 Christophe Demez via llvm-dev <span
                          dir="ltr"><<a
                            href="mailto:llvm-dev@lists.llvm.org"
                            target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <p>Hi everybody,   <br>
                              <br>
                              I'm trying to build my own project that
                              use LLVM. I downloaded the source code and
                              the pre-compiled package on the official
                              web site (last version):<br>
                              <br>
                                  <a
                                class="m_708902464918877146m_-1600653212598549570moz-txt-link-freetext"
href="http://releases.llvm.org/download.html" target="_blank"
                                moz-do-not-send="true">http://releases.llvm.org/downl<wbr>oad.html</a><br>
                              <br>
                              I downloaded the following :<br>
                              <br>
                                  LLVM source code<br>
                                  Clang for Windows (64-bit)<br>
                              <br>
                              FYI, I don't build LLVM... only want to
                              use it !<br>
                              <br>
                              I followed the instruction here ( <a
                                class="m_708902464918877146m_-1600653212598549570moz-txt-link-freetext"
href="http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project"
                                target="_blank" moz-do-not-send="true">http://llvm.org/docs/CMake.htm<wbr>l#embedding-llvm-in-your-proje<wbr>ct</a>
                              ), in the section : "Embedding LLVM in
                              your project".<br>
                              <br>
                              So, I added this code into my cmake file :<br>
                              <br>
                                find_package(LLVM REQUIRED CONFIG)<br>
                                message(STATUS "Found LLVM
                              ${LLVM_PACKAGE_VERSION}")<br>
                                message(STATUS "Using LLVMConfig.cmake
                              in: ${LLVM_DIR}")<br>
                                message("LLVM_INCLUDE_DIRS=${L<wbr>LVM_INCLUDE_DIRS}")<br>
                                message("LLVM_DEFINITIONS=${LL<wbr>VM_DEFINITIONS}")<br>
                              <br>
                              But I got several cmake error messages,
                              here is my output :<br>
                              <br>
                                  -- Using LLVMConfig.cmake in:
                              C:\\Luciad_src\\libs\\LLVM\\cm<wbr>ake\\modules<br>
                                  LLVM_INCLUDE_DIRS=<br>
                                  LLVM_DEFINITIONS=<br>
                                  CMake Error at
                              C:/Luciad_src/libs/LLVM/cmake/<wbr>modules/LLVM-Config.cmake:31
                              (list):<br>
                                    list sub-command REMOVE_ITEM
                              requires two or more arguments.<br>
                                  Call Stack (most recent call first):<br>
                                    C:/Luciad_src/libs/LLVM/cmake/<wbr>modules/LLVM-Config.cmake:256
                              (is_llvm_target_library)<br>
                                    components/query/CMakeLists.tx<wbr>t:15
                              (llvm_map_components_to_libnam<wbr>es)<br>
                              <br>
                              Is there a problem with my script, or the
                              packages I use ? Any idea ?<br>
                              <br>
                              Thanks for your help<span
                                class="m_708902464918877146HOEnZb"><font
                                  color="#888888"><br>
                                </font></span></p>
                            <span class="m_708902464918877146HOEnZb"><font
                                color="#888888">
                                <div
                                  class="m_708902464918877146m_-1600653212598549570moz-signature">--
                                  <br>
                                  <span
                                    class="m_708902464918877146m_-1600653212598549570name"
style="font-family:Arial,Helvetica,sans-serif;font-size:10pt;color:#6b7d82;text-transform:uppercase"><strong>
                                      Christophe Demez </strong></span><br>
                                  <span
                                    class="m_708902464918877146m_-1600653212598549570title"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;color:#6b7d82;text-transform:uppercase">
                                    PROJECT LEADER </span> <span
                                    class="m_708902464918877146m_-1600653212598549570half-line"
                                    style="line-height:2px">  <br>
                                    <br>
                                  </span> <span
                                    class="m_708902464918877146m_-1600653212598549570links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt"><a
                                      href="http://www.luciad.com/"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:10pt;font-weight:400;text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true"><strong>LUCIAD</strong></a></span><span
class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">
                                     CONNECT  <span
                                      class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•
                                       VISUALIZE  <span
                                        class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•</span>
                                       ANALYZE  <span
                                        class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•</span>
                                       ACT</span></span> <span
                                    class="m_708902464918877146m_-1600653212598549570half-line"
                                    style="line-height:2px">  <br>
                                    <br>
                                  </span> <span
                                    class="m_708902464918877146m_-1600653212598549570links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400">
                                    <a
                                      href="mailto:christophe.demez@luciad.com"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true">
                                      christophe.demez@luciad.com </a> </span>
                                  <span
                                    class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•
                                  </span><span
                                    class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82"> T
                                  </span><span
                                    class="m_708902464918877146m_-1600653212598549570number"
                                    style="font-family:Tahoma,Arial
                                    sans-serif;font-size:9pt;font-weight:200;color:#6b7d82">
                                    <a
                                      href="tel:+32%2016%2023%2095%2091"
                                      value="+3216239591"
                                      target="_blank"
                                      moz-do-not-send="true">+32 16 23
                                      95 91</a> </span><br>
                                  <span
                                    class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">Follow
                                    us on </span><span
                                    class="m_708902464918877146m_-1600653212598549570links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400"><a
href="https://www.linkedin.com/company/luciad"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true">LinkedIn</a></span><span
class="m_708902464918877146m_-1600653212598549570normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">
                                    or </span><span
                                    class="m_708902464918877146m_-1600653212598549570links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400"><a
href="http://www.twitter.com/LUCIADconnect"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                                      target="_blank"
                                      moz-do-not-send="true">@LUCIADconnect</a></span>
                                  <span
                                    class="m_708902464918877146m_-1600653212598549570half-line"
                                    style="line-height:2px">   <br>
                                    <br>
                                  </span> <img alt="Luciad"
                                    moz-do-not-send="true"> </div>
                              </font></span></div>
                          <br>
                          ______________________________<wbr>_________________<br>
                          LLVM Developers mailing list<br>
                          <a href="mailto:llvm-dev@lists.llvm.org"
                            target="_blank" moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
                          <a
                            href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <div class="m_708902464918877146moz-signature">-- <br>
                    <span class="m_708902464918877146name"
style="font-family:Arial,Helvetica,sans-serif;font-size:10pt;color:#6b7d82;text-transform:uppercase"><strong>
                        Christophe Demez </strong></span><br>
                    <span class="m_708902464918877146title"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;color:#6b7d82;text-transform:uppercase">
                      PROJECT LEADER </span> <span
                      class="m_708902464918877146half-line"
                      style="line-height:2px">  <br>
                      <br>
                    </span> <span class="m_708902464918877146links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt"><a
                        href="http://www.luciad.com/"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:10pt;font-weight:400;text-decoration:none"
                        target="_blank" moz-do-not-send="true"><strong>LUCIAD</strong></a></span><span
                      class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">
                       CONNECT  <span
                        class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•
                         VISUALIZE  <span
                          class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•</span>
                         ANALYZE  <span
                          class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•</span>
                         ACT</span></span> <span
                      class="m_708902464918877146half-line"
                      style="line-height:2px">  <br>
                      <br>
                    </span> <span class="m_708902464918877146links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400">
                      <a href="mailto:christophe.demez@luciad.com"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                        target="_blank" moz-do-not-send="true">
                        christophe.demez@luciad.com </a> </span> <span
                      class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">•
                    </span><span class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82"> T
                    </span><span class="m_708902464918877146number"
                      style="font-family:Tahoma,Arial
                      sans-serif;font-size:9pt;font-weight:200;color:#6b7d82">
                      <a href="tel:+32%2016%2023%2095%2091"
                        value="+3216239591" target="_blank"
                        moz-do-not-send="true">+32 16 23 95 91</a> </span><br>
                    <span class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">Follow
                      us on </span><span
                      class="m_708902464918877146links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400"><a
                        href="https://www.linkedin.com/company/luciad"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                        target="_blank" moz-do-not-send="true">LinkedIn</a></span><span
                      class="m_708902464918877146normal"
style="font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;color:#6b7d82">
                      or </span><span class="m_708902464918877146links"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400"><a
                        href="http://www.twitter.com/LUCIADconnect"
style="color:#6b7d82;font-family:Arial,Helvetica,sans-serif;font-size:9pt;font-weight:400;text-decoration:none"
                        target="_blank" moz-do-not-send="true">@LUCIADconnect</a></span>
                    <span class="m_708902464918877146half-line"
                      style="line-height:2px">   <br>
                      <br>
                    </span> <img alt="Luciad" moz-do-not-send="true"> </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta charset="utf-8">
      <title>Luciad Email Signature</title>
      <span class="name" style="font-family: Arial, Helvetica,
        sans-serif;font-size: 10pt;color: #6B7D82;text-transform:
        uppercase;"><strong>
          Christophe Demez
        </strong></span><br>
      <span class="title" style="font-family: Arial, Helvetica,
        sans-serif;font-size: 9pt;color: #6B7D82;text-transform:
        uppercase;">
        PROJECT LEADER
      </span> <span class="half-line" style="line-height:2px;">  <br>
        <br>
      </span> <span class="links" style="color: #6B7D82;font-family:
        Arial, Helvetica, sans-serif;font-size: 9pt;"><a
          href="http://www.luciad.com/" target="_blank" style="color:
          #6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
          10pt;font-weight: 400;text-decoration: none;"><strong>LUCIAD</strong></a></span><span
        class="normal" style="font-family: Arial, Helvetica,
        sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
         CONNECT  <span class="normal" style="font-family: Arial,
          Helvetica, sans-serif;font-size:
          9pt;font-weight: 400;color: #6B7D82;">•  VISUALIZE  <span
            class="normal" style="font-family: Arial, Helvetica,
            sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">•</span>
           ANALYZE  <span class="normal" style="font-family: Arial,
            Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
            #6B7D82;">•</span>
           ACT</span></span> <span class="half-line"
        style="line-height:2px;">  <br>
        <br>
      </span> <span class="links" style="color: #6B7D82;font-family:
        Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;">
        <a href="mailto:christophe.demez@luciad.com" style="color:
          #6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
          9pt;font-weight: 400;text-decoration: none;">
          christophe.demez@luciad.com
        </a> </span> <span class="normal" style="font-family: Arial,
        Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
        #6B7D82;">• </span><span class="normal" style="font-family:
        Arial, Helvetica, sans-serif;font-size: 9pt;font-weight:
        400;color: #6B7D82;"> T </span><span class="number"
        style="font-family: Tahoma, Arial sans-serif;font-size:
        9pt;font-weight: 200;color: #6B7D82;">
        +32 16 23 95 91
      </span><br>
      <span class="normal" style="font-family: Arial, Helvetica,
        sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">Follow
        us on </span><span class="links" style="color:
        #6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
        9pt;font-weight: 400;"><a
          href="https://www.linkedin.com/company/luciad" style="color:
          #6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
          9pt;font-weight: 400;text-decoration: none;">LinkedIn</a></span><span
        class="normal" style="font-family: Arial, Helvetica,
        sans-serif;font-size:
        9pt;font-weight: 400;color: #6B7D82;"> or </span><span
        class="links" style="color: #6B7D82;font-family: Arial,
        Helvetica, sans-serif;font-size: 9pt;font-weight: 400;"><a
          href="http://www.twitter.com/LUCIADconnect" style="color:
          #6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
          9pt;font-weight: 400;text-decoration: none;">@LUCIADconnect</a></span>
      <span class="half-line" style="line-height:2px;">   <br>
        <br>
      </span> <img
        src="http://www.luciad.com/files/images/luciad-logo.png"
        alt="Luciad"> </div>
  </body>
</html>