Correction on the command that I'm trying to run (mistake in the editing of it to the list, sorry):
$ g++ -arch x86_64 -I cryptopp -l cryptopp -o my_program my_program.cpp Still the same error: ld: library not found for -lcryptopp collect2: ld returned 1 exit status Ideas, suggestions? Thanks! - Justin On Friday, August 24, 2012 9:37:33 PM UTC-4, Justin Elliott wrote: > > Hello all - > > I first searched the archives of this list and a lot of searching on > google, with no luck, so I'm begging for help now on the list. ;-) > > I'm trying to compile a c++ program that I inherited support of, and > running into some issues when trying to compile it on Mountain Lion, with > XCode 4.4.1 installed, and g++ (gcc) v4.2.1. > > Here's the compile command I'm currently trying: > > $ g++ -arch x86_64 -I cryptopp -l cryptopp -o my_program.cpp > > Here's the error that I'm running into when compiling: > > ld: library not found for -lcryptopp > collect2: ld returned 1 exit status > > The 'cryptopp' directory is in the same directory at my program.cpp file. > > Any suggestions on what I can do to fix this? > > I really appreciate any help on this! > > Thanks, > - Justin > -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com.