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. Compile generate 0 byte files on OS X
Forum Updated to NodeBB v4.3 + New Features

Compile generate 0 byte files on OS X

Scheduled Pinned Locked Moved Solved General and Desktop
24 Posts 4 Posters 7.8k 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.
  • K kenchan

    @Amott

    I use that ODA library on OSX and I link it with the c library like this...

    LIBS += -lc++ \
    -lTD_Db \
    ... other ODA libs

    and it works fine.

    A Offline
    A Offline
    Amott
    wrote on last edited by Amott
    #21

    @kenchan

    Thanks for your response ! I have tried again but I still have the same error. Which version of OSX, ODA and XCode are you using ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Amott
      wrote on last edited by
      #22

      I finally found the solution : I needed a line on the .pro :
      QMAKE_LFLAGS += -framework CoreFoundation

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #23

        Strange… You should have had undefined symbols errors…

        In any case it should rather be: LIBS += -framework CoreFoundation

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Amott
          wrote on last edited by
          #24

          it works too, I will replace this variable. It strange but it works, after 3 weeks, I'm so happy that something works taht I won't search why it doesn't make me an error !

          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