[Gmsh] Compiling gmsh with OCC
gus.wolfgramm at xtra.co.nz
gus.wolfgramm at xtra.co.nz
Tue Jun 19 22:20:10 CEST 2007
Hi David
Thanks for the reply. I did as you said and it configured fine. However make
broke down during the part where the Geo library is being built, specifically as
it parsed occIncludes.h and couldnt find a bunch of occ files (e.g
BRep_Tool.hxx). How can I point make in the direction of these files.? Btw I am
using the win32 verison of occ 6.2 and not the linux version. Is this
signinificant?
Cheers
Gustav
---- Colignon David <David.Colignon at ulg.ac.be> wrote:
> > Hello
> >
> > This is my first post, so thanks for the opportunity. I am using Windows
> > XP Home.
> >
> > I have unsuccessfully tried to compile gmsh 2.0.7 with OCC support with
> > MinGW/MSys. I used --with-gsl-prefix=c:/msys/1.0/local
> > –with-fltk-prefix=c:/msys/1.0/local –enable-occ
> > –with-occ-prefix=c:/Program\ Files/OpenCascade/ros/win32 ….On the othr
> > hand, compiling with just gsl and fltk prefixes was successful. I have
> > attached the output of ./configure as well as the conf.log for the former.
> > If relevant, gmsh, gsl and fltk were installed in c:/msys/1.0/home/oem/
> > Hope this is sufficient information.
>
> Hi,
>
> I think configure doesn't like the space between Program and Files, the
> directory where you installed OCC
>
> from config.log :
>
> ...
> configure:5070: gcc -o conftest.exe -g -O2 -Lc:/Program
> Files/OpenCascade/ros/win32/lib -
> Lc:/msys/1.0/local -Lc:/msys/1.0/local/lib conftest.c -lgslcblas -lm >&5
> gcc.exe: Files/OpenCascade/ros/win32/lib: No such file or directory
> ...
>
> can you try to move or reinstall OCC elsewhere ?
>
> Cheers,
>
> Dave
>
>
> --
> David Colignon, Ph.D.
> ELAP - Unité d'Electricité Appliquée
> Institut Montefiore B28
> Université de Liège
> 4000 LIEGE - BELGIQUE
> Tél: +32 (0)4 366 37 32
> Fax: +32 (0)4 366 29 10
> http://elap.montefiore.ulg.ac.be
> >
> > Finally, the point to this is that I am trying to make an application that
> > meshes imported STEP and IGES geometries for BEM analysis. I intend on
> > using the gmsh 2.0.7 mesh module to do this and am trying to extract the
> > relevant parts from the source. The import stage is based on the OCC
> > import/export example ’IE’ (VS solution - c# GUI, VC++ inner workings).
> > From one of the solution's VC++ projects I am trying to link to the gmsh
> > library. This I have built (without OCC support) using MinGW/MSys. The
> > library consists of a bunch of .a files (e.g. libGMeshGeo.a) which I think
> > are UNIX static library files and not .lib files as I was expecting.
> >
> > QUESTION:
> >
> > Can I link to these files from the application previously described? Are
> > they compatible for my purposes?
> >
> > Thanks for any help available. I am new to this kind of programming so
> > please forgive any glaring omissions.
> >
> > Gustav Wolfgramm
> >
> > p.s Go Emrates Team New Zealand in the America's Cup finals!!
> > _______________________________________________
> > gmsh mailing list
> > gmsh at geuz.org
> > http://www.geuz.org/mailman/listinfo/gmsh
> >
>
>
>