aMule Forum
English => Multiplatform => Win32 => Topic started 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'
-
I will have a look this evening at home :)
Thepolish
-
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
-
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.
-
crypto 5.1 or 5.2 ?
5.1 link well, 5.2, dunno
Thepolish
-
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. :)
-
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
-
Okay, thanks. I'll keep my eyes on this thread as well as the site for any other new developments on this particular issue.
-
Hi,
Current CVS with wxwindows CVS too :) Now connect, but low ID
Thepolish
-
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 !!!!
-
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