[quote="sledgehammer_999"]
The point of me doing a statically linked binary(no dlls) was to avoid depending on MSVC2008 dlls. Because they need to be installed on end machines. Up until now, I thought that it worked. Obviously I have overlooked something.
[/quote]
ZLib maybe?
qBittorrent System Requirements
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: qBittorrent System Requirements
@qRegret
I can confirm that there is a dependency on msvc2008. But it isn't a hard one. Explanation for the techie users:
The binary has a manifest embedded in it by the compiler. This manifest can contain many things. Among them are dll dependencies. In our case, the linker embeds a dependency on the msvc2008 runtime ALTHOUGH it is not needed since we statically link against it. I can confirm this, because I used "resource hacker" to remove that specific dependency from the emdedded manifest and the binary was LOADED without errors on a clean install of Windows XP.
Also dependency walker wasn't much helpful. The only indication to a problem with SxS assemblies was with an obscure message in its log window. The module tree didn't indicate the dependency on msvc2008 dll. Frankly, it was a lucky guess to go and investigate the embedded manifest!
Now the real problem is to track down my build instructions and see how I can tell the linker to remove that dependency.
I can confirm that there is a dependency on msvc2008. But it isn't a hard one. Explanation for the techie users:
The binary has a manifest embedded in it by the compiler. This manifest can contain many things. Among them are dll dependencies. In our case, the linker embeds a dependency on the msvc2008 runtime ALTHOUGH it is not needed since we statically link against it. I can confirm this, because I used "resource hacker" to remove that specific dependency from the emdedded manifest and the binary was LOADED without errors on a clean install of Windows XP.
Also dependency walker wasn't much helpful. The only indication to a problem with SxS assemblies was with an obscure message in its log window. The module tree didn't indicate the dependency on msvc2008 dll. Frankly, it was a lucky guess to go and investigate the embedded manifest!
Now the real problem is to track down my build instructions and see how I can tell the linker to remove that dependency.
Last edited by sledgehammer_999 on Sat Jul 13, 2013 6:39 pm, edited 1 time in total.
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: qBittorrent System Requirements
Problem found. And Dayman was correct...
I was linking zlib dynamically against the vc2008 runtime and that made the linker to output a manifest which dependent on that runtime...
Anyway, problem fixed.
I was linking zlib dynamically against the vc2008 runtime and that made the linker to output a manifest which dependent on that runtime...
Anyway, problem fixed.
Re: qBittorrent System Requirements
[quote="sledgehammer_999"]linking zlib dynamically against the vc2008 runtime[/quote]
Hey sledge,
Just to be sure... does this mean that future versions of qBittorrent will not require the run time package to be installed on my old XP/2003 boxes?
Hey sledge,
Just to be sure... does this mean that future versions of qBittorrent will not require the run time package to be installed on my old XP/2003 boxes?
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: qBittorrent System Requirements
YES, the runtime won't be needed. I wish I had taken notice of this sooner. :S
Re: qBittorrent System Requirements
Hey sledge,
I gotta admit that as a guy who
1. Still runs a decade old operating system by choice
2. Frequently refuses to upgrade software just because the new version has a higher number and
3. Passed over a smokin' hot chick just because her favourite PC game is Java dependent
... I frequently find myself at odds with developers. I get pretty bent out of shape about bloatware and typically have a big mouth about it... I love to be first in line to ride someone's ass if I think they suck, and as such I have to be the first to commend someone when they don't suck.
I truly would expect most developers to tell me to "get over it and install the run time package like everyone else in the world". Instead you jumped on the opportunity to keep qBittorrent free of external dependencies, and fixed it in about 48 hours. qBittorrent runs pretty lean, and I think that speaks volumes about how you (and the other qBittorrent developers) treat the application. I never paid for qBittorrent, and yet I find that your support of it exceeds what people would usually see from companies that are actually drawing a reasonable salary from their apps.
I tip my hat sir.
I gotta admit that as a guy who
1. Still runs a decade old operating system by choice
2. Frequently refuses to upgrade software just because the new version has a higher number and
3. Passed over a smokin' hot chick just because her favourite PC game is Java dependent
... I frequently find myself at odds with developers. I get pretty bent out of shape about bloatware and typically have a big mouth about it... I love to be first in line to ride someone's ass if I think they suck, and as such I have to be the first to commend someone when they don't suck.
I truly would expect most developers to tell me to "get over it and install the run time package like everyone else in the world". Instead you jumped on the opportunity to keep qBittorrent free of external dependencies, and fixed it in about 48 hours. qBittorrent runs pretty lean, and I think that speaks volumes about how you (and the other qBittorrent developers) treat the application. I never paid for qBittorrent, and yet I find that your support of it exceeds what people would usually see from companies that are actually drawing a reasonable salary from their apps.
I tip my hat sir.
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: qBittorrent System Requirements
Thank you.