[Gmsh] GMSH and OpenCASCADE

Mark van Doesburg mark.van.doesburg at technolution.nl
Mon Jun 8 09:33:35 CEST 2009


Have you tried:

	export LDFLAGS=-ldl

before running configure ? My system needs it.

Mark.


Heye Zhang <heye.zhang at auckland.ac.nz> wrote:

	hi there,

	I am trying to compile GMSH and opencascade together. I compile and install
	the openCASCADE in /home/hzha201/OpenCASCADE.

	After I enable occ and specify the path of opencascade,  the gmsh does not
	recognize the openCASCADE. Here is
	the Gmshconfig.h
	/* Common/GmshConfig.h.  Generated from GmshConfig.h.in by configure.  */
	// Gmsh - Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle
	//
	// See the LICENSE.txt file for license information. Please report all
	// bugs and problems to <gmsh at geuz.org>.

	#ifndef _GMSH_CONFIG_H_
	#define _GMSH_CONFIG_H_

	#define HAVE_64BIT_SIZE_T 1
	#define HAVE_ANN 1
	#define HAVE_BLAS 1
	#define HAVE_CHACO 1
	#define HAVE_FLTK 1
	/* #undef HAVE_FOURIER_MODEL */
	#define HAVE_GMM 1
	#define HAVE_LAPACK 1
	/* #undef HAVE_LIBCGNS */
	#define HAVE_LIBJPEG 1
	#define HAVE_LIBPNG 1
	#define HAVE_LIBZ 1
	#define HAVE_MATH_EVAL 1
	/* #undef HAVE_MED */
	#define HAVE_METIS 1
	/* #undef HAVE_MPI */
	/* #undef HAVE_NATIVE_FILE_CHOOSER */
	#define HAVE_NETGEN 1
	/* #undef HAVE_NO_DLL */
	/* #undef HAVE_NO_PARSER */
	/* #undef HAVE_NO_POST */
	/* #undef HAVE_NO_SOCKLEN_T */
	/* #undef HAVE_NO_VSNPRINTF */
	/* #undef HAVE_OCC */
	/* #undef HAVE_OCC_MESH_CONSTRAINTS */
	/* #undef HAVE_OSMESA */
	#define HAVE_TETGEN 1
	#define HAVE_TREE_BROWSER 1

	#define GMSH_CONFIG_OPTIONS " Fltk TreeBrowser Jpeg Png Ann Gmm Chaco Metis
	Netgen Tetgen MathEval Libz Blas Lapack Have64BitSizeT"

	#endif

	-- 
	Heye ZHANG