Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed install due to opencv-build lib searching pattern is wrong #848

Open
rockswang opened this issue Apr 28, 2022 · 1 comment
Open

Comments

@rockswang
Copy link

  • OpenCV version: 3.4.16
  • With OpenCV-contrib: yes
  • OS*: Windows 10

see code in getLibsFactory.js:

    function getLibNameRegex(opencvModuleName) {
        return new RegExp("^"   getLibPrefix()   opencvModuleName   "[0-9]{0,3}."   getLibSuffix()   "$");
    }

this regex pattern does not match with filename like 'opencv_world3416.lib', please update the code.

@UrielCh
Copy link
Contributor

UrielCh commented Apr 30, 2022

1- this issue is not in the right project.
2- already fixed in the @u4 flavor
code extract:

  getLibNameRegex(opencvModuleName: string): RegExp {
    const regexp = `^${this.getLibPrefix}${opencvModuleName}[0-9.]*\.${this.getLibSuffix}$`;
    return new RegExp(regexp)
  }

please try the @u4 version and give your feedback so it will be merged into the main git.

thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants