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

MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

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

Post by MtM »

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 :)
RAH
Posts: 131
Joined: Sun Dec 02, 2007 6:29 am
Hardware configuration: 1. C2Q 8200@2880 / W7Pro64 / SMP2 / 2 GPU - GTS250/GTS450
2. C2D 6300@3600 / XPsp3 / SMP2 / 1 GPU - GT240
Location: Florida

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

Post by RAH »

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.
Image
MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

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

Post by MtM »

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 ;)
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

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
MtM
Posts: 1579
Joined: Fri Jun 27, 2008 2:20 pm
Hardware configuration: Q6600 - 8gb - p5q deluxe - gtx275 - hd4350 ( not folding ) win7 x64 - smp:4 - gpu slot
E6600 - 4gb - p5wdh deluxe - 9600gt - 9600gso - win7 x64 - smp:2 - 2 gpu slots
E2160 - 2gb - ?? - onboard gpu - win7 x32 - 2 uniprocessor slots
T5450 - 4gb - ?? - 8600M GT 512 ( DDR2 ) - win7 x64 - smp:2 - gpu slot
Location: The Netherlands
Contact:

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

Post by MtM »

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.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

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).
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

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.
RAH
Posts: 131
Joined: Sun Dec 02, 2007 6:29 am
Hardware configuration: 1. C2Q 8200@2880 / W7Pro64 / SMP2 / 2 GPU - GTS250/GTS450
2. C2D 6300@3600 / XPsp3 / SMP2 / 1 GPU - GT240
Location: Florida

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

Post by RAH »

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.
Image
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

@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.
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

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.
RAH
Posts: 131
Joined: Sun Dec 02, 2007 6:29 am
Hardware configuration: 1. C2Q 8200@2880 / W7Pro64 / SMP2 / 2 GPU - GTS250/GTS450
2. C2D 6300@3600 / XPsp3 / SMP2 / 1 GPU - GT240
Location: Florida

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

Post by RAH »

Ok! That seems to work. Got it running on W7 64. Will let it go while I'm out, and let you know if anything comes up.

OK, proj.htm built. Holding so far.
Image
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

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

Post by PantherX »

When I try to run the fahmon.exe on Windows 7 64 bit, I get:
The program can't start because MSVCP100.dll is missing from your computer. Try reinstalling the program to fix this problem
I guess I am doing something wrong :(
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

Yeah, I linked the test exe against the newest c++ runtime library. You will need to download it from here: http://www.microsoft.com/downloads/en/d ... 50143d5867

For release, I'll use the static library again.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

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

Post by PantherX »

It works after I installed both the 32 bit and 64 bit version of the C++ on my Windows 7 64 bit system. I also checked it on my Windows 32 bit system and it is working fine after I install the 32 bit version of C++. However, it doesn't show the bonus points so do I have to do something special for that? FYI, I exited the previous version of FahMon before starting the new one.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
uncle_fungus
Site Admin
Posts: 1288
Joined: Fri Nov 30, 2007 9:37 am
Location: Oxfordshire, UK

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

Post by uncle_fungus »

Nope, should "just work", as long as the projects list is up to date.
Post Reply