Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

include botan 2 in compilation

$
0
0

i try include some botan header in compilation process

#include <botan/rng.h>#include <botan/auto_rng.h>#include <botan/cipher_mode.h>#include <botan/hex.h>#include <iostream>int main(int argc, char** argv){        return 0;}

I found that i need to compile with following command in order to build successfully

g++ app.cpp -I/usr/local/include/botan-2

i saw some folks execute

g++ app.cpp -lbotan-2

i tried it out but i get a error

'app.cpp:1:10: fatal error: botan/rng.h: No such file or directory #include <botan/rng.h>

Am i missing anything ?


Viewing all articles
Browse latest Browse all 22002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>