<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <tt>Hi Vincent,<br>
      <br>
      please look into scip/cmake/Modules/FindGUROBI.cmake. In the
      find_library call, cmake searches for different gurobi libraries.
      Apparently, gurobi90 is not searched for (I do have a
      libgurobi.so.9.0.0 on my machine, but probably the file extension
      probably does not count for cmake). So you can easily add a
      "gurobi90" to the NAMES parameter of find_library and then retry.<br>
      <br>
      Best,<br>
      Matthias</tt><br>
    <br>
    <div class="moz-cite-prefix">On 17.06.21 13:32, Vincent Wang wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKWzuJRXYuKHvs_QrVLJjhZyxzPDekbWnuqeWRztsj1DHUbiDg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div>Hi folks,</div>
            <div><br>
            </div>
            <div>I have a quite naive question. I was compiling SCIP
              (via cmake) in my ubuntu 20.04 system and was going to use
              Gurobi as its LP solver. So I follow the instruction here
              (<a href="https://scipopt.org/doc/html/md_INSTALL.php"
                target="_blank" moz-do-not-send="true">https://scipopt.org/doc/html/md_INSTALL.php</a>)
              and type <br>
            </div>
            <div><br>
              <div>cmake .. -DLPS=grb
                -DGUROBI_DIR=/opt/gurobi912/linux64/</div>
              <div><br>
              </div>
              <div>Then I had an error (see the attached) which says
                that <br>
              </div>
              <div><br>
              </div>
              <div>CMake Error at
                papilo/cmake/Modules/FindPackageHandleStandardArgs.cmake:137
                (message):<br>
                  Could NOT find GUROBI (missing: GUROBI_LIBRARIES)</div>
              <div><br>
              </div>
              <div>Note that it did not say "missing GUROBI_INCLUDE_DIRS
                GUROBI_LIBRARIES" but only "GUROBI_LIBRARIES". Anybody
                has experienced this or has any thoughts? I would
                appreciate it.</div>
              <div><br>
              </div>
              <div>Best,</div>
              <div>Vincent.</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>