Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Protocol buffer in Qt project
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Deepak Sindhu  
View profile  
 More options Sep 26 2012, 6:45 am
From: Deepak Sindhu <deepak.sindh...@gmail.com>
Date: Wed, 26 Sep 2012 03:45:12 -0700 (PDT)
Local: Wed, Sep 26 2012 6:45 am
Subject: Protocol buffer in Qt project

Hi All,

I am working on Qt/C++ project. I wanted to use protocol buffer so I
downloaded and followed steps to compile and install.

Create custommessage.proto and generated .cc & .h using proto compiler

.pro
SOURCES += Mainwindow.cpp\CustomMessage.pb.cc

HEADERS += Mainwindow.h \ CustomMessage.pb.h

INCLUDEPATH += ../../ProtocolBuf/include

LIBS += -L ../../ProtocolBuf/lib -lprotobuf -lprotoc

I am getting below errors:
CustomMessage.pb.cc:52: error: undefined reference to `google::protobuf::ProtobufOnceType::~ProtobufOnceType()'
ProjectPath\CustomMessage.pb.cc:52: error: undefined reference to `google::protobuf::ProtobufOnceType::~ProtobufOnceType()'
ProjectPath\..\..\ProtocolBuf\include\google\protobuf\stubs\once.h:103: error: undefined reference to `google::protobuf::ProtobufOnceType::Init(void (*)())'

I have lib in place, headers too.
working on Win7, using QtCreator

Could someone suggest me why m getting these error.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
perry  
View profile  
 More options Jan 15, 10:19 pm
From: perry <perry...@gmail.com>
Date: Tue, 15 Jan 2013 19:19:36 -0800 (PST)
Local: Tues, Jan 15 2013 10:19 pm
Subject: Re: Protocol buffer in Qt project

在 2012年9月26日星期三UTC+8下午6时45分12秒,Deepak Sindhu写道:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
perry  
View profile  
 More options Jan 15, 10:19 pm
From: perry <perry...@gmail.com>
Date: Tue, 15 Jan 2013 19:19:56 -0800 (PST)
Local: Tues, Jan 15 2013 10:19 pm
Subject: Re: Protocol buffer in Qt project

在 2012年9月26日星期三UTC+8下午6时45分12秒,Deepak Sindhu写道:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
perry  
View profile  
 More options Jan 15, 10:21 pm
From: perry <perry...@gmail.com>
Date: Tue, 15 Jan 2013 19:21:30 -0800 (PST)
Local: Tues, Jan 15 2013 10:21 pm
Subject: Re: Protocol buffer in Qt project

sorry ,clicked wrong just now,but i met the same problem


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »