On Mon, Jun 27, 2016 at 11:00 AM, Doug Lewis <douglewis....@gmail.com> wrote:
> I'm trying to build the proto3 C++ source using gcc. I've tried both > command line and using Eclipse. I get the same error either way I attempt > to build: > > /bin/sh ../libtool --tag=CXX --mode=link g++ -DHAVE_PTHREAD=1 -Wall > -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -o > protoc.exe google/protobuf/compiler/main.o libprotobuf.la libprotoc.la > libtool: link: g++ -DHAVE_PTHREAD=1 -Wall -Wwrite-strings > -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -o .libs/protoc.exe > google/protobuf/compiler/main.o ./.libs/libprotobuf.dll.a > ./.libs/libprotoc.dll.a > C:\cygwin/home/DLewis/RTS3-PB-Clean/protobuf-3.0.0-beta-3/src/.libs/libprotobuf.dll.a > -L/usr/local/lib > This is strange. libprotobuf.dll.a appears twice in the command. Could you try if removing the second one helps? (removing C:\cygwin/home/.../librotobuf.dll.a) > g++.exe: > C:cygwin/home/DLewis/RTS3-PB-Clean/protobuf-3.0.0-beta-3/src/.libs/libprotobuf.dll.a: > No such file or directory > > I have checked and the file libprotobuff.dll.a is in the directory/folder. > Could you try cmake (an alternative approach to build protobuf): $ cd protobuf/cmake && mkdir build && cd build $ cmake ../cmake && make ? > > Thanks, > Doug > > -- > 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 protobuf+unsubscr...@googlegroups.com. > To post to this group, send email to protobuf@googlegroups.com. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- 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 protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.