aMule Forum

English => Multiplatform => Win32 => Topic started by: laochang on September 01, 2004, 09:23:53 AM

Title: Compile?compile!
Post by: laochang on September 01, 2004, 09:23:53 AM
I used mingw dev studio to compile amule .But when link,lots of error take place,can anybody give me a suggestion?
The error of "multiple definition " also takes place when link to libcryptopp.a.
Linking...
\mingw\lib\libstdc++.a(eh_personality.o)(.data$_ZTISt9exception+0x0): multiple definition of `typeinfo for std::exception'
D:\msys\1.0\home\Administrator\aMule-2.0.0rc5\Release\BaseClient.o(.rdata$_ZTISt9exception+0x0):BaseClient.cpp: first defined here
\mingw\lib\libstdc++.a(eh_personality.o)(.text$_ZTSSt9exception+0x0): multiple definition of `typeinfo name for std::exception'
Title: Re: Compile?compile!
Post by: thepolish on September 01, 2004, 09:57:13 AM
I will have a look this evening at home :)

Thepolish
Title: Re: Compile?compile!
Post by: thepolish on September 04, 2004, 04:52:08 PM
Hi,

Yes, rc5 doesnt compile. U have to try a cvs snapshot: the one from 18/07 or 17/07 shloud compile. The cvs snapshot from nowsdays doent compile 2 du to (again) crypto++ stuff.

Anyway, even if compile, amule for win32 isnt fully fonctionnal, so just use it for tsting purpose :)

Thepolish
Title: Re: Compile?compile!
Post by: newl on September 11, 2004, 01:15:47 PM
Has there been any more progress on this?  I too have been able to get it to successfully compile (even with the mod code and classes used from my linux build) but am also getting the same link problems using the full studio installation with msys compiled and copied libraries.
Title: Re: Compile?compile!
Post by: thepolish on September 11, 2004, 07:00:04 PM
crypto 5.1 or 5.2 ?

5.1 link well, 5.2, dunno

Thepolish
Title: Re: Compile?compile!
Post by: newl on September 13, 2004, 03:27:21 PM
crypto51.  I suppose if CVS compiles and links then I'll wait for RC6 to hit.  Can't be bothered sorting out CVS and Windows. :)
Title: Re: Compile?compile!
Post by: thepolish on September 13, 2004, 04:00:11 PM
For now, cvs from yesterday compile and link, but crash at startup with

- wx-2.4.2
- crypto5.2

- mingw-3.4

cvs form 18/07 compile and start with

- wx-2.4.2
- crypto5.1

- mingw-3.3.1

Thepolish

PS: i will contact DeltaHF to see if can distribute crypto and curl win32 binaries
Title: Re: Compile?compile!
Post by: newl on September 14, 2004, 02:19:56 PM
Okay, thanks.  I'll keep my eyes on this thread as well as the site for any other new developments on this particular issue.
Title: Re: Compile?compile!
Post by: thepolish on September 15, 2004, 11:59:40 PM
Hi,

Current CVS with wxwindows CVS too :) Now connect, but low ID

Thepolish
Title: Re: Compile?compile!
Post by: karmacoma on September 24, 2004, 02:11:12 PM
sorry guys, just two stupid questions

1.- Which Min GW Studio should I use, the full one, the full plus???

2.- where shall I add the Zlib, Curl and Crypto++ compilled libs ??

thanks a lot !!!!
Title: Re: Compile?compile!
Post by: thepolish on September 24, 2004, 02:27:29 PM
Hi,

depend on what u want to do :)

i explain: u need wx, curl, zlib, crypto++ libs.

Use the full + if u dont want to compile wx yourself ans want to use wx-2.4.2

Use the simple full, if u want to compile wx and libs yourself

Std places for libs is c:\MinGWStudio\lib and for *.h c:\MinGWStudio\include, nut u cant put them where u want just by configuring mingwstudio to look in your specific folders. (project setting)

Note that compilation under win32 is still experimental, and even when compile, aMule doesnt fully work :)

Thepolish