Closed xlongji closed 6 years ago
I have no idea, but unless you specifically need to recompile it, you should just use the precompiled DLLs: https://download.libsodium.org/libsodium/releases/
The -msvc package includes precompiled libraries for multiple versions of Visual Studio, including VS2017.
@xlongji,
I cannot duplicate from a VS2017 Developer command prompt from the VS2017 Build Tools.
Perhaps you can provide more information.
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.0
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>cd %D%
C:\Users\Test\Desktop>cd libsodium
C:\Users\Test\Desktop\libsodium>msbuild /t:Build /p:Configuration=Debug;Platform
=Win32
Microsoft (R) Build Engine version 15.5.179.9764 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
Build started 1/21/2018 9:52:41 PM.
Project "C:\Users\Test\Desktop\libsodium\libsodium.sln" on node 1 (Build target
(s)).
ValidateSolutionConfiguration:
Building solution configuration "Debug|Win32".
Project "C:\Users\Test\Desktop\libsodium\libsodium.sln" (1) is building "C:\Use
rs\Test\Desktop\libsodium\libsodium.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Interme
diate\".
Creating directory "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Interme
diate\libsodium.tlog\".
InitializeBuildStatus:
Creating "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\libs
odium.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
PreBuildEvent:
Description: Process .in files
"C:\Users\Test\Desktop\libsodium\/msvc-scripts/process.bat"
:VCEnd
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /IC:\Use
rs\Test\Desktop\libsodium\ /IC:\Users\Test\Desktop\libsodium\src\libsodium\in
clude\sodium /IC:\Users\Test\Desktop\libsodium\src\libsodium\include\sodium /
IC:\Users\Test\Desktop\libsodium\src\libsodium\include /IC:\Users\Test\Deskto
p\libsodium\ /IC:\Users\Test\Desktop\libsodium\src\libsodium\include\sodium /
IC:\Users\Test\Desktop\libsodium\src\libsodium\include /ZI /nologo /W3 /WX- /
MP /Od /Oy- /D SODIUM_STATIC /D SODIUM_EXPORT= /D WIN32 /D _DEBUG /D _CONSOLE
/D inline=__inline /D NATIVE_LITTLE_ENDIAN=1 /D UNICODE /D _UNICODE /D _MBCS
/Gm /EHsc /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\\" /Fd"C:\Use
rs\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\libsodium.pdb" /Gd /
TC /wd4244 /analyze- /errorReport:queue src\libsodium\crypto_generichash\cryp
to_generichash.c src\libsodium\crypto_generichash\blake2b\generichash_blake2.
c "src\libsodium\crypto_generichash\blake2b\ref\blake2b-compress-ref.c" "src\
libsodium\crypto_generichash\blake2b\ref\blake2b-compress-ssse3.c" "src\libso
dium\crypto_generichash\blake2b\ref\blake2b-compress-avx2.c" "src\libsodium\c
rypto_generichash\blake2b\ref\blake2b-compress-sse41.c" src\libsodium\crypto_
generichash\blake2b\ref\generichash_blake2b.c "src\libsodium\crypto_genericha
sh\blake2b\ref\blake2b-ref.c" src\libsodium\crypto_kx\crypto_kx.c src\libsodi
um\crypto_sign\crypto_sign.c src\libsodium\crypto_sign\ed25519\sign_ed25519.c
src\libsodium\crypto_sign\ed25519\ref10\obsolete.c src\libsodium\crypto_sign
\ed25519\ref10\sign.c src\libsodium\crypto_sign\ed25519\ref10\keypair.c src\l
ibsodium\crypto_sign\ed25519\ref10\open.c src\libsodium\crypto_secretbox\cryp
to_secretbox.c src\libsodium\crypto_secretbox\crypto_secretbox_easy.c src\lib
sodium\crypto_secretbox\xsalsa20poly1305\secretbox_xsalsa20poly1305.c src\lib
sodium\crypto_secretbox\xchacha20poly1305\secretbox_xchacha20poly1305.c src\l
ibsodium\crypto_pwhash\crypto_pwhash.c "src\libsodium\crypto_pwhash\argon2\bl
ake2b-long.c" "src\libsodium\crypto_pwhash\argon2\argon2-core.c" "src\libsodi
um\crypto_pwhash\argon2\argon2-fill-block-avx512f.c" "src\libsodium\crypto_pw
hash\argon2\argon2-fill-block-ref.c" "src\libsodium\crypto_pwhash\argon2\argo
n2-fill-block-ssse3.c" src\libsodium\crypto_pwhash\argon2\pwhash_argon2i.c sr
c\libsodium\crypto_pwhash\argon2\pwhash_argon2id.c src\libsodium\crypto_pwhas
h\argon2\argon2.c "src\libsodium\crypto_pwhash\argon2\argon2-fill-block-avx2.
c" "src\libsodium\crypto_pwhash\argon2\argon2-encoding.c" src\libsodium\crypt
o_pwhash\scryptsalsa208sha256\scrypt_platform.c "src\libsodium\crypto_pwhash\
scryptsalsa208sha256\crypto_scrypt-common.c" src\libsodium\crypto_pwhash\scry
ptsalsa208sha256\pwhash_scryptsalsa208sha256.c "src\libsodium\crypto_pwhash\s
cryptsalsa208sha256\pbkdf2-sha256.c" src\libsodium\crypto_pwhash\scryptsalsa2
08sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c src\libsodium\crypto_pwhas
h\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c src\libsodium\cr
ypto_verify\sodium\verify.c src\libsodium\crypto_auth\crypto_auth.c src\libso
dium\crypto_auth\hmacsha512\auth_hmacsha512.c src\libsodium\crypto_auth\hmacs
ha512256\auth_hmacsha512256.c src\libsodium\crypto_auth\hmacsha256\auth_hmacs
ha256.c src\libsodium\crypto_kdf\crypto_kdf.c src\libsodium\crypto_kdf\blake2
b\kdf_blake2b.c src\libsodium\crypto_shorthash\crypto_shorthash.c src\libsodi
um\crypto_shorthash\siphash24\shorthash_siphash24.c src\libsodium\crypto_shor
thash\siphash24\shorthash_siphashx24.c src\libsodium\crypto_shorthash\siphash
24\ref\shorthash_siphashx24_ref.c src\libsodium\crypto_shorthash\siphash24\re
f\shorthash_siphash24_ref.c src\libsodium\crypto_scalarmult\crypto_scalarmult
.c src\libsodium\crypto_scalarmult\ed25519\ref10\scalarmult_ed25519_ref10.c s
rc\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.c src\libsodi
um\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c src\libsodium\cr
ypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c src\libsodium\crypt
o_scalarmult\curve25519\sandy2x\fe51_invert.c src\libsodium\crypto_scalarmult
\curve25519\ref10\x25519_ref10.c src\libsodium\crypto_onetimeauth\crypto_onet
imeauth.c src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.c sr
c\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.c src\libsodium\
crypto_onetimeauth\poly1305\sse2\poly1305_sse2.c src\libsodium\randombytes\ra
ndombytes.c src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c src\l
ibsodium\randombytes\salsa20\randombytes_salsa20_random.c src\libsodium\rando
mbytes\nativeclient\randombytes_nativeclient.c src\libsodium\crypto_box\crypt
o_box_easy.c src\libsodium\crypto_box\crypto_box_seal.c src\libsodium\crypto_
box\crypto_box.c src\libsodium\crypto_box\curve25519xsalsa20poly1305\box_curv
e25519xsalsa20poly1305.c src\libsodium\crypto_box\curve25519xchacha20poly1305
\box_curve25519xchacha20poly1305.c src\libsodium\crypto_box\curve25519xchacha
20poly1305\box_seal_curve25519xchacha20poly1305.c src\libsodium\sodium\codecs
.c src\libsodium\sodium\runtime.c src\libsodium\sodium\core.c src\libsodium\s
odium\utils.c src\libsodium\sodium\version.c src\libsodium\crypto_stream\cryp
to_stream.c src\libsodium\crypto_stream\xchacha20\stream_xchacha20.c src\libs
odium\crypto_stream\chacha20\stream_chacha20.c src\libsodium\crypto_stream\ch
acha20\ref\chacha20_ref.c "src\libsodium\crypto_stream\chacha20\dolbeau\chach
a20_dolbeau-avx2.c" "src\libsodium\crypto_stream\chacha20\dolbeau\chacha20_do
lbeau-ssse3.c" src\libsodium\crypto_stream\salsa20\stream_salsa20.c src\libso
dium\crypto_stream\salsa20\ref\salsa20_ref.c "src\libsodium\crypto_stream\sal
sa20\xmm6int\salsa20_xmm6int-avx2.c" "src\libsodium\crypto_stream\salsa20\xmm
6int\salsa20_xmm6int-sse2.c" src\libsodium\crypto_stream\salsa20\xmm6\salsa20
_xmm6.c src\libsodium\crypto_stream\salsa2012\stream_salsa2012.c src\libsodiu
m\crypto_stream\salsa2012\ref\stream_salsa2012_ref.c src\libsodium\crypto_str
eam\salsa208\stream_salsa208.c src\libsodium\crypto_stream\salsa208\ref\strea
m_salsa208_ref.c src\libsodium\crypto_stream\xsalsa20\stream_xsalsa20.c src\l
ibsodium\crypto_hash\crypto_hash.c src\libsodium\crypto_hash\sha512\hash_sha5
12.c src\libsodium\crypto_hash\sha512\cp\hash_sha512_cp.c src\libsodium\crypt
o_hash\sha256\hash_sha256.c src\libsodium\crypto_hash\sha256\cp\hash_sha256_c
p.c src\libsodium\crypto_aead\xchacha20poly1305\sodium\aead_xchacha20poly1305
.c src\libsodium\crypto_aead\aes256gcm\aesni\aead_aes256gcm_aesni.c src\libso
dium\crypto_aead\chacha20poly1305\sodium\aead_chacha20poly1305.c src\libsodiu
m\crypto_secretstream\xchacha20poly1305\secretstream_xchacha20poly1305.c src\
libsodium\crypto_core\salsa\ref\core_salsa_ref.c src\libsodium\crypto_core\hc
hacha20\core_hchacha20.c src\libsodium\crypto_core\hsalsa20\core_hsalsa20.c s
rc\libsodium\crypto_core\hsalsa20\ref2\core_hsalsa20_ref2.c src\libsodium\cry
pto_core\ed25519\core_ed25519.c src\libsodium\crypto_core\ed25519\ref10\ed255
19_ref10.c
cl : Command line warning D9030: '/Gm' is incompatible with multiprocessing; ig
noring /MP switch [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
ed25519_ref10.c
core_ed25519.c
core_hsalsa20_ref2.c
core_hsalsa20.c
core_hchacha20.c
core_salsa_ref.c
secretstream_xchacha20poly1305.c
aead_chacha20poly1305.c
aead_aes256gcm_aesni.c
aead_xchacha20poly1305.c
hash_sha256_cp.c
hash_sha256.c
hash_sha512_cp.c
hash_sha512.c
crypto_hash.c
stream_xsalsa20.c
stream_salsa208_ref.c
stream_salsa208.c
stream_salsa2012_ref.c
stream_salsa2012.c
Generating Code...
Compiling...
salsa20_xmm6.c
salsa20_xmm6int-sse2.c
salsa20_xmm6int-avx2.c
salsa20_ref.c
stream_salsa20.c
chacha20_dolbeau-ssse3.c
chacha20_dolbeau-avx2.c
chacha20_ref.c
stream_chacha20.c
stream_xchacha20.c
crypto_stream.c
version.c
utils.c
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(165): warning C419
7: 'volatile const unsigned char *volatile ': top-level volatile in cast is ign
ored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(167): warning C419
7: 'volatile const unsigned char *volatile ': top-level volatile in cast is ign
ored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(205): warning C419
7: 'volatile const unsigned char *volatile ': top-level volatile in cast is ign
ored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(207): warning C419
7: 'volatile const unsigned char *volatile ': top-level volatile in cast is ign
ored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(699): warning C414
6: unary minus operator applied to unsigned type, result still unsigned [C:\Use
rs\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(723): warning C414
6: unary minus operator applied to unsigned type, result still unsigned [C:\Use
rs\Test\Desktop\libsodium\libsodium.vcxproj]
core.c
runtime.c
codecs.c
box_seal_curve25519xchacha20poly1305.c
box_curve25519xchacha20poly1305.c
box_curve25519xsalsa20poly1305.c
crypto_box.c
Generating Code...
Compiling...
crypto_box_seal.c
crypto_box_easy.c
randombytes_nativeclient.c
randombytes_salsa20_random.c
randombytes_sysrandom.c
randombytes.c
poly1305_sse2.c
poly1305_donna.c
onetimeauth_poly1305.c
crypto_onetimeauth.c
x25519_ref10.c
fe51_invert.c
fe_frombytes_sandy2x.c
curve25519_sandy2x.c
scalarmult_curve25519.c
scalarmult_ed25519_ref10.c
crypto_scalarmult.c
shorthash_siphash24_ref.c
shorthash_siphashx24_ref.c
shorthash_siphashx24.c
Generating Code...
Compiling...
shorthash_siphash24.c
crypto_shorthash.c
kdf_blake2b.c
crypto_kdf.c
auth_hmacsha256.c
auth_hmacsha512256.c
auth_hmacsha512.c
crypto_auth.c
verify.c
c:\users\Test\desktop\libsodium\src\libsodium\crypto_verify\sodium\verify.c(68)
: warning C4197: 'volatile const unsigned char *volatile ': top-level volatile
in cast is ignored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\crypto_verify\sodium\verify.c(70)
: warning C4197: 'volatile const unsigned char *volatile ': top-level volatile
in cast is ignored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
pwhash_scryptsalsa208sha256_sse.c
pwhash_scryptsalsa208sha256_nosse.c
pbkdf2-sha256.c
pwhash_scryptsalsa208sha256.c
crypto_scrypt-common.c
scrypt_platform.c
argon2-encoding.c
argon2-fill-block-avx2.c
argon2.c
pwhash_argon2id.c
pwhash_argon2i.c
Generating Code...
Compiling...
argon2-fill-block-ssse3.c
argon2-fill-block-ref.c
argon2-fill-block-avx512f.c
argon2-core.c
blake2b-long.c
crypto_pwhash.c
secretbox_xchacha20poly1305.c
secretbox_xsalsa20poly1305.c
crypto_secretbox_easy.c
crypto_secretbox.c
open.c
keypair.c
sign.c
obsolete.c
sign_ed25519.c
crypto_sign.c
crypto_kx.c
blake2b-ref.c
generichash_blake2b.c
blake2b-compress-sse41.c
Generating Code...
c:\users\Test\desktop\libsodium\src\libsodium\crypto_pwhash\crypto_pwhash.c(171
): warning C4715: 'crypto_pwhash_str_alg': not all control paths return a value
[C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
Compiling...
blake2b-compress-avx2.c
blake2b-compress-ssse3.c
blake2b-compress-ref.c
generichash_blake2.c
crypto_generichash.c
Generating Code...
ResourceCompile:
C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe /l"0x0409" /nologo /fo
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\resource.res"
builds\msvc\resource.rc
Lib:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\Lib.exe /OUT:"C:\U
sers\Test\Desktop\libsodium\Build\Debug\Win32\libsodium.lib" /NOLOGO C:\Users
\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\resource.res
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_generic
hash.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\generichash_bl
ake2.obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-compr
ess-ref.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-compr
ess-ssse3.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-compr
ess-avx2.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-compr
ess-sse41.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\generichash_bl
ake2b.obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-ref.o
bj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_kx.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_sign.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\sign_ed25519.o
bj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\obsolete.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\sign.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\keypair.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\open.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_secretb
ox.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_secretb
ox_easy.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\secretbox_xsal
sa20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\secretbox_xcha
cha20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_pwhash.
obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\blake2b-long.
obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-core.o
bj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-fill-b
lock-avx512f.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-fill-b
lock-ref.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-fill-b
lock-ssse3.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pwhash_argon2i
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pwhash_argon2i
d.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2.obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-fill-b
lock-avx2.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\argon2-encodi
ng.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\scrypt_platfor
m.obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_scrypt
-common.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pwhash_scrypts
alsa208sha256.obj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pbkdf2-sha256
.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pwhash_scrypts
alsa208sha256_nosse.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\pwhash_scrypts
alsa208sha256_sse.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\verify.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_auth.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\auth_hmacsha51
2.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\auth_hmacsha51
2256.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\auth_hmacsha25
6.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_kdf.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\kdf_blake2b.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_shortha
sh.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\shorthash_siph
ash24.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\shorthash_siph
ashx24.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\shorthash_siph
ashx24_ref.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\shorthash_siph
ash24_ref.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_scalarm
ult.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\scalarmult_ed2
5519_ref10.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\scalarmult_cur
ve25519.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\curve25519_san
dy2x.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\fe_frombytes_s
andy2x.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\fe51_invert.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\x25519_ref10.o
bj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_onetime
auth.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\onetimeauth_po
ly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\poly1305_donna
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\poly1305_sse2.
obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\randombytes.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\randombytes_sy
srandom.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\randombytes_sa
lsa20_random.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\randombytes_na
tiveclient.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_box_eas
y.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_box_sea
l.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_box.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\box_curve25519
xsalsa20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\box_curve25519
xchacha20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\box_seal_curve
25519xchacha20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\codecs.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\runtime.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\utils.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\version.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_stream.
obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_xchacha
20.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_chacha2
0.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\chacha20_ref.o
bj
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\chacha20_dolb
eau-avx2.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\chacha20_dolb
eau-ssse3.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_salsa20
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\salsa20_ref.ob
j
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\salsa20_xmm6i
nt-avx2.obj"
"C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\salsa20_xmm6i
nt-sse2.obj"
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\salsa20_xmm6.o
bj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_salsa20
12.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_salsa20
12_ref.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_salsa20
8.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_salsa20
8_ref.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\stream_xsalsa2
0.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\crypto_hash.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\hash_sha512.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\hash_sha512_cp
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\hash_sha256.ob
j
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\hash_sha256_cp
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\aead_xchacha20
poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\aead_aes256gcm
_aesni.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\aead_chacha20p
oly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\secretstream_x
chacha20poly1305.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core_salsa_ref
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core_hchacha20
.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core_hsalsa20.
obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core_hsalsa20_
ref2.obj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\core_ed25519.o
bj
C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\ed25519_ref10.
obj
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 [C:\Users\Jef
f\Desktop\libsodium\libsodium.vcxproj]
libsodium.vcxproj -> C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\libsod
ium.lib
CopyFilesToOutputDirectory:
Copying file from "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermed
iate\libsodium.pdb" to "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\lib
sodium.pdb".
PostBuildEvent:
Description: Run the test suite
"C:\Users\Test\Desktop\libsodium\/test/default/wintest.bat" Debug Win32
:VCEnd
Running the test suite:
aead_aes256gcm.c ok
aead_chacha20poly1305.c ok
aead_xchacha20poly1305.c ok
auth.c ok
auth2.c ok
auth3.c ok
auth5.c ok
auth6.c ok
auth7.c ok
box.c ok
box2.c ok
box7.c ok
box8.c ok
box_easy.c ok
box_easy2.c ok
box_seal.c ok
box_seed.c ok
chacha20.c ok
codecs.c ok
core1.c ok
core2.c ok
core3.c ok
core4.c ok
core5.c ok
core6.c ok
core_ed25519.c ok
ed25519_convert.c ok
generichash.c ok
generichash2.c ok
generichash3.c ok
hash.c ok
hash3.c ok
kdf.c ok
keygen.c ok
kx.c ok
metamorphic.c ok
misuse.c ok
onetimeauth.c ok
onetimeauth2.c ok
onetimeauth7.c ok
pwhash_argon2i.c ok
pwhash_argon2id.c ok
pwhash_scrypt.c ok
pwhash_scrypt_ll.c ok
randombytes.c ok
scalarmult.c ok
scalarmult2.c ok
scalarmult5.c ok
scalarmult6.c ok
scalarmult7.c ok
scalarmult_ed25519.c ok
secretbox.c ok
secretbox2.c ok
secretbox7.c ok
secretbox8.c ok
secretbox_easy.c ok
secretbox_easy2.c ok
secretstream.c ok
shorthash.c ok
sign.c ok
siphashx24.c ok
sodium_core.c ok
sodium_utils.c ok
sodium_utils2.c ok
sodium_utils3.c ok
sodium_version.c ok
stream.c ok
stream2.c ok
stream3.c ok
stream4.c ok
verify1.c ok
xchacha20.c ok
FinalizeBuildStatus:
Deleting file "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate
\libsodium.tlog\unsuccessfulbuild".
Touching "C:\Users\Test\Desktop\libsodium\Build\Debug\Win32\Intermediate\libs
odium.tlog\libsodium.lastbuildstate".
Done Building Project "C:\Users\Test\Desktop\libsodium\libsodium.vcxproj" (defa
ult targets).
Done Building Project "C:\Users\Test\Desktop\libsodium\libsodium.sln" (Build ta
rget(s)).
Build succeeded.
"C:\Users\Test\Desktop\libsodium\libsodium.sln" (Build target) (1) ->
"C:\Users\Test\Desktop\libsodium\libsodium.vcxproj" (default target) (2) ->
(ClCompile target) ->
cl : Command line warning D9030: '/Gm' is incompatible with multiprocessing;
ignoring /MP switch [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(165): warning C4
197: 'volatile const unsigned char *volatile ': top-level volatile in cast is i
gnored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(167): warning C4
197: 'volatile const unsigned char *volatile ': top-level volatile in cast is i
gnored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(205): warning C4
197: 'volatile const unsigned char *volatile ': top-level volatile in cast is i
gnored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(207): warning C4
197: 'volatile const unsigned char *volatile ': top-level volatile in cast is i
gnored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(699): warning C4
146: unary minus operator applied to unsigned type, result still unsigned [C:\U
sers\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\sodium\utils.c(723): warning C4
146: unary minus operator applied to unsigned type, result still unsigned [C:\U
sers\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\crypto_verify\sodium\verify.c(6
8): warning C4197: 'volatile const unsigned char *volatile ': top-level volatil
e in cast is ignored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\crypto_verify\sodium\verify.c(7
0): warning C4197: 'volatile const unsigned char *volatile ': top-level volatil
e in cast is ignored [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
c:\users\Test\desktop\libsodium\src\libsodium\crypto_pwhash\crypto_pwhash.c(1
71): warning C4715: 'crypto_pwhash_str_alg': not all control paths return a val
ue [C:\Users\Test\Desktop\libsodium\libsodium.vcxproj]
"C:\Users\Test\Desktop\libsodium\libsodium.sln" (Build target) (1) ->
"C:\Users\Test\Desktop\libsodium\libsodium.vcxproj" (default target) (2) ->
(Lib target) ->
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 [C:\Users\T
est\Desktop\libsodium\libsodium.vcxproj]
11 Warning(s)
0 Error(s)
Time Elapsed 00:02:26.08
C:\Users\Test\Desktop\libsodium>
[off-topic]
Hi, When I try to open the project file libsodium.sln on VS2017 for Windows I get this error: libsodium.vcxproj: Not find the application witch this project type based on.
How should I do ?
Thanks for your help xlongji@163.com