Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Google's Protocol Buffers (protobuf) on OSX
Forum Updated to NodeBB v4.3 + New Features

Google's Protocol Buffers (protobuf) on OSX

Scheduled Pinned Locked Moved 3rd Party Software
os xosxprotobufcompile-errors
2 Posts 2 Posters 2.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michael Sumulong
    wrote on 27 Mar 2015, 13:37 last edited by
    #1

    I have a Qt project that uses Google's Protocol Buffers library and I have been able to successfully compile the project under Linux and Windows but I am having difficulty getting the Qt project to link properly with the protobuf library. I can compile the protobuf using the normal ./configure && make && make install commands. However once I compile my Qt project that uses protobuf, I get a compiler error saying "Undefined symbols for architecture x86_64."

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on 27 Mar 2015, 21:51 last edited by
      #2

      Hi and welcome to the devnet,

      I use protobuf too (in Windows, Linux and OSX).
      In our OSX environment we build protobuf with

      $PROTOBUF_SRC_DIR/configure --silent --prefix=$PREFIX --disable-shared --enable-dependency-tracking=no
      

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0

      2/2

      27 Mar 2015, 21:51

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved