[Botan-devel] Problem with compiling appliaction with Botan
mludy at wp.pl
Wed Mar 24 08:17:34 EDT 2010
Jack Lloyd wrote:
> Are you sure you're linking with the library with -lbotan?
> On Wed, Mar 24, 2010 at 03:48:03AM +0100, Micha?? P??oski wrote:
>> Hello all.I have a big problem with no idea how to solve this.When I'm
>> trying to compile any code with I'm getting the errors sounds like:
>> In function `LibraryInitializer':
>> /usr/include/botan/init.h:34: undefined reference to
>> std::char_traits<char>, std::allocator<char> > const&)'
>> In function `~LibraryInitializer':
>> /usr/include/botan/init.h:36: undefined reference to
>> collect2: ld returned 1 exit status
>> make: *** [dist/Debug/GNU-Linux-x86/des3] B????d 1
>> make: Opuszczenie katalogu `/home/chudy/NetBeansProjects/DES3'
>> make: *** [.build-impl] B????d 2
>> I got error like that even with attach to this code:
>> using namespace Botan;
>> int main()
>> LibraryInitializer init;
>> return 0;
>> I'm using debian distro with gcc 4.4. I have tried to install packages
>> dedicated for debian and also the newest packages from the scratch
>> without the result.Thx for help
>> botan-devel mailing list
>> botan-devel at randombit.net
> botan-devel mailing list
> botan-devel at randombit.net
Thank you very much for help.Indeed that was the problem.Maybe you
know,why in NetBeans IDE despite I added the include word I was getting
this error?Does it NetBeans set it up automaticly?
More information about the botan-devel