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. Guys,I'm compiling opencv and reporting an error.,How to solve this problem?
Forum Updated to NodeBB v4.3 + New Features

Guys,I'm compiling opencv and reporting an error.,How to solve this problem?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 2 Posters 375 Views
  • 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.
  • Y Offline
    Y Offline
    Yuyang
    wrote on last edited by
    #1

    When compiling in Qt Creator 4.11.0, the error message "No such file or directory" is reported, what should I do?

    b9338883-df53-490e-b20b-551ce3e53906-image.png

    jsulmJ Y 2 Replies Last reply
    0
    • Y Yuyang

      When compiling in Qt Creator 4.11.0, the error message "No such file or directory" is reported, what should I do?

      b9338883-df53-490e-b20b-551ce3e53906-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Yuyang said in Guys,I'm compiling opencv and reporting an error.,How to solve this problem?:

      what should I do?

      Fix your pro file so that the header file can be found.
      If you want more details then please post your code and the pro file.

      And please post errors/code as text, not pictures.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Y 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Yuyang said in Guys,I'm compiling opencv and reporting an error.,How to solve this problem?:

        what should I do?

        Fix your pro file so that the header file can be found.
        If you want more details then please post your code and the pro file.

        And please post errors/code as text, not pictures.

        Y Offline
        Y Offline
        Yuyang
        wrote on last edited by
        #3

        @jsulm I don't have a pro file. I downloaded the source code of opencv directly from GitHub, then opened the project in Qtcreator and selected the CMakeLists.txt, and then did some related configurations, but it was wrong when compiling.
        The code comes from the official website of OpenCV and has not been modified, so it should not be a problem with the code.

        1 Reply Last reply
        0
        • Y Yuyang

          When compiling in Qt Creator 4.11.0, the error message "No such file or directory" is reported, what should I do?

          b9338883-df53-490e-b20b-551ce3e53906-image.png

          Y Offline
          Y Offline
          Yuyang
          wrote on last edited by
          #4

          Is it a problem with the toolchain (MinGW).

          jsulmJ 1 Reply Last reply
          0
          • Y Yuyang

            Is it a problem with the toolchain (MinGW).

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Yuyang I suggest you upgrade your QtCreator and MinGW versions, because you're using quite old versions.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

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