You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
i get LINK 1257 code generation failed. i cloned a few minutes ago, i use xmrig-deps no cmake errors still cant compile debug or release . any clues?
forgot to say, Visual Studio 2017.
Version of Visual Studio.
cmake command line used to create solution file.
cmake output from step 2.
Any other useful information.
Thank you.
cmake .. -G "Visual Studio 15 2017" -DXMRIG_DEPS=c:\xmrig-deps\msvc2017\x86
C:\Users\noseque11\Desktop\xmr1\xmrig-master\build>cmake .. -G "Visual Studio 15 2017" -DXMRIG_DEPS=c:\xmrig-deps\msvc2017\x86
-- The C compiler identification is MSVC 19.13.26131.1
-- The CXX compiler identification is MSVC 19.13.26131.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UV: C:/xmrig-deps/msvc2017/x86/lib/libuv.lib
-- Looking for syslog.h
-- Looking for syslog.h - not found
-- Found MHD: C:/xmrig-deps/msvc2017/x86/lib/libmicrohttpd.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/noseque11/Desktop/xmr1/xmrig-master/build
version 15.7.1 Visual Studio 2017
Did you update xmrig-deps to recent version v3.1? previous versions not compatible with MSVC 15.7.
If yes it might local issue, I checked build all compiled fine.
Thank you.
super flustrated, I just downloaded 3.1 deps and cmake again but cant get it to compile same error. 👎
where can I edit VS compiler settings I cant find the -Ot flag enyware. Everyday I hate more visual studio and fall in love with command line compilers 💯
wanted to let u know it was a local issue. unistalled every sdk /compiler/libraries i had in the system unistalled visual studio, reinstalled visual studio and cmake. After long hours it now compiles fine with visual studio 2017 and 3.1 deps. thank u for the support. i think this issue can be marked as resolved as it wasn't a code error but it might help other who had same issue.
This happened to me after visual studio automatically upgraded. I use Matlab 2015b with Microsoft Visual C++ 2017
I changed the following things in the .vcxproj project file and now Mex compiles:
For each configuration:
changed to
changed to
Delete the following line (in PropertyGroup) 10.0.17134.0