<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Andy,<br>
      <br>
      Thanks for your help.<br>
      <br>
      The issue is that I do not have Cubit, so I have no cubit/bin
      directory.  <br>
      But I do have OCE, which I am using for CAD, so I *think* I need
      to build<br>
      CGM with OCE to get CAD finally into MOAB, but I certainly need to
      build<br>
      without CUBIT.<br>
      <br>
      Is this making any sense?<br>
      <br>
      Thx......John<br>
      <br>
    </tt><br>
    <div class="moz-cite-prefix">On 12/19/15 11:39 AM, Andrew Davis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGNcaP_t2JPY_jW+0jAO9_5fkOk0k+R78VQXRoqm_PU7osS2Wg@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi John</p>
      <p dir="ltr">I've found that on Linux if you at the cubit/bin
        directory to your LD_LIBRARY_PATH that fixes that. Try adding
        the equivalent to the DYLD_LIBRARY_PATH.</p>
      <p dir="ltr">Thanks</p>
      <p dir="ltr">Andy</p>
    </blockquote>
    <br>
    <div class="moz-cite-prefix">On 12/19/15 11:41 AM, Andrew Davis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGNcaP9g1xXWQk81gPgBcFFovScZS+3riygc=w_UyqOM1hZjgA@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi John</p>
      <p dir="ltr">Its also not required, you can build without CGM. If
        you choose to build with CGM then it will pick up the Cubit
        shared libraries via the CGM dependency.</p>
      <p dir="ltr">Thanks</p>
      <p dir="ltr">Andy</p>
      <div class="gmail_quote">On Dec 19, 2015 12:00 PM, <<a
          moz-do-not-send="true"
          href="mailto:moab-dev-request@mcs.anl.gov"><a class="moz-txt-link-abbreviated" href="mailto:moab-dev-request@mcs.anl.gov">moab-dev-request@mcs.anl.gov</a></a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
          Message: 1<br>
          Date: Sat, 19 Dec 2015 06:57:17 -0700<br>
          From: JR Cary <<a moz-do-not-send="true"
            href="mailto:cary@txcorp.com">cary@txcorp.com</a>><br>
          To: <a moz-do-not-send="true"
            href="mailto:moab-dev@mcs.anl.gov">moab-dev@mcs.anl.gov</a><br>
          Subject: [MOAB-dev] Is cubit now required by cgma?<br>
          Message-ID: <<a moz-do-not-send="true"
            href="mailto:5675623D.6000001@txcorp.com">5675623D.6000001@txcorp.com</a>><br>
          Content-Type: text/plain; charset=utf-8; format=flowed<br>
          <br>
          I recently updated cgm and tried building it as I had been,
          configuring with<br>
          <br>
          '/opt/contrib-clangcxx11/cmake-3.2.2-ser/bin/cmake'<br>
          -DCMAKE_INSTALL_PREFIX:PATH=/opt/volatile-clangcxx11/cgm-master.r1494-ser
          -DCMAKE_BUILD_TYPE:STRING=Release<br>
          -DCMAKE_COLOR_MAKEFILE:BOOL=FALSE
          -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE<br>
          -DBUILD_WITH_SHARED_RUNTIME:BOOL=TRUE<br>
          -DCMAKE_C_COMPILER:FILEPATH='/usr/bin/clang'<br>
          -DCMAKE_CXX_COMPILER:FILEPATH='/usr/bin/clang++'<br>
-DCMAKE_Fortran_COMPILER:FILEPATH='/opt/homebrew/bin/gfortran-4.9'<br>
          -DCMAKE_C_FLAGS:STRING='-fPIC -pipe'<br>
          -DCMAKE_CXX_FLAGS:STRING='-std=c++11 -stdlib=libc++ -fPIC
          -pipe'<br>
          -DCMAKE_Fortran_FLAGS:STRING='-fPIC -pipe'<br>
-DOCE_DIR:PATH='/opt/volatile-clangcxx11/oce-OCE-0.17-txc.r1462-sersh/OCE.framework/Versions/0.17/Resources'<br>
          /sources/projects/composerall/cgm<br>
          <br>
          The configure worked fine, but the build failed at<br>
          <br>
          /usr/bin/clang++  -std=c++11 -stdlib=libc++ -fPIC -pipe -O3
          -DNDEBUG<br>
          -dynamiclib -Wl,-headerpad_max_install_names  -o<br>
          ../lib/libcubit_util.dylib ...<br>
          <br>
          Undefined symbols for architecture x86_64:<br>
             "CubitColor::CubitColor(unsigned char, unsigned char,
          unsigned char,<br>
          unsigned char)", referenced from:<br>
                 __GLOBAL__sub_I_GfxDebug.cpp in GfxDebug.cpp.o<br>
             "CubitColor::CubitColor()", referenced from:<br>
                 __GLOBAL__sub_I_GfxDebug.cpp in GfxDebug.cpp.o<br>
             "CubitEvent::~CubitEvent()", referenced from:<br>
                 CubitCoordinateSystem::~CubitCoordinateSystem() in<br>
          CubitCoordinateSystem.cpp.o<br>
          ...<br>
          <br>
          Is CUBIT now required?<br>
          <br>
          Thx...John Cary<br>
          <br>
          PS - looking at geom/CMakeLists.txt, I see that I needed to
          add<br>
          -DCGM_OCC:BOOL=ON<br>
          to pick up OCC/OCE, but that did not help the build.....<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>