hi there,<br><br>I am trying to compile GMSH and opencascade together. I compile and install the openCASCADE in /home/hzha201/OpenCASCADE.<br><br>After I enable occ and specify the path of opencascade, the gmsh does not recognize the openCASCADE. Here is <br>
the Gmshconfig.h<br>/* Common/GmshConfig.h. Generated from <a href="http://GmshConfig.h.in">GmshConfig.h.in</a> by configure. */<br>// Gmsh - Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle<br>//<br>// See the LICENSE.txt file for license information. Please report all<br>
// bugs and problems to <<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>>.<br><br>#ifndef _GMSH_CONFIG_H_<br>#define _GMSH_CONFIG_H_<br><br>#define HAVE_64BIT_SIZE_T 1<br>#define HAVE_ANN 1<br>#define HAVE_BLAS 1<br>
#define HAVE_CHACO 1<br>#define HAVE_FLTK 1<br>/* #undef HAVE_FOURIER_MODEL */<br>#define HAVE_GMM 1<br>#define HAVE_LAPACK 1<br>/* #undef HAVE_LIBCGNS */<br>#define HAVE_LIBJPEG 1<br>#define HAVE_LIBPNG 1<br>#define HAVE_LIBZ 1<br>
#define HAVE_MATH_EVAL 1<br>/* #undef HAVE_MED */<br>#define HAVE_METIS 1<br>/* #undef HAVE_MPI */<br>/* #undef HAVE_NATIVE_FILE_CHOOSER */<br>#define HAVE_NETGEN 1<br>/* #undef HAVE_NO_DLL */<br>/* #undef HAVE_NO_PARSER */<br>
/* #undef HAVE_NO_POST */<br>/* #undef HAVE_NO_SOCKLEN_T */<br>/* #undef HAVE_NO_VSNPRINTF */<br>/* #undef HAVE_OCC */<br>/* #undef HAVE_OCC_MESH_CONSTRAINTS */<br>/* #undef HAVE_OSMESA */<br>#define HAVE_TETGEN 1<br>#define HAVE_TREE_BROWSER 1<br>
<br>#define GMSH_CONFIG_OPTIONS " Fltk TreeBrowser Jpeg Png Ann Gmm Chaco Metis Netgen Tetgen MathEval Libz Blas Lapack Have64BitSizeT"<br><br>#endif<br clear="all"><br>-- <br>Heye ZHANG<br>