/ Elfyn McBratney <[EMAIL PROTECTED]> wrote:
| Try this:
>
| $ gcc -o test -L. libmetis.a initialize.c
>
| You need to include the static archive into your image. I'm pretty sure the -l{}
|only applies to shared libraries.
Just a short note, more that putting the lib at the end, -lmetis is
not
On Fri, Dec 20, 2002 at 03:00:13PM -0800, Elfyn McBratney wrote:
>Try this:
>
> $ gcc -o test -L. libmetis.a initialize.c
>
>You need to include the static archive into your image. I'm pretty sure the -l{} only
>applies to shared libraries.
Close.
gcc -o test initialize.c libmetis.a
Th
Try this:
$ gcc -o test -L. libmetis.a initialize.c
You need to include the static archive into your image. I'm pretty sure the -l{} only
applies to shared libraries.
Elfyn
[EMAIL PROTECTED]
--- Zhaosong Lu <[EMAIL PROTECTED]> wrote:
>Dear all,
>
>I dowload one graph partition package calle
Dear all,
I dowload one graph partition package called "metis" and build it into
"libmetis.a".
Then I write one file "initialize.c" which calls one function
'METIS_NodeND' inside from the package "metis". After compilation and
linking them under Cygwin/xFree86 as follows:
gcc -o test initiali
4 matches
Mail list logo