[Gmsh] Compile Error; Platform: Ubuntu Dapper (AMD64)

David Colignon David.Colignon at ulg.ac.be
Tue Oct 17 09:01:01 CEST 2006


Hi,

you must have other errors in the Fltk directory. Can you cd in the Gmsh/Fltk directory and again perform a "make" ?

Cheers,

Dave


William Hunter wrote:
> My apologies, I didn't include the ML :-).
> 
> ---------- Forwarded message ----------
> From: William Hunter <willemjagter at gmail.com>
> Date: 17-Oct-2006 08:35
> Subject: Re: [Gmsh] Compile Error; Platform: Ubuntu Dapper (AMD64)
> To: Colignon David <David.Colignon at ulg.ac.be>
> 
> 
> Dave;
> 
> Here's the last (and as far as I can see only) error message:
> 
> make[1]: Leaving directory `/home/william/tmp/gmsh-1.65.0/contrib/MathEval'
> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshParser -lGmshGraphics
> -lGmshMesh -lGmshGeo -lGmshPlugin -lGmshCommon -lGmshDataStr
> -lGmshNumeric -lGmshParallel -lfltk_images -lfltk_gl -lfltk -ljpeg
> -lpng -lz -lGmshANN -lGmshMetis -lGmshNetgen -lGmshMathEval -lgsl
> -lgslcblas -lm
> /usr/bin/ld: cannot find -lGmshFltk
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
> 
> uname -a returns the following:
> Linux tambotie 2.6.15-26-amd64-generic #1 SMP PREEMPT Thu Aug 3
> 02:52:35 UTC 2006 x86_64 GNU/Linux
> 
> What I did:
> Unpacked the gmsh archive in 'tmp' in my home directory, then did
> './configure' which didn't complain about anything (except saying NO
> to optional mesh software, which I don't need) and then I typed
> 'make'.
> 
> I can only guess that I have to specify a specific directory for
> something in the variables file? I tried adding the -fPIC option to
> the flags in variables, but this made no difference. The only
> non-standard location on my system is the location of BLAS -- I use
> ATLAS, and that's located in /usr/local/atlas, but is this relevant at
> all?
> 
> Thanks for your help,
> William
> 
> 
> 
> On 16/10/06, Colignon David <David.Colignon at ulg.ac.be> wrote:
>> Hi,
>>
>> yes, I compile the latest gmsh version ( gmsh-nightly-source.tgz )on the
>> same kind of platform ( uname -a = Linux elap91 2.6.15-26-amd64-k8 #1 SMP
>> PREEMPT Thu Aug 3 03:11:38 UTC 2006 x86_64 GNU/Linux ) without any
>> problem...
>> Can you send the first error message you get ?
>>
>> Dave
>>
>>
>>
>>> List;
>>>
>>> Before I dump a string of error messages here, has anyone successfully
>>> compiled the latest Gmsh on the above mentioned platform?
>>>
>>> I have a .deb (v 1.65), and that works fine, but I want to compile the
>>> latest version...
>>>
>>> All the requirements (GSL and FLTK) are met on my machine (here I did
>>> use the .debs -- might that be the problem?), but I still can't
>>> compile from the gmsh source.
>>>
>>> I'm sure it's something trivial, just don't know what! Any ideas/help
>>> please?
>>> --
>>> wh
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gmsh
>>>
>>
>>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh