[cgma-dev] cgm build problem with OCC
Iulian Grindeanu
iulian at mcs.anl.gov
Sun Oct 14 13:03:11 CDT 2012
cgm dev version is busted, I recommend checking out version 5770
It will work with occ 652, but it should work with occ653
Iulian
----- Original Message -----
| Hi,
| I'm trying to build CGM with OpenCascade and am having problems. I'm
| using the svn repo version of CGM. My configure command was:
| ./configure --with-occ=/media/ssddrive/BUILDS/ERDC/SiMBA/debug/install
| --enable-shared
| --prefix=/media/ssddrive/BUILDS/ERDC/SiMBA/debug/cgm/src/cgm-build
| After trying to build, I get the following error:
| /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wextra -Wshadow
| -Wunused -Wformat -Wsign-compare -Wpointer-arith -Winvalid-pch
| -Wcast-align -Wwrite-strings -ansi -Wunused -fdiagnostics-show-option
| -Woverloaded-virtual -Wall -pipe -pedantic -o libcubit_util.la -rpath
| /media/ssddrive/BUILDS/ERDC/SiMBA/debug/cgm/src/cgm-build/lib
| AllocMemManagersList.lo AppUtil.lo ArrayBasedContainer.lo CpuTimer.lo
| Cubit2DPoint.lo CubitBox.lo CubitCollection.lo CubitContainer.lo
| CubitCoordinateSystem.lo CubitDynamicLoader.lo CubitEntity.lo
| CubitFile.lo CubitFileFEModel.lo CubitFileIOWrapper.lo
| CubitFileMetaData.lo CubitFileUtil.lo CubitMatrix.lo CubitMessage.lo
| CubitObservable.lo CubitObserver.lo CubitPlane.lo CubitStack.lo
| CubitString.lo CubitTransformMatrix.lo CubitUtil.lo CubitVector.lo
| CubitFileSimModel.lo CubitUndo.lo DIntArray.lo DLList.lo
| DynamicArray.lo GMem.lo GetLongOpt.lo GfxDebug.lo IntersectionTool.lo
| MemoryBlock.lo MemoryManager.lo ParamCubitPlane.lo PlanarParamTool.lo
| Queue.lo RandomMersenne.lo SDLList.lo SettingHandler.lo
| SettingHolder.lo StubProgressTool.lo TDUPtr.lo TextProgressTool.lo
| ToolData.lo ToolDataUser.lo Tree.lo TtyProgressTool.lo -ldl -lTKernel
| -lm
| libtool: link: g++ -fPIC -DPIC -shared -nostdlib
| /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o
| /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o
| .libs/AllocMemManagersList.o .libs/AppUtil.o
| .libs/ArrayBasedContainer.o .libs/CpuTimer.o .libs/Cubit2DPoint.o
| .libs/CubitBox.o .libs/CubitCollection.o .libs/CubitContainer.o
| .libs/CubitCoordinateSystem.o .libs/CubitDynamicLoader.o
| .libs/CubitEntity.o .libs/CubitFile.o .libs/CubitFileFEModel.o
| .libs/CubitFileIOWrapper.o .libs/CubitFileMetaData.o
| .libs/CubitFileUtil.o .libs/CubitMatrix.o .libs/CubitMessage.o
| .libs/CubitObservable.o .libs/CubitObserver.o .libs/CubitPlane.o
| .libs/CubitStack.o .libs/CubitString.o .libs/CubitTransformMatrix.o
| .libs/CubitUtil.o .libs/CubitVector.o .libs/CubitFileSimModel.o
| .libs/CubitUndo.o .libs/DIntArray.o .libs/DLList.o
| .libs/DynamicArray.o .libs/GMem.o .libs/GetLongOpt.o .libs/GfxDebug.o
| .libs/IntersectionTool.o .libs/MemoryBlock.o .libs/MemoryManager.o
| .libs/ParamCubitPlane.o .libs/PlanarParamTool.o .libs/Queue.o
| .libs/RandomMersenne.o .libs/SDLList.o .libs/SettingHandler.o
| .libs/SettingHolder.o .libs/StubProgressTool.o .libs/TDUPtr.o
| .libs/TextProgressTool.o .libs/ToolData.o .libs/ToolDataUser.o
| .libs/Tree.o .libs/TtyProgressTool.o -ldl -lTKernel
| -L/usr/lib/gcc/x86_64-linux-gnu/4.6
| -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu
| -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib
| -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu
| -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../..
| -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o
| /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o
| -Wl,-soname -Wl,libcubit_util.so.0 -o .libs/libcubit_util.so.0.0.0
| /usr/bin/ld: cannot find -lTKernel
| The TKernel library is in
| /media/ssddrive/BUILDS/ERDC/SiMBA/debug/install/lib so I'm not sure
| what the problem is. It also looks like the link statement doesn't
| reference that directory. Any ideas what's wrong and how to fix it?
| Thanks,
| Andy Bauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20121014/4d40a91e/attachment.html>
More information about the cgma-dev
mailing list