ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
error compiling from source
foo


Joined: 30 May 2006
Posts: 0
Reply with quote
Hello, I appreciate any help that may result from this post.

I have been trying to compile ClamWIN from source for a few days now. I have gone through the INSTALL.txt file and patched all neccessary files, to no avail. I have configured my build.bat specific to my system and everything runs smoothly untill it hits the py\BalloonTip directory.
Here is the segment of output where things get foobar'd:
Quote:
BalloonTip.cpp
BalloonHelp.cpp
.\BalloonHelp.cpp(225) : error C3867: 'CBalloonHelp::KeyboardHookProc': function
call missing argument list; use '&CBalloonHelp::KeyboardHookProc' to create a p
ointer to member
.\BalloonHelp.cpp(226) : error C3867: 'CBalloonHelp::MouseHookProc': function ca
ll missing argument list; use '&CBalloonHelp::MouseHookProc' to create a pointer
to member
.\BalloonHelp.cpp(227) : error C3867: 'CBalloonHelp::CallWndRetProc': function c
all missing argument list; use '&CBalloonHelp::CallWndRetProc' to create a point
er to member
Generating Code...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.


any help is greatly appreciated!

thanks
View user's profileSend private message
foo


Joined: 30 May 2006
Posts: 0
Reply with quote
apparently, this is an issue which exists with the Visual C++ 2005 Compiler. I tried including #pragma (disable: C3867) in BalloonHelp.cpp but with no success.

Bueller?
Bueller?
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
we use visual c++ toolkit 2003. I will take a look later.
View user's profileSend private message
Mark.Fortescue


Joined: 08 Dec 2005
Posts: 0
Location: Oxford, UK
Reply with quote
Quote:
we use visual c++ toolkit 2003. I will take a look later.


Hi
Please find below a patch that fixes the mensioned issue with VC8 (2005)

diff -ru clamwin.release/py/BalloonTip/BalloonHelp.cpp clamwin/py/BalloonTip/BalloonHelp.cpp
--- clamwin.release/py/BalloonTip/BalloonHelp.cpp 2006-04-10 21:45:14.000000000 +0100
+++ clamwin/py/BalloonTip/BalloonHelp.cpp 2006-06-09 01:03:06.046875000 +0100
@@ -222,9 +222,9 @@
m_nMouseMoveTolerance = nTol;

// setup hook procedures
- BHKeybHookThunk<CBalloonHelp>::InitThunk((TMFP)KeyboardHookProc, this);
- BHMouseHookThunk<CBalloonHelp>::InitThunk((TMFP)MouseHookProc, this);
- BHCallWndRetHookThunk<CBalloonHelp>::InitThunk((TMFP)CallWndRetProc, this);
+ BHKeybHookThunk<CBalloonHelp>::InitThunk((TMFP)&CBalloonHelp::KeyboardHookProc, this);
+ BHMouseHookThunk<CBalloonHelp>::InitThunk((TMFP)&CBalloonHelp::MouseHookProc, this);
+ BHCallWndRetHookThunk<CBalloonHelp>::InitThunk((TMFP)&CBalloonHelp::CallWndRetProc, this);
}

CBalloonHelp::~CBalloonHelp()



Can you tell me what I need to deal with the following occouring in a build ?

...
*** copy dlls ***
*** copy data files ***
copying c:\python23\lib\site-packages\py2exe\run_w.exe -> C:\cygwin\home\mark\bb\clamwin\Setup\py2exe\dist\bin/ClamWin.exe
copying c:\python23\lib\site-packages\py2exe\run_w.exe -> C:\cygwin\home\mark\bb\clamwin\Setup\py2exe\dist\bin/ClamTray.exe
copying c:\python23\lib\site-packages\py2exe\run_w.exe -> C:\cygwin\home\mark\bb\clamwin\Setup\py2exe\dist\bin/WClose.exe
copying c:\python23\lib\site-packages\py2exe\run_w.exe -> C:\cygwin\home\mark\bb\clamwin\Setup\py2exe\dist\bin/OlAddin.exe
copying c:\python23\lib\site-packages\py2exe\run_dll.dll -> C:\cygwin\home\mark\bb\clamwin\Setup\py2exe\dist\bin/OlAddin.dll
The following modules appear to be missing
['exchange', 'exchdapi', 'mx', 'pywin.dialogs', 'pywin.dialogs.list']

*** binary dependencies ***
...
View user's profileSend private message
error compiling from source
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic