Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. osx clang and "is not a valid Mach-O binary"
Forum Updated to NodeBB v4.3 + New Features

osx clang and "is not a valid Mach-O binary"

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 1.6k 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.
  • ravasR Offline
    ravasR Offline
    ravas
    wrote on last edited by ravas
    #1

    Using Qt 5.5.1 / creator, OSX 10.11.1 and clang I get dialogs that popup after the build (during start up of the program) that say:

    '/Users/one/Documents/LibreCAD/plugins/Makefile' is not a valid Mach-O binary (invalid magic 23232323)
    
    '/Users/one/Documents/LibreCAD/plugins/plugins.pro' is not a valid Mach-O binary (invalid magic 232d2d2d)
    
    '/Users/one/Documents/LibreCAD/plugins/plugins.sln' is not a valid Mach-O binary (invalid magic 4d696372)
    
    '/Users/one/Documents/LibreCAD/plugins/README.plugins' is not a valid Mach-O binary (invalid magic 46697273)
    

    Any idea why this would be happening? The program successfully loads after dismissing these dialogs.

    You can see the files here:
    https://github.com/LibreCAD/LibreCAD/tree/master/plugins

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

      Hi,

      Do you mean you get that when opening the plugins.pro file with Qt Creator ?

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

      ravasR 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Do you mean you get that when opening the plugins.pro file with Qt Creator ?

        ravasR Offline
        ravasR Offline
        ravas
        wrote on last edited by ravas
        #3

        @SGaist It happens when loading the program via Creator -- when you would see a splash screen.

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

          Any chance you are doing an in-source build ?

          IIRC, that might be the kind of message you get when trying to load a file that's not a plugin using Qt's plugin system.

          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
          • ravasR Offline
            ravasR Offline
            ravas
            wrote on last edited by
            #5

            https://github.com/LibreCAD/LibreCAD/issues/656

            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