Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3027

Error while statically linking Libsodium

$
0
0
It appears that I'm linking libsodium correctly, but I'm getting linker errors for _sodium_init, I'm using Visual Studio 2015, and the libsodium.lib (prebuilt) for msvc 140 (for vs2015). The project is c++. This is how my setting look for linker: http://prntscr.com/ixv042 For additional includes, my settings look like this: http://prntscr.com/ixv0mg The folder that the project resides in looks like this: http://prntscr.com/ixv0vw I'm including sodium.h as so: http://prntscr.com/ixv1go and of course, in main() I'm doing Code: --------- sodium_init() --------- I'm not sure why I would be getting linker errors, does anyone spot anything wrong with the code?

Viewing all articles
Browse latest Browse all 3027

Latest Images

Trending Articles



Latest Images