Does anybody have any idea what do about the stdafx.h error?
use empty project instead of precompiled header. That is the only thign i know of that causes this issue.
Also, the Express and Professional edition are essentially the same, the Professional edition just comes with more languages and additional tools.
I am sure I'm using an empty project, but I continue to get this error. I've also tried simply commenting out the #include "stdafx.h"; statement. I can get it to compile that way, but when I try to run it it gives me an error that
"The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem."
I don't understand this error either, as I have placed the zlib.dll file in system32 as instructed.
EDIT: I got it to run by placing zlib.dll in the same directory as my compiled program. Now my problem is that whenever anybody tries to connect, their client gives an error about a IndexOutOfRange Exception. On my server side, though, it looks perfectly normal. No errors, it just says they connected and disconnected. Anybody have any ideas, or perhaps just zip a working solution for MinerCPP and send it to me?
The last two errors are from not including header file, possibly the structs.h that was added recently. The other 4 errors (LNK2005) seem to indicate that Visual Studio is not recompiling all the object files when you build. Try doing Build->Clean Project, then a rebuild and see what happens.
Does anybody have any idea what do about the stdafx.h error?
use empty project instead of precompiled header. That is the only thign i know of that causes this issue.
Also, the Express and Professional edition are essentially the same, the Professional edition just comes with more languages and additional tools.
I am sure I'm using an empty project, but I continue to get this error. I've also tried simply commenting out the #include "stdafx.h"; statement. I can get it to compile that way, but when I try to run it it gives me an error that
"The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem."
I don't understand this error either, as I have placed the zlib.dll file in system32 as instructed.
EDIT: I got it to run by placing zlib.dll in the same directory as my compiled program. Now my problem is that whenever anybody tries to connect, their client gives an error about a IndexOutOfRange Exception. On my server side, though, it looks perfectly normal. No errors, it just says they connected and disconnected. Anybody have any ideas, or perhaps just zip a working solution for MinerCPP and send it to me?
AHA! I finally figured it out! I somehow had a space in the #include statement. *Facepalm*
Zlib is acting retarded to me, running vista so it either throws a 32bit error or some folder or file path is changed, god can someone teamview me I have been at this for the last 3 days now and I am just going to quit if I can't get any help here.
use empty project instead of precompiled header. That is the only thign i know of that causes this issue.
Also, the Express and Professional edition are essentially the same, the Professional edition just comes with more languages and additional tools.
compile the source in branch. Trunk is currently broken.
I am sure I'm using an empty project, but I continue to get this error. I've also tried simply commenting out the #include "stdafx.h"; statement. I can get it to compile that way, but when I try to run it it gives me an error that
"The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem."
I don't understand this error either, as I have placed the zlib.dll file in system32 as instructed.
EDIT: I got it to run by placing zlib.dll in the same directory as my compiled program. Now my problem is that whenever anybody tries to connect, their client gives an error about a IndexOutOfRange Exception. On my server side, though, it looks perfectly normal. No errors, it just says they connected and disconnected. Anybody have any ideas, or perhaps just zip a working solution for MinerCPP and send it to me?
AHA! I finally figured it out! I somehow had a space in the #include statement. *Facepalm*