# Can not build the Live Link C++ project or any the tutorial examples using CMake

**URL:** <https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386>\
**Category:** Unreal Engine\
**Created:** [July 14, 2025, 2:00pm UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386 "2025-07-14T14:00:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 14, 2025, 2:00pm UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/1 "2025-07-14T14:00:44Z")

</div>

Hello,

I have installed the perquisite software and SDK’s but it appears when using CMake, the list file included with these projects features content which is depreciated.

Could you confirm this is the case and possibly update the tutorial samples and any of your tools that utilise CMake?

Here is the error when attempting to build the Hello ZED tutorial project:

CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE\_MINIMUM\_REQUIRED):  
Compatibility with CMake \< 3.10 will be removed from a future version of  
CMake.

Update the VERSION argument value. Or, use the … syntax  
to tell CMake that the project requires at least but has been updated  
to work with policies introduced by or earlier.

Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.  
CMake Error at CMakeLists.txt:5 (cmake\_policy):  
Policy CMP0003 may not be set to OLD behavior because this version of CMake  
no longer supports it. The policy was introduced in CMake version 2.6.0,  
and use of NEW behavior is now required.

Please either update your CMakeLists.txt files to conform to the new  
behavior or use an older version of CMake that still supports the old  
behavior. Run cmake --help-policy CMP0003 for more information.

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 15, 2025, 6:47am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/2 "2025-07-15T06:47:48Z")

</div>

Hi,

Can you share your CMake version please?

[Stereolabs](https://www.stereolabs.com/) Support

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 15, 2025, 9:48am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/3 "2025-07-15T09:48:28Z")

</div>

Sure thing… i’m using the latest version: CMake 4.1.0-rc1

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 15, 2025, 12:25pm UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/4 "2025-07-15T12:25:47Z")

</div>

I was not able to reproduce your issue, which sample did you try to build exactly?

[Stereolabs](https://www.stereolabs.com/) Support

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 15, 2025, 12:38pm UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/5 "2025-07-15T12:38:03Z")

</div>

Any of the tutorial example projects, I started with the ‘hello zed’.

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 16, 2025, 6:20am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/6 "2025-07-16T06:20:53Z")

</div>

For some reason, I can’t reproduce the issue on my side.

For now, I recommend switching to an older CMake version (\< 4.0, I believe).

Anyway, thanks for the feedback, we’ll take a closer look at this and fix it in a future version.

Best,

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 16, 2025, 9:26am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/7 "2025-07-16T09:26:30Z")

</div>

Thanks… I’m getting the same error even with 3.5 and 3.31.8.

Don’t feel comfortable downloading anything older than that.

Is there anything you could think of which might cause CMake to report an error like this?

I am not a developer, I’m a technical artist so my experience of low level solutions like this is minimal.

Is there any other way I can get access to a sender that will allow me to use my Zed Camera in UE with LiveLink?

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 16, 2025, 9:52am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/8 "2025-07-16T09:52:10Z")

</div>

That’s quite unexpected. I feel like I’m missing something.

Could you please tell me which SDK version you are using, and also share the CMakelist you used to generate this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 16, 2025, 10:20am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/9 "2025-07-16T10:20:31Z")

</div>

Sure:

SDK 5.0.3

Everything with that is working fine. The diagnostic and depth viewer apps work as expected. I also have the camera working fine with the example UE project.

I can’t upload files directly so here it is on Google Drive: [CMakeLists - Google Docs](https://docs.google.com/document/d/1ona6WKb5wFkmhz-9nBXONw2S37Puq7OuS4d-DXKKzQA/edit?usp=sharing)

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 16, 2025, 11:09am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/10 "2025-07-16T11:09:38Z")

</div>

Thanks. It looks like you are trying to build one of the C tutorials, not C++, is that intentional?

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 16, 2025, 11:10am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/11 "2025-07-16T11:10:54Z")

</div>

You should not have the issue when building the live link samples.

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 16, 2025, 11:18am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/12 "2025-07-16T11:18:36Z")

</div>

Apologies, i uploaded the wrong file. I just tried again with the cpp CMake with version 3.5 and I only got a warning this time, not an error:

CMake Warning (dev) at CMakeLists.txt:14 (find\_package):  
Policy CMP0146 is not set: The FindCUDA module is removed. Run “cmake  
–help-policy CMP0146” for policy details. Use the cmake\_policy command to  
set the policy and suppress this warning.

Is this going to be an issue?

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 16, 2025, 11:21am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/13 "2025-07-16T11:21:32Z")

</div>

No, it’s fine, you should be able to build the app.

---

<div class="post-metadata">

**Author:** ![jayfield1979](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jayfield1979/32/4645_2.png) [@jayfield1979](https://community.stereolabs.com/u/jayfield1979)\
**Post date:** [July 16, 2025, 11:22am UTC](https://community.stereolabs.com/t/can-not-build-the-live-link-c-project-or-any-the-tutorial-examples-using-cmake/9386/14 "2025-07-16T11:22:41Z")

</div>

Thank you. I’ll try this and try building the LiveLink sample.
