[protobuf] Re: Cannot Build proto3 C++ Source Using gcc
Feng, I do need to make one correction. I was able to use cmake to build protocol buffers for Visual Studio on my PC. I am now trying to build protocol buffers for my embedded environment which is an ARM processor so I'm going to have to cross compile the code and we will NOT be using Visual Studio to do build for the ARM processor. Regards, Doug On Monday, June 27, 2016 at 1:00:32 PM UTC-5, Doug Lewis 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 > 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. > > 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.
[protobuf] Re: Cannot Build proto3 C++ Source Using gcc
I'm very sure that it is the forward slash "\" after "C:" that is causing the problem. When I do an "ls" command using this syntax: ls C:\cygwin/home/DLewis/RTS3-PB-Clean/protobuf-3.0.0-beta-3/src/.libs I get an error message telling me no such file or directory. If I replace the forward slash with a backwards slash I get a listing of the directory. I just need to find what is setting that first slash to the wrong one. Doug On Monday, June 27, 2016 at 1:00:32 PM UTC-5, Doug Lewis 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 > 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. > > 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.