-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS 15 build error #15
Comments
Are you building on Windows 7 ? I was able to build on Windows 7 by using the Windows 8.1 SDK If not, make sure your linker paths are setup correct. That is, you need to link against the included rapidjson and crypto directories: C:\dimecoin\projects\xmr-stak-cpu\crypto;C:\dimecoin\projects\xmr-stak-cpu\rapidjson;%(AdditionalLibraryDirectories) |
Im using Windows 10. I tried to put
to Additional Library Directories but it didn't fix the problem. |
Did you add files as existing items or as reference? |
I added the files using File, New, Project From Existing Code and chose Visual C++ and then I just chose the folder location. |
ah, I see, I just did new project. you also need to link again 'ws2_32.lib' |
That fixed the problem. Thank you! |
dimecoin - rapidjson is all header files, nothing to link against crypto is c, but msvc will link it as long as it is added to the project. |
Yea, I was wrong here. Those don't need to be in lib path. Just need to link against 'ws2_32.lib' and it should work. |
thank you @dimecoin :) |
I'm trying to compile this miner using VS 15 and I'm getting this error. Is there anything I'm missing?
The text was updated successfully, but these errors were encountered: