|
-
March 29th, 2018, 12:44 AM
#1
[RESOLVED] Error while statically linking Libsodium
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
I'm not sure why I would be getting linker errors, does anyone spot anything wrong with the code?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|