|Re: Eclipse C/C++ Static Library [message #1692929 is a reply to message #1692881]
||Mon, 20 April 2015 15:57
| Tauno Voipio
Registered: August 2014
The library file extension .lib makes me suspect that the library is not compatible with g++. A static library usually has an .a extension. You can try to feed the library to nm (you have mingw shell & utilities, msys installed?)|
The command line is badly overspecified. You could try:
g++ -o "CProtobuf" ./src/CProtobuf.o ./src/addressbook.pb.o "C:/Users/Overholt/Desktop/libprotobuf.lib"
For more information on the GNU linker commands, google for gnu ld manual or gnu binutils manual.
Powered by FUDForum
. Page generated in 0.03077 seconds