Skip to content

Issue compiling in windows #53

Description

@hsw28

Hi,
I am using QT creator v5 and I am having an issue compiling, in which I get the following error:

:-1: error: No rule to make target '../../../../OneDrive/Documents/opencv/build/include/opencv2/stitching/detail/exposure_compensate.hpp', needed by 'release/backend.o'. Stop.

I believe my .pro file is setup correctly as follows:

    # Path to your openCV .lib file(s)
    LIBS += -LC:/Users/holdb/OneDrive/Documents/opencv/build/x64/vc15/lib -lopencv_world440
    
    # Path to openCV header files
     INCLUDEPATH += C:/Users/holdb/OneDrive/Documents/opencv/build/include
     INCLUDEPATH += C:/Users/holdb/OneDrive/Documents/opencv/build/include/opencv 

    # For Python
    INCLUDEPATH += C:/Users/holdb/anaconda3/envs/python38/include
    LIBS += -LC:/Users/holdb/anaconda3/envs/python38/libs -lpython38

     # For numpy
    INCLUDEPATH += LC:/Users/holdb/anaconda3/envs/python38/Lib/site-packages/numpy/core/include

Any suggestions?

Might be worth mentioning I was getting a DIFFERENT 'no rule to make target' error when I was using QT creator v7, so it's possible this is a version issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions