[Botan-devel] Botan in Eclipse?
Z. S. O.
tiredashell at gmail.com
Sat Dec 27 15:50:24 EST 2008
Right, those directories are already searched by Eclipse automatically.
However, I'm still getting a "symbol(s) not found" error. The code I'm
trying to compile is just supposed to generate RSA keys:
Botan::u32bit bits = 1024;
Botan::RSA_PrivateKey key(rng, bits);
std::string pub = Botan::X509::PEM_encode(key);
std::string priv = Botan::PKCS8::PEM_encode(key);
I already #included <botan/botan.h> and <botan/rsa.h> so I don't see what
the problem would be.
On Sat, Dec 27, 2008 at 1:04 PM, Jack Lloyd <lloyd at randombit.net> wrote:
> On Sat, Dec 27, 2008 at 03:14:42AM -0500, Z. S. O. wrote:
> > Hey everyone, I'm using Eclipse as my IDE on Mac OS X and was wondering
> > anyone could help me set it up to use the Botan. The build process
> > two files -- libbotan-1.8.0.dylib and libbotan.a -- and I'm guessing I
> > to use both. Other than writing #include <botan/botan.h>" in the cpp
> > what project preferences need to be changed? Do I make a library search
> > path? Thanks.
> I have no experience with Eclipse, so I may be leading you astray here
> but AFAIK you will only need one of the libraries (the shared object
> dylib or the static .a archive library). If the libraries are
> installed into a directory normally searched by Eclipse (on Unix
> systems these are directories like /usr/lib and /usr/local/lib - this
> probably is different on MacOS X though) then there is no need to set
> an explicit search path.
> You'll also need to make sure the header files are installed into a
> place Eclispse will search - /usr/include and /usr/local/include are
> the normal search paths, though again these may well be different on
> OS X versus a regular Unix system.
> botan-devel mailing list
> botan-devel at randombit.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel