Okay okay. This is me being a n00b I think. This is the command line that worked:
g++ mytest.cpp -L/lib -lcryptopp The n00bness of me here is that I did not know to exclude the "lib" from "libcryptopp", though the file is "libcryptopp.a". This is probably not even related to this forum. Apologies, Jack On Oct 25, 4:35 pm, gurkesaft <[EMAIL PROTECTED]> wrote: > Hi all, > > crypto++ 5.5.2 compiled out of the box on msys/mingw using configure > and make. The executable even worked. > > I'm certain this is a dumb question, but when I then try to make a > simple c++ file to test some functions, I can get it to compile but I > get a huge list of linker errors, even though I am doing a - > llibcryptopp (or -l/lib/libcryptopp, or any variants including the > ".a") in g++. I can't seem to make the objects in libcryptopp.a > visible to my linker. libcryptopp.a is a 50MB file, and cryptest.exe > works fine. > > I often get "cannot find -llibcryptopp" and "Collect2: ld returned 1 > exit status" > > What g++ command line are people using? > > Thanks, > Jack --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
