FahMon (multi-platform app to monitor various F@h clients)

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

Re: FahMon (multi-platform app to monitor various F@h client

Postby RAH » Mon Oct 18, 2010 6:51 pm

I did a little checking earlier, but had to go out, and I agree. Haven't figured out the correct settings yet.
Having a bad day, but will try to help. VS has changed and not sure how to apply correctly.
Image
User avatar
RAH
 
Posts: 131
Joined: Sun Dec 02, 2007 7:29 am
Location: Florida

Re: FahMon (multi-platform app to monitor various F@h client

Postby derrickmcc » Mon Oct 18, 2010 11:30 pm

I have noticed that the new version 2.3.99.2 on Windows XP (32 bit) does not retain the Core details for each WU.
Downloading projects updates the core details, but after closing and re-opening FahMon, the cores are again listed as unknown, and SMP does not show the bonus.
Image
User avatar
derrickmcc
 
Posts: 221
Joined: Fri Jul 24, 2009 1:30 am
Location: Malvern, UK

Re: FahMon (multi-platform app to monitor various F@h client

Postby francois » Tue Oct 19, 2010 2:34 am

Just to report that a few AV programs report fahmon.exe as "Gen:Variant.FakeAlert.25".
I'm using Immunet Protect Plus, which uses BitDefender's engine in addition to its cloud technology.
Also reported by F-Secure and nProtect.
Panda reports is as "Suspicious file".
(uploaded on virustotal.com)

Regards,
François
Image
User avatar
francois
 
Posts: 59
Joined: Sun Dec 02, 2007 4:41 pm
Location: Québec - Canada

Re: FahMon (multi-platform app to monitor various F@h client

Postby MtM » Tue Oct 19, 2010 11:55 am

UF could you post the changes in environment needed? I am using vs2010 and the 2.8.7 wxWidgets ( I think the only thing I have to do is update to the latest stable wxWidgets release but I would rather be certain then try it when it's something else preventing the project to run in the ide ).

@RAH for vs2010 the include and lib folders have to be linked in each project's references ( both curl and fahmon itself ). Just include the same locations as for vc++ 2008 there. Atleast that worked with the earlier builds, I think the reason it's throwing errors for me is that it's not longer running on the version of wxWidgets I have installed.

Edit: I was using 2.8.7 not 2.8.11 installing that now.

VS2010 wxWigets
build configuration manager -> unicode release
project properties-c/c++-code generation -> /MT

Then with both projects just go to project references and add the inlcude folders there. I got it finally running now ( just seconds, can't say anything ). I did also install wxWidgets on the same drive this time. not sure if it helps but I noticed some references in the code looking like it used relevant paths so it might.. idk.

Result from trying to compile ->
Code: Select all
1>------ Build started: Project: fahmon, Configuration: Release Win32 ------
1>  aboutDialog.cpp
1>  base64Codec.cpp
1>  benchmark.cpp
1>  benchmarksDialog.cpp
1>  benchmarksManager.cpp
1>  client.cpp
1>  clientDialog.cpp
1>  clientHelperThread.cpp
1>  clientsManager.cpp
1>  core.cpp
1>  dataInputStream.cpp
1>  dataOutputStream.cpp
1>  eta.cpp
1>  fahlogAnalyzer.cpp
1>  firstTimeDialog.cpp
1>  ftpConnection.cpp
1>  htmlParser.cpp
1>  httpDownloader.cpp
1>  listViewClients.cpp
1>  main.cpp
1>  Compiling...
1>  mainDialog.cpp
1>  messagesFrame.cpp
1>  messagesManager.cpp
1>  multiProtocolFile.cpp
1>  pathManager.cpp
1>  preference.cpp
1>  preferencesDialog.cpp
1>  preferencesManager.cpp
1>  progressManager.cpp
1>  project.cpp
1>  projectHelperThread.cpp
1>  projectsManager.cpp
1>  queue.cpp
1>  staticBoldedText.cpp
1>  tools.cpp
1>  trayManager.cpp
1>  webMonitor.cpp
1>  workUnitFrame.cpp
1>LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Last edited by MtM on Tue Oct 19, 2010 12:51 pm, edited 1 time in total.
MtM
 
Posts: 1579
Joined: Fri Jun 27, 2008 3:20 pm
Location: The Netherlands

Re: FahMon (multi-platform app to monitor various F@h client

Postby RAH » Tue Oct 19, 2010 12:50 pm

Well, I got it to compile with VS10, with warnings "LNK 4254". Still can't get it to work W7 64.
Won't throw out an error. Will have to try later. Got to go to VA.
User avatar
RAH
 
Posts: 131
Joined: Sun Dec 02, 2007 7:29 am
Location: Florida

Re: FahMon (multi-platform app to monitor various F@h client

Postby MtM » Tue Oct 19, 2010 12:52 pm

RAH could you tell me where I'm doing something wrong with compiling, it will not go past the point I posted above?

wxWidgets compilation is throwing allot of errors ->
Code: Select all
>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\gl.lib) does not match the Library's OutputFile property value (H:\wxWidgets-2.8.11\lib\vc_lib\wxmsw28u_gl.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(gl) does not match the Library's OutputFile property value (wxmsw28u_gl). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>  wx_gl.vcxproj -> H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\gl.lib
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\xrc.lib) does not match the Library's OutputFile property value (H:\wxWidgets-2.8.11\lib\vc_lib\wxmsw28u_xrc.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(xrc) does not match the Library's OutputFile property value (wxmsw28u_xrc). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
5>------ Build started: Project: xml, Configuration: Unicode Release Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\richtext.lib) does not match the Library's OutputFile property value (H:\wxWidgets-2.8.11\lib\vc_lib\wxmsw28u_richtext.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
4>  wx_xrc.vcxproj -> H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\xrc.lib
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(H:\wxWidgets-2.8.11\build\msw\.\..\..\lib\vc_lib\aui.lib) does not match the Library's OutputFile property value (H:\wxWidgets-2.8.11\lib\vc_lib\wxmsw28u_aui.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(aui) does not match the Library's OutputFile property value (wxmsw28u_aui). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(richtext) does not match the Library's OutputFile property value (wxmsw28u_richtext). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).


Edit: think I found it, didn't give it enough time to make the changes to setup.h when I set it to /MT, so only a few projects were actually compiled correctly, now letting it do it's thing and not be to impatient :)
MtM
 
Posts: 1579
Joined: Fri Jun 27, 2008 3:20 pm
Location: The Netherlands

Re: FahMon (multi-platform app to monitor various F@h client

Postby RAH » Tue Oct 19, 2010 1:25 pm

The only way I got it to work this far. I had to set up wxwidget 2.8.11 up with VS8. Then open it and chng to VS10 and compile.
Then compile wxcurl with VS10. Then compile fahmon with VS10. I put it in my fahmon folder, removed projects.dat, and started.
It just never opens. Will have to try a projects.htm, when I get back.
User avatar
RAH
 
Posts: 131
Joined: Sun Dec 02, 2007 7:29 am
Location: Florida

Re: FahMon (multi-platform app to monitor various F@h client

Postby MtM » Tue Oct 19, 2010 1:32 pm

I don't have 08, I compiled wxWidgets before with 10 but it just not being nice to me at all this time. I did found out why it didn't work, I even think I told UF what I had to do but I seem to have forgotten it myself :oops:

Now trying 'universal unicode release' instead of unicode release, judging from the ouptut I pasted above that might be it ;)
MtM
 
Posts: 1579
Joined: Fri Jun 27, 2008 3:20 pm
Location: The Netherlands

Re: FahMon (multi-platform app to monitor various F@h client

Postby uncle_fungus » Tue Oct 19, 2010 1:54 pm

Clean wxwidgets compilation instructions:

(wxwidgets is "installed" to C:\wxWidgets-2.8.11\ on my machine)

  • Open C:\wxWidgets-2.8.11\build\msw\wx.dsw
  • Allow VS10 to convert the project files
  • Change the release type to'Unicode Release'
  • Select all the wx components in the solution explorer
  • Right-click->Properties->Configuration Properties->C/C++->Code Generation, Change the runtime Library to /MT (actually this is less important, as long as FahMon is built against the same runtime library)
  • Build->Build Solution
User avatar
uncle_fungus
Site Admin
 
Posts: 1288
Joined: Fri Nov 30, 2007 10:37 am
Location: Oxfordshire, UK

Re: FahMon (multi-platform app to monitor various F@h client

Postby MtM » Tue Oct 19, 2010 2:04 pm

That's what I done but I can't get as far as RAH with getting fahmon to actually compile as it's complaining about 'LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib''

I'll clean wxWidgets and try again.
MtM
 
Posts: 1579
Joined: Fri Jun 27, 2008 3:20 pm
Location: The Netherlands

Re: FahMon (multi-platform app to monitor various F@h client

Postby uncle_fungus » Tue Oct 19, 2010 2:05 pm

Ah. I think I've got it! Some of the agressive stripping I'm applying to the binary prior to linking isn't playing nice with Vista/Windows 7 and is actually causing DEP to kick in and the C++ runtime to crash.
If you remove the contents of fahmon/src/include/resource.h for VS10, then it compiles and runs correctly (at least it does on my VM).
User avatar
uncle_fungus
Site Admin
 
Posts: 1288
Joined: Fri Nov 30, 2007 10:37 am
Location: Oxfordshire, UK

Re: FahMon (multi-platform app to monitor various F@h client

Postby uncle_fungus » Tue Oct 19, 2010 2:05 pm

MtM wrote:That's what I done but I can't get as far as RAH with getting fahmon to actually compile as it's complaining about 'LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib''

I'll clean wxWidgets and try again.


If I were you I'd nuke WX and start from scratch.
User avatar
uncle_fungus
Site Admin
 
Posts: 1288
Joined: Fri Nov 30, 2007 10:37 am
Location: Oxfordshire, UK

Re: FahMon (multi-platform app to monitor various F@h client

Postby RAH » Tue Oct 19, 2010 2:08 pm

Well this is what I have so far.

Code: Select all
 aboutDialog.cpp
  base64Codec.cpp
  benchmark.cpp
  benchmarksDialog.cpp
  benchmarksManager.cpp
  client.cpp
  clientDialog.cpp
  clientHelperThread.cpp
  clientsManager.cpp
  core.cpp
  dataInputStream.cpp
  dataOutputStream.cpp
  eta.cpp
  fahlogAnalyzer.cpp
  firstTimeDialog.cpp
  ftpConnection.cpp
  htmlParser.cpp
  httpDownloader.cpp
  listViewClients.cpp
  main.cpp
  Compiling...
  mainDialog.cpp
  messagesFrame.cpp
  messagesManager.cpp
  multiProtocolFile.cpp
  pathManager.cpp
  preference.cpp
  preferencesDialog.cpp
  preferencesManager.cpp
  progressManager.cpp
  project.cpp
  projectHelperThread.cpp
  projectsManager.cpp
  queue.cpp
  staticBoldedText.cpp
  tinystr.cpp
  tinyxml.cpp
  tinyxmlerror.cpp
  tinyxmlparser.cpp
  tools.cpp
  trayManager.cpp
  Compiling...
  webMonitor.cpp
  workUnitFrame.cpp
  Generating code
  Finished generating code
aboutDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
base64Codec.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
benchmark.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
benchmarksDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
benchmarksManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
client.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
clientDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
clientHelperThread.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
clientsManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
core.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
dataInputStream.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
dataOutputStream.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
eta.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
fahlogAnalyzer.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
firstTimeDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
ftpConnection.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
htmlParser.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
httpDownloader.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
listViewClients.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
main.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
mainDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
messagesFrame.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
messagesManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
multiProtocolFile.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
pathManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
preferencesDialog.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
preferencesManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
progressManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
project.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
projectHelperThread.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
projectsManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
queue.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
staticBoldedText.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
tools.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
trayManager.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
webMonitor.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
workUnitFrame.obj : warning LNK4254: section '.text' (60000020) merged into '.data' (C0000040) with different attributes
  fahmon.vcxproj -> C:\Users\Rick\Downloads\FahMon-2.3.99.2\FahMon-2.3.99.2\Release\fahmon.exe


But still won't start.
Error as far as I can tell, can be ignored.
User avatar
RAH
 
Posts: 131
Joined: Sun Dec 02, 2007 7:29 am
Location: Florida

Re: FahMon (multi-platform app to monitor various F@h client

Postby uncle_fungus » Tue Oct 19, 2010 2:11 pm

@RAH, Yes, that is what I'd expect. The LNK4254 warnings are the culprit in this case, as VS10 apparently does this differently to VS8. Remove the contents of resource.h, recompile and you won't get these warnings, and should get a working binary.
User avatar
uncle_fungus
Site Admin
 
Posts: 1288
Joined: Fri Nov 30, 2007 10:37 am
Location: Oxfordshire, UK

Re: FahMon (multi-platform app to monitor various F@h client

Postby uncle_fungus » Tue Oct 19, 2010 2:15 pm

I've uploaded my "working" binary here: http://fahmon.net/downloads/testing/fah ... ostrip.zip
If this does fix things (I.e it runs on Win7 and Vista) then I'll do a full rebuild and release again tonight.
User avatar
uncle_fungus
Site Admin
 
Posts: 1288
Joined: Fri Nov 30, 2007 10:37 am
Location: Oxfordshire, UK

PreviousNext

Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 1 guest

cron