[Gmsh] compiling & linking with OpenCASCADE support ?

Benedikt Oswald benedikt.oswald at psi.ch
Tue Mar 27 12:32:57 CEST 2007


Dear GMSH developers, again, great work! I just downloaded the newest version
and installed. I have however one minor problem, which is compiling with
opencascade support. Doing this via the configure does not seem to work,
cf. configure output below.

Any comment & help is greatly appreciated.

Our usage of gmsh is in simulating accelerator components, such as
photocathodes, cavities, traveling wave tubes etc.

Have a great day! Benedikt

--------------------
[oswald at merlin00 gmsh-2.0.5]$ ./configure --prefix=/home2/oswald/extlib/gmsh-2.0.5 
--with-gsl-prefix=/home2/oswald/extlib/gsl-1.7 --with-fltk-prefix=/home2/oswald/extlib/fltk-1.1.7 --enable-occ 
--with-occ-prefix=/home2/oswald/extlib/OpenCASCADE/OpenCascade_6_2_0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for fltk-config... /home2/oswald/extlib/fltk-1.1.7/bin/fltk-config
checking for main in -ljpeg... yes
checking for main in -lz... yes
checking for main in -lpng... yes
checking for main in -lm... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for ./contrib/Triangle/triangle.c... no
********************************************************************
If you want to use Jonathan Shewchuk's Triangle as an alternative
isotropic 2D mesh generator, please download Triangle from the
author's web site at http://www.cs.cmu.edu/~quake/triangle.html,
unpack the archive and copy the two files 'triangle.c' and
'triangle.h' in the ./contrib/Triangle subdirectory. Then run
./configure again.
Please note that by doing so, you agree with Triangle's licensing
requirements stated in ./contrib/Triangle/README. (Most notably, you
may then only redistribute Gmsh if no compensation is received.)
********************************************************************
checking for ./contrib/ANN/include/ANN/ANN.h... yes
********************************************************************
You are building a version of Gmsh that contains ANN, the
Approximate Nearest Neighbor library.
Please note that by doing so, you agree with ANN's licensing
requirements stated in ./contrib/ANN/Copyright.txt.
To disable ANN, run configure again with the --disable-ann
option.
********************************************************************
checking for ./contrib/Metis/metis.h... yes
checking for ./contrib/Netgen/libsrc/meshing/meshclass.cpp... yes
********************************************************************
You are building a version of Gmsh that contains Joachim Schoberl's
Netgen as an alternative 3D mesh generator. Netgen is distributed
under the GNU LGPL: see ./contrib/Netgen/COPYING.LIB for more info.
To disable Netgen, run configure again with the --disable-netgen
option.
********************************************************************
checking for ./contrib/Tetgen/tetgen.h... no
********************************************************************
If you want to use Hang Si's Tetgen as an alternative
3D mesh generator, please download Tetgen from the project's
web site at http://www.tetgen.berlios.de, unpack the archive
and move the files predicates.cxx, tetgen.cxx and tetgen.h in
the ./contrib/Tetgen subdirectory. Then run ./configure again.
Please note that by doing so, you agree with Tetgen's licensing
requirements stated in ./contrib/Tetgen/LICENSE. (Most notably, you
may then only redistribute Gmsh if no compensation is received.)
********************************************************************
checking for ./contrib/MathEval/matheval.cpp... yes
checking for ./contrib/FourierModel/model.cpp... no
checking for main in -lgslcblas... yes
checking for main in -lgsl... yes
checking for main in -lTKernel... no
checking for main in -lhdf5... yes
checking for main in -lmed... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking size of size_t... 8
configure: creating ./config.status
config.status: creating variables
********************************************************************
Gmsh is configured for
- OS           : Linux
- C compiler   : gcc
- C++ compiler : g++
- Linker       : g++
- Optimization : -g -O2
- Options      : -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG 
-DHAVE_FLTK  -I/home2/oswald/extlib/fltk-1.1.7 -I/home2/oswald/extlib/fltk-1.1.7/include -fPIC -I/usr/X11R6/include 
-I/home2/oswald/extlib/gsl-1.7 -I/home2/oswald/extlib/gsl-1.7/include -DHAVE_64BIT_SIZE_T
********************************************************************
To fine-tune the configuration, edit the 'variables' file
********************************************************************





-- 

------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist,
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
quamquam sint sub aqua, sub aqua maledicere temptant. http://maxwell.psi.ch/amaswiki/index.php/User:BenediktOswald
------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: benedikt.oswald.vcf
Type: text/x-vcard
Size: 132 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070327/1db40549/attachment.vcf>