Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. MAC OSX and zlib issue
Forum Updated to NodeBB v4.3 + New Features

MAC OSX and zlib issue

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 8.2k Views 1 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.
  • P Offline
    P Offline
    Psychoboy
    wrote on last edited by
    #1

    I got this down to just the zlib header/lib. I include "zlib.h" and as soon as I do that I get a symbols not found error. This is kind of urgent if anyone can help.

    I tried including /opt/local/libs already. I also tried LIBS += -lz

    any other idea's?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jorj
      wrote on last edited by
      #2

      can you post the command line output?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Psychoboy
        wrote on last edited by
        #3

        I am using QT Creator and I literally just did #include <zlib>
        I also tried including the zlib.h directly from the includes on the mac

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Psychoboy
          wrote on last edited by
          #4

          I got this resolved thanks

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            It would seriously help to provide more information in the question (to get people to help you) as well as in the resolved message (to help other people that run into the same issue).

            Thinks like exact error messages, some code that does not work, the pro-file you use, etc. does help a lot to get people to answer.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Psychoboy
              wrote on last edited by
              #6

              all it was is I needed LIBS += -lz

              It didn't work when I tried it originally but for some reason it does not. Didn't really change anything either. But it's working now with the zlib header

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                zhainhart
                wrote on last edited by
                #7

                work for me by adding LIBS += -lz in the pro-file

                A Micro-organism called 'Bounty Hunter'

                1 Reply Last reply
                0

                • Login

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