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

<classifier>macosx-x86_64</classifier> is not work for me #2029

Closed
jurimengs opened this issue May 24, 2023 · 9 comments
Closed

<classifier>macosx-x86_64</classifier> is not work for me #2029

jurimengs opened this issue May 24, 2023 · 9 comments
Labels

Comments

@jurimengs
Copy link

i learned some issues like [https://github.com//issues/1493], but it's not work for me

image

@saudet
Copy link
Member

saudet commented May 24, 2023

Please upgrade to the latest version.

@jurimengs
Copy link
Author

thank you ..but , it's still not working,

image

@jurimengs
Copy link
Author

jurimengs commented May 24, 2023

more information , I try to use javacv only , so I import something like :

    <javacv.version>1.5.8</javacv.version>
    <javacpp.version>${javacv.version}</javacpp.version>

    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>javacpp</artifactId>
        <version>${javacpp.version}</version>
    </dependency>

    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>openblas</artifactId>
        <version>0.3.21-${javacpp.version}</version>
    </dependency>

    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>opencv</artifactId>
        <version>4.6.0-${javacpp.version}</version>
        <!--            <classifier>${javacpp.platform.windows-x86_64}</classifier>-->
    </dependency>

    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>javacv</artifactId>
        <version>${javacv.version}</version>
    </dependency>
    <dependency>

        <groupId>org.bytedeco</groupId>
        <artifactId>ffmpeg-platform</artifactId>
        <version>5.1.2-${javacpp.version}</version>
        <!--            <classifier>macosx-x86_64</classifier>-->
        <!--            <classifier>linux-arm64</classifier>-->
    </dependency>

@saudet
Copy link
Member

saudet commented May 24, 2023

Yes, that should work. What kind of error are you getting in that case?

@jurimengs
Copy link
Author

jurimengs commented May 24, 2023

the keyword is : "macosx-x86_64"

without this classifier it works well like :
image

but wrong when I use it like :
image

IDE show me : "Cannot resolve org.bytedeco:ffmpeg-platform:5.1.2-1.5.8 "

@jurimengs
Copy link
Author

and I tried remove maven repository many times and reload all maven projects , yet it's still not work

@saudet
Copy link
Member

saudet commented May 24, 2023

That's a problem with your IDE. Try to purge all caches: https://www.jetbrains.com/help/idea/invalidate-caches.html

@saudet
Copy link
Member

saudet commented May 24, 2023

And remove the classifier, it works fine without it.

@jurimengs
Copy link
Author

ok , tks

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

No branches or pull requests

2 participants