Skip to content
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

Fatal error when building project #101

Closed
Valke88 opened this issue Sep 8, 2017 · 3 comments
Closed

Fatal error when building project #101

Valke88 opened this issue Sep 8, 2017 · 3 comments
Labels

Comments

@Valke88
Copy link

Valke88 commented Sep 8, 2017

Hi,

I get a fatal error while compiling:

4>App.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
4>LINK : fatal error C1047: The object or library file 'C:\libuv-msvc2017-x64\lib\libuv.lib' was created with an older compiler than other objects; rebuild old objects and libraries
4>LINK : fatal error LNK1257: code generation failed
4>Done building project "xmrig.vcxproj" -- FAILED.
5>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------
5>Project not selected to build for this solution configuration
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

It does work when i use the libuv from https://dist.libuv.org/dist/
But then libuv.dll is missing when i open xmrig.exe after compiling.

Any solutions?

Regards, Valke

@xmrig
Copy link
Owner

xmrig commented Sep 8, 2017

I build this library with Visual Studio 2017 version 15.2 you probably run version 15.3.
There 2 options:

@Valke88
Copy link
Author

Valke88 commented Sep 8, 2017

Thanks mate

@xmrig xmrig added the bug label Sep 8, 2017
@xmrig
Copy link
Owner

xmrig commented Sep 8, 2017

I updated dependencies https://github.com/xmrig/xmrig-deps/releases/tag/v2
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants