igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] compiling igraph with x86_64-w64-mingw32-gcc


From: Matheus Viana
Subject: [igraph] compiling igraph with x86_64-w64-mingw32-gcc
Date: Thu, 30 May 2013 10:04:39 -0700

Hi list.

I've successfully compiled a 64bits version of igraph on mac os. Now, turned out that I need to run my code on windows.

The code compiles well with traditional gcc 32 bits of MinGW and I'm able to run it on windows if I choose to compile with static library embedded.

In order to give a step further, I was trying to compile my code with x86_64-w64-mingw32-gcc, a 64bits compiler available under MinGW-64.

The command

./configure --prefix=c:/mingw64 CC="x86_64-w64-mingw32-gcc"

works fine, and this is the final result:

GraphML format support -- no
GMP library support -- no
... yes
Debug -- no
Profiling -- no

After this, during the "make", I got the following error:

.libs/libigraph_la-matrix.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
make[3]: *** [libigraph.la] Error 1
make[3]: Leaving directory '/src/igraph-0.6.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/src/igraph-0.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/src/igraph-0.6.5'
make: *** [all] Error 2

Do you guys have any idea of how to go around this problem? Have anyone compiled 64bits version of igraph using MinGW?

Thanks,

Matheus Viana
Postdoctoral Research Employee
Developmental and Cell Biology
University of California Irvine



reply via email to

[Prev in Thread] Current Thread [Next in Thread]