How about this *g++ main.cpp -L/usr/local/lib -lprotobuf*
On Tue, 30 Jul 2019 at 19:24, A <[email protected]> wrote: > Hi All, > > This may be a silly question but I'm unable to compile my C++ code with > protobuf on ubuntu. > I've installed it in /usr/local/ and while running below command > > *g++ main.cpp -L/usr/local/lib -l lprotobuf* > > I get this error. > > /usr/bin/ld: cannot find -llprotobuf > collect2: error: ld returned 1 exit status > > Can someone help me in this regard ? > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" 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/protobuf/23ea5b48-c57f-43f1-9934-88728e46913e%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/23ea5b48-c57f-43f1-9934-88728e46913e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" 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/protobuf/CACHSd27VpXLzUPoU9rb8SK00aOritm-47SA4XjDwzv8efZ%2BrqA%40mail.gmail.com.
