igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] igraph-help Digest, Vol 82, Issue 25


From: Matheus Viana
Subject: Re: [igraph] igraph-help Digest, Vol 82, Issue 25
Date: Fri, 31 May 2013 11:37:20 -0700

Hi Tamas.

Yes, you're right. I was missing the "make clean". Also, the right command for configure is ./configure --prefix=C:/MinGW64 --host=x86_64-w64-mingw32, assuming that your MinGW64 is installed in C:\MinGW64.

I'm doing some tests comparing the performance of 32 and 64 versions of my code and surprisingly, the 64 version is much slower. My code basically compute tons of shortest paths. Is that reasonable for you?

Thanks.



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




2013/5/31 <address@hidden>
Send igraph-help mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/igraph-help
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of igraph-help digest..."


Today's Topics:

   1. compiling igraph with x86_64-w64-mingw32-gcc (Matheus Viana)
   2. Re: compiling igraph with x86_64-w64-mingw32-gcc (Tam?s Nepusz)


----------------------------------------------------------------------

Message: 1
Date: Thu, 30 May 2013 10:04:39 -0700
From: Matheus Viana <address@hidden>
To: address@hidden
Subject: [igraph] compiling igraph with x86_64-w64-mingw32-gcc
Message-ID:
        <CANvnhg9s=address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

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*
*
**
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20130530/5001a1f5/attachment.html>

------------------------------

Message: 2
Date: Thu, 30 May 2013 22:30:59 +0200
From: Tam?s Nepusz <address@hidden>
To: Help for igraph users <address@hidden>
Subject: Re: [igraph] compiling igraph with x86_64-w64-mingw32-gcc
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-1

> 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?
It seems to be a leftover from your previous (32-bit) compilation. Did you run "make clean" before running "make" again? "make clean" would remove all the old 32-bit object files.

Best,
Tamas


------------------------------

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


End of igraph-help Digest, Vol 82, Issue 25
*******************************************


reply via email to

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