<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear Ziye,</p>
    <p>To only build scip you can run make in the scip folder that is
      generated by cmake. For using cplex as LP solver you seem to have
      used the wrong flags, you need the CPLEX_DIR.</p>
    <p>That would make your commands look something like this:</p>
    <pre>mkdir build
cd build
cmake .. -DLPS=cpx -DCPLEX_DIR=</path/to/cplex/install>
cd scip
make
</pre>
    <p>I hope this helps,</p>
    <p>Best,<br>
      Franziska</p>
    <div class="moz-cite-prefix">On 6/5/20 11:33 AM, Ziye Tang wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAODGa2TS=2iLe0JgOv5kAZaZnDSwwSW5tg084vLYDC+d=jZbsA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Dear SCIP team,
        <div><br>
        </div>
        <div>I am compiling scipoptsuite on a rhel8 server via cmake. I
          am using cplex as my LP solver and have specified LPS,
          INCLUDE_DIRS and LIB flags. When cmake finishes, I tried to
          run make. Here's the error I got:</div>
        <div><br>
        </div>
        <div>[  3%] Linking CXX executable ../../bin/soplex<br>
          /usr/bin/ld: CMakeFiles/soplex.dir/soplexmain.cpp.o: undefined
          reference to symbol '_ZNSo9_M_insertIdEERSoT_@@GLIBCXX_3.4.9'<br>
          //usr/lib64/libstdc++.so.6: error adding symbols: DSO missing
          from command line<br>
          collect2: error: ld returned 1 exit status<br>
          make[2]: *** [soplex/src/CMakeFiles/soplex.dir/build.make:86:
          bin/soplex] Error 1<br>
          make[1]: *** [CMakeFiles/Makefile2:182:
          soplex/src/CMakeFiles/soplex.dir/all] Error 2<br>
          make: *** [Makefile:163: all] Error 2<br>
        </div>
        <div><br>
        </div>
        <div>I don't understand this linker error. It would be great if
          someone could point me in the right direction. Also, if I am
          only using scip (with cplex as LP solver), is there a make
          target I could build? A while ago I tried make scip but I've
          got some other errors when using scip.</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>
  </body>
</html>