aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN20080923 amulegui VS link error  (Read 4238 times)

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
SVN20080923 amulegui VS link error
« on: September 23, 2008, 03:28:57 PM »

Visual Studio fails to link amulegui in the final stage.
Code: [Select]
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)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN20080923 amulegui VS link error
« Reply #1 on: September 23, 2008, 10:04:59 PM »

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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: SVN20080923 amulegui VS link error
« Reply #2 on: September 23, 2008, 10:43:46 PM »

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
« Last Edit: September 24, 2008, 12:24:22 PM by woutermense »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN20080923 amulegui VS link error
« Reply #3 on: September 25, 2008, 08:17:44 PM »

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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: SVN20080923 amulegui VS link error
« Reply #4 on: September 26, 2008, 12:25:37 PM »

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?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN20080923 amulegui VS link error
« Reply #5 on: September 26, 2008, 05:23:35 PM »

Yes. But I use KAD only, so it's only uploads for me.  ;)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon