<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 href="mailto:moab-dev-request@mcs.anl.gov">moab-dev-request@mcs.anl.gov</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send moab-dev mailing list submissions to<br>
        <a href="mailto:moab-dev@mcs.anl.gov">moab-dev@mcs.anl.gov</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.mcs.anl.gov/mailman/listinfo/moab-dev" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/moab-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:moab-dev-request@mcs.anl.gov">moab-dev-request@mcs.anl.gov</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:moab-dev-owner@mcs.anl.gov">moab-dev-owner@mcs.anl.gov</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of moab-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1.  Is cubit now required by cgma? (JR Cary)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 19 Dec 2015 06:57:17 -0700<br>
From: JR Cary <<a href="mailto:cary@txcorp.com">cary@txcorp.com</a>><br>
To: <a 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 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>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
moab-dev mailing list<br>
<a href="mailto:moab-dev@mcs.anl.gov">moab-dev@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/moab-dev" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/moab-dev</a><br>
<br>
<br>
End of moab-dev Digest, Vol 86, Issue 21<br>
****************************************<br>
</blockquote></div>