I think I'm still misunderstanding the intention of the command.
On Thursday, September 16, 2021 at 3:56:20 PM UTC-7 Jeffrey Walton wrote:
>
> That's an "I" as in "include", bot a lowercase "L".
>
> Use this command:
>
> clang++ -g2 -O3 -I /usr/local/include test.cxx
> /usr/local/lib/libcryptopp.a -o test.exe
>
> For the above command (I'm reading it as a single line, so all part of one
command), is the test.cxx file something that's generated by the cryptopp
install process? If so, which directory should I be running this from? (I
don't see a test.cxx in the cryptopp directory and searching online
suggests this is related to the google testing framework for C++).
If I run the following (without the test.cxx file as input, which probably
doesn't make sense but again I couldn't tell what function it's serving):
>> clang++ -g2 -O3 -I /usr/local/include /usr/local/lib/libcryptopp.a -o
test.exe
I get this error:
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
Thank you for your help so far, I really appreciate it.
--
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/cryptopp-users/bd84528c-915d-44aa-a3aa-6fafec7fc1e3n%40googlegroups.com.