[MOAB-dev] moab-dev Digest, Vol 86, Issue 21

Andrew Davis andrewdavis.davis at gmail.com
Sat Dec 19 12:41:54 CST 2015


Hi John

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.

Thanks

Andy
On Dec 19, 2015 12:00 PM, <moab-dev-request at mcs.anl.gov> wrote:

> Send moab-dev mailing list submissions to
>         moab-dev at mcs.anl.gov
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.mcs.anl.gov/mailman/listinfo/moab-dev
> or, via email, send a message with subject or body 'help' to
>         moab-dev-request at mcs.anl.gov
>
> You can reach the person managing the list at
>         moab-dev-owner at mcs.anl.gov
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of moab-dev digest..."
>
>
> Today's Topics:
>
>    1.  Is cubit now required by cgma? (JR Cary)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 19 Dec 2015 06:57:17 -0700
> From: JR Cary <cary at txcorp.com>
> To: moab-dev at mcs.anl.gov
> Subject: [MOAB-dev] Is cubit now required by cgma?
> Message-ID: <5675623D.6000001 at txcorp.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> I recently updated cgm and tried building it as I had been, configuring
> with
>
> '/opt/contrib-clangcxx11/cmake-3.2.2-ser/bin/cmake'
> -DCMAKE_INSTALL_PREFIX:PATH=/opt/volatile-clangcxx11/cgm-master.r1494-ser
> -DCMAKE_BUILD_TYPE:STRING=Release
> -DCMAKE_COLOR_MAKEFILE:BOOL=FALSE -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
> -DBUILD_WITH_SHARED_RUNTIME:BOOL=TRUE
> -DCMAKE_C_COMPILER:FILEPATH='/usr/bin/clang'
> -DCMAKE_CXX_COMPILER:FILEPATH='/usr/bin/clang++'
> -DCMAKE_Fortran_COMPILER:FILEPATH='/opt/homebrew/bin/gfortran-4.9'
> -DCMAKE_C_FLAGS:STRING='-fPIC -pipe'
> -DCMAKE_CXX_FLAGS:STRING='-std=c++11 -stdlib=libc++ -fPIC -pipe'
> -DCMAKE_Fortran_FLAGS:STRING='-fPIC -pipe'
>
> -DOCE_DIR:PATH='/opt/volatile-clangcxx11/oce-OCE-0.17-txc.r1462-sersh/OCE.framework/Versions/0.17/Resources'
> /sources/projects/composerall/cgm
>
> The configure worked fine, but the build failed at
>
> /usr/bin/clang++  -std=c++11 -stdlib=libc++ -fPIC -pipe -O3 -DNDEBUG
> -dynamiclib -Wl,-headerpad_max_install_names  -o
> ../lib/libcubit_util.dylib ...
>
> Undefined symbols for architecture x86_64:
>    "CubitColor::CubitColor(unsigned char, unsigned char, unsigned char,
> unsigned char)", referenced from:
>        __GLOBAL__sub_I_GfxDebug.cpp in GfxDebug.cpp.o
>    "CubitColor::CubitColor()", referenced from:
>        __GLOBAL__sub_I_GfxDebug.cpp in GfxDebug.cpp.o
>    "CubitEvent::~CubitEvent()", referenced from:
>        CubitCoordinateSystem::~CubitCoordinateSystem() in
> CubitCoordinateSystem.cpp.o
> ...
>
> Is CUBIT now required?
>
> Thx...John Cary
>
> PS - looking at geom/CMakeLists.txt, I see that I needed to add
> -DCGM_OCC:BOOL=ON
> to pick up OCC/OCE, but that did not help the build.....
>
>
> ------------------------------
>
> _______________________________________________
> moab-dev mailing list
> moab-dev at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/moab-dev
>
>
> End of moab-dev Digest, Vol 86, Issue 21
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20151219/3d8e1f7e/attachment.html>


More information about the moab-dev mailing list