[SciPy-user] Compilation error of fblaswrap_veclib_c.c

David Cournapeau david at ar.media.kyoto-u.ac.jp
Thu Oct 4 04:03:59 EDT 2007


HEMMI, Shigeru wrote:
> Dear David Cournapeau,
>
> Thanks for the reply.
>
> For the code you suggest,
>
> #include <complex.h>
> int main()
> {
>     complex a = 1.0 * I;
>     return 0;
> }
>
> it worked, but after replacing #include <complex.h> by #include
> <vecLib/vecLib.h>, I encounterd an error.
>
> $ gcc tmptesting.c
> tmptesting.c: In function `main':
> tmptesting.c:5: error: `complex' undeclared (first use in this function)
> tmptesting.c:5: error: (Each undeclared identifier is reported only once
> tmptesting.c:5: error: for each function it appears in.)
> tmptesting.c:5: error: parse error before "a"
If you just try:

#include <vecLib/vecLib.h>

int main()
{
    return 0;
}

What does it do ? (My explanation would be either the vecLib.h is not 
found, or on panther, it does not include complex.h).

cheers,

David



More information about the SciPy-User mailing list