aMule Forum
English => Compilation problems => Topic started by: woutermense on September 23, 2008, 03:28:57 PM
-
Visual Studio fails to link amulegui in the final stage.
15>Compiling resources...
15>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
15>Copyright (C) Microsoft Corporation. All rights reserved.
15>Linking...
15>LINK : C:\Documents and Settings\wouter\Desktop\aMule\amule-cvs\MSVC Solution\Debug\aMuleGUI.exe not found or not built by the last incremental link; performing full link
15>HTTPDownload.obj : error LNK2001: unresolved external symbol "int const wxEVT_CORE_FINISHED_HTTP_DOWNLOAD" (?wxEVT_CORE_FINISHED_HTTP_DOWNLOAD@@3HB)
15>C:\Documents and Settings\wouter\Desktop\aMule\amule-cvs\MSVC Solution\Debug\aMuleGUI.exe : fatal error LNK1120: 1 unresolved externals
15>Build log was saved at "file://c:\Documents and Settings\wouter\Desktop\aMule\amule-cvs\MSVC Solution\aMuleGUI\Debug\BuildLog.htm"
15>aMuleGUI - 2 error(s), 257 warning(s)
-
Fixed tomorrow, thanks for reporting. (Only MSW without GeoIP was involved.)
BtW: you usually should compile it as Release. You can still debug it if you want to, but get much better performance.
-
Should I be testing with GeoIP? If so, how can I do that?
I'll only be compiling Release versions from now on, thanks for the tip.
edit: found the update in wiki about GeoIP
edit2: in SVN20080924 the libGeoIP project file is not added to the solution. I added it under external libraries. I added ;ENABLE_IP2COUNTRY to the amule project as well as the amulegui project, and set both their dependencies to include libGeoIP. Compiles just fine now
-
Fine!
There are two solutions actually, one for the professional edition only (aMule-MSVC) and one which also works with the Express Edition (aMule-MSVCE). I think I've added the lib only to the latter.
GeoIP displays the nice little flags, no more, no less. If you want them, use it, if you don't you lose nothing if you build it without. For the remote GUI it's not as useful as for the monolith since the sources can't be displayed yet.
-
Yeah I mostly use the remote GUI, but I try to test the monolith as well sometimes.
Are there also no flags displayed for servers & uploads in the remote gui?
-
Yes. But I use KAD only, so it's only uploads for me. ;)