# Prebuilt dylib?

**URL:** <https://forum.opencv.org/t/prebuilt-dylib/15911>\
**Category:** Uncategorized\
**Tags:** build, apple\
**Created:** [December 20, 2023, 11:22am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911 "2023-12-20T11:22:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/bwill/32/9324_2.png) [@bwill](https://forum.opencv.org/u/bwill)\
**Post date:** [December 20, 2023, 11:22am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/1 "2023-12-20T11:22:52Z")

</div>

Is there a prebuilt universal dylib available for OpenCV? I’m not really familiar with cmake, numpy and the like.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [December 20, 2023, 12:06pm UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/3 "2023-12-20T12:06:29Z")

</div>

there is no such thing.

please start with cmake, we’ll help you on the way.

---

<div class="post-metadata">

**Author:** ![bwill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/bwill/32/9324_2.png) [@bwill](https://forum.opencv.org/u/bwill)\
**Post date:** [December 20, 2023, 12:52pm UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/4 "2023-12-20T12:52:21Z")

</div>

This is a pity. Having prebuilt dylibs would make things much easier for developers like me. I’m a desktop developer with an app that archives emails. The app resizes a lot of images.

I really need to think if I want to do this adventure.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [December 20, 2023, 1:14pm UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/5 "2023-12-20T13:14:39Z")

</div>

> [@bwill](#):
>
> numpy

btw, if you’re mainly interested in python bindings, you’re just a

```
pip install opencv-python

```

away (same for numpy)

---

<div class="post-metadata">

**Author:** ![bwill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/bwill/32/9324_2.png) [@bwill](https://forum.opencv.org/u/bwill)\
**Post date:** [December 20, 2023, 1:44pm UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/6 "2023-12-20T13:44:27Z")

</div>

For sure, this would be easier. I have some experience with Python. I’m not sure, however, if talking to a Python app is fast enough.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [December 21, 2023, 7:30am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/7 "2023-12-21T07:30:38Z")

</div>

since you’re on apple, using native apis for image processing should be your first choice. cuts down on dependencies, is _especially_ optimized to the hardware.

---

<div class="post-metadata">

**Author:** ![bwill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/bwill/32/9324_2.png) [@bwill](https://forum.opencv.org/u/bwill)\
**Post date:** [December 21, 2023, 8:01am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/8 "2023-12-21T08:01:36Z")

</div>

Since I’m using Xojo and not XCode I have to talk to a dylib.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [December 21, 2023, 8:24am UTC](https://forum.opencv.org/t/prebuilt-dylib/15911/9 "2023-12-21T08:24:21Z")

</div>

> [@bwill](#):
>
> Xojo

I don’t know that thing. is it not supposed to be able to use native APIs?

anyway, yes, you can just build OpenCV. you will face the challenge of having to build things a lot in cross-platform development. _ **or** _ you choose a cross-platform framework that gives you all the abstractions already.

OpenCV is not a crossplatform development framework. it’s just a library for computer vision.
