Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. (solved) error building debugging helper for clang_64
Forum Updated to NodeBB v4.3 + New Features

(solved) error building debugging helper for clang_64

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 3.1k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi -

    I recently started with Qt 5.0.0 and clang_64. When I try to build the debugging helper, I get the following message:

    bq. Building helper(s) with toolchain 'GCC (x86 64bit)'...
    Building helper 'GDB helper' in /Developer/Applications/QtLibs/5.0.0/clang_64//qtc-debugging-helper/
    Running /Developer/Applications/QtLibs/5.0.0/clang_64/bin/qmake -spec macx-clang dumper.pro -nocache CONFIG+=x86_64 ...
    Running /usr/bin/make all -k ...
    Error running '/usr/bin/make all -k' in /Developer/Applications/QtLibs/5.0.0/clang_64//qtc-debugging-helper/: The process returned exit code 2:
    clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC -DUSE_QT_CORE=1 -DUSE_QT_GUI=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../mkspecs/macx-clang -I. -I../include -I../include/QtWidgets -I../lib/QtWidgets.framework/Versions/5/Headers -I../include/QtGui -I../lib/QtGui.framework/Versions/5/Headers -I../include/QtCore -I../lib/QtCore.framework/Versions/5/Headers -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -o dumper.o dumper.cpp
    make: clang++: No such file or directory
    make: *** [dumper.o] Error 1
    make: Target `all' not remade because of errors.
    Build failed.

    Is this because my /usr directory is hidden? If so, what's the solution? If not, what is the likely culprit?

    I'm running 10.6.

    Thanks...

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrep
      wrote on last edited by
      #2

      The problem seems to be that it uses a macx-clang mkspec whereas there seems to be no clang++ found. Do you have clang installed? Do you want to use it?

      1 Reply Last reply
      0
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        I thought clang was included with the 5.0.0 release. I do have a directory:

        Developer/Applications/QtLibs/5.0.0/clang_64

        With a bin directory. I'm not sure I know what I'm looking for here, though.

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          Any suggestions on this? The goal is to be able to view the contents of a vector in the debugger, in the "locals" window. Right now, I have no visibility into vectors (other than the first and last elements), which makes debugging rather tedious.

          Thanks...

          1 Reply Last reply
          0
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #5

            OK...I just uninstalled everything, and reinstalled from scratch, using the newest available downloads. I'm still getting an error message when I try to build the helper.

            Could someone PLEASE give me some idea of what I'm doing wrong? I'm about to enter some significant coding time, and need all the tools working that I can get.

            Thanks.

            1 Reply Last reply
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #6

              OK, for posterity, here's the answer:

              http://stackoverflow.com/questions/14763714/qt-creator-cant-build-debugger-helper

              Cliff Notes: The clang++ is in the CLI extras package on the Mac. In order to get these, I had to install the newest version of XCode, which in turn entailed an OS upgrade (was on 10.6 before).

              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