Skip to content

Why does sodium/version.h.in exist but not version.h? #1421

Answered by jedisct1
matkatmusic asked this question in Q&A
Discussion options

You must be logged in to vote

version.h.in is only used internally by the build process. It's not part of the files that are installed.

If you are using autoconf, when you type make install, the library files are installed in ${prefix}/lib and the header files in ${prefix}/include. With prefix being /usr/local by default, or whatever follows the --prefix parameter given to the ./configure command. This is what you should use in your applications.

If you are using Zig, after you type zig build -Doptimize=ReleaseFast (or whatever), the libraries are in zig-out/lib and the header files in zig-out/include. Once again, these are the files you should use in your application.

But your operating system probably has packages f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matkatmusic
Comment options

Answer selected by matkatmusic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1421 on October 21, 2024 19:43.