<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>cgm dev version is busted, I recommend checking out version 5770 <br>It will work with occ 652, but it should work with occ653<br><br>Iulian<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">Hi,<br><br>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:<br> ./configure --with-occ=/media/ssddrive/BUILDS/ERDC/SiMBA/debug/install --enable-shared --prefix=/media/ssddrive/BUILDS/ERDC/SiMBA/debug/cgm/src/cgm-build<br>
<br>After trying to build, I get the following error:<br>/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 <a href="http://libcubit_util.la" target="_blank">libcubit_util.la</a> -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<br>
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<br>
/usr/bin/ld: cannot find -lTKernel<br><br>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? <br>
<br>Thanks,<br>Andy Bauer<br>
</blockquote><br></div></body></html>