<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101967/problems-with-long-path-lengths-cmake_object_path_max-errors</link><description>Device: nRF5340 
 SDK: nRF Connect SDK v2.2.0 
 IDE: nRF Connect for VS Code v2023.6.345, Running on Windows 10 
 ------------ 
 We are working on a new project for the nRF5340, and I get a lot of errors such as the one below when I try to build: 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Feb 2026 19:16:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101967/problems-with-long-path-lengths-cmake_object_path_max-errors" /><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/561294?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2026 19:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8173c70f-b75c-431c-940d-77ad8d217e25</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hopefully Priyanka will answer your question, Greg. It took me a while to recall that I had changed the name nrf_cloud_multi_service to ncms in order to build, back in v2.8.0 time frame.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/561282?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2026 17:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37dbf3ad-8e3b-4bfd-af47-31e407b904e9</guid><dc:creator>Greg Feeney</dc:creator><description>&lt;p&gt;I&amp;#39;m using version 3.1.0 of the SDK on Windows 11 and encountering this same path name length restriction. Is it still a limitation of the Zephyr environment(version 4.1.99) or has there been some development efforts made to remove or override the 250 character restriction?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/511212?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2024 05:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:153fb512-1544-4806-9f07-e6029b46d711</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hi Priyanka, I am having this same issue trying to build nrf_cloud_multi_service. I don&amp;#39;t like the suggestion to restructure the project or do anything unusual as I have set up my system in the standard way and so the path the Nordic SDK has provided me is&lt;/p&gt;
&lt;p&gt;C:\ncs\v2.8.0\nrf\samples\cellular\nrf_cloud_multi_service&amp;gt;&lt;/p&gt;
&lt;p&gt;The onus should be on the SDK developers rather than me to come up with workable paths, I would think. Thanks, Priyanka. --Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/493359?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 10:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b5351a-71a9-48d4-bd70-0630c85d6f6e</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi, thank you for you answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/493310?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 07:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b53827-92b9-4651-bb33-e8a2dc45ad4b</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem is that the maximum full path length for an object file is defined as &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/doxygen/html/limits_8h.html#pathmax"&gt;250 characters in the Zephyr build system&lt;/a&gt;. So I&amp;#39;m afraid&amp;nbsp; the CMAKE_OBJECT_PATH_MAX setting in the local CMakeLists.txt file won&amp;#39;t affect the global setting used by Zephyr&amp;#39;s build system&amp;nbsp;since each CMakeLists.txt file has its own scope, and changes in one don&amp;#39;t affect others. So the solution is to reduce the path length and if this is not possible, you might need to maybe restructure your project in order to try reducing the path length (or maybe even try using symbolic links). I understand that this is not quite a feasible option, but I&amp;#39;m sorry for the trouble.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/493157?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 12:30:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cadae94d-6066-4e50-acc1-93fd9b1218a8</guid><dc:creator>Ben_Squar3d</dc:creator><description>&lt;p&gt;Hi, sorry to hijack the post but I face the exact same issue. Was it addressed in the meatime?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/437275?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 13:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:004ce8f7-ceec-445a-a97a-c3fea67cac64</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Sandeep,&lt;/p&gt;
&lt;p&gt;I will discuss this internally with my colleagues and get back to you. Please expect a slight delay as we are currently short staffed due to the summer holidays here in Norway.&lt;/p&gt;
&lt;p&gt;Thank you for your patience and understanding.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/437088?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 17:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0395902b-413e-4cd1-bf5a-0bdbbb8623a7</guid><dc:creator>swlnk</dc:creator><description>&lt;p&gt;Hi Priyanka-&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt; Which sample are you working on, i.e. is it a custom sample?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is a custom application within our own git repo (i.e. the project directory is not located within the NCS / Zephyr installation)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;nbsp;Also, which board are you working on?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;We are building for the nRF5340DK (nrf5340dk_nrf5340_cpuapp)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;nbsp;Are you trying to build via VSCode or west?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m using nRF Connect for VS Code v2023.6.345, Running on Windows 10.&amp;nbsp;I&amp;#39;m building by clicking the &amp;quot;Build&amp;quot; button under &amp;quot;Actions&amp;quot; in the VS Code plugin.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with long path lengths (CMAKE_OBJECT_PATH_MAX errors)</title><link>https://devzone.nordicsemi.com/thread/436874?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 05:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9a0b788-9ace-4f04-b89d-a5c16951a622</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Sandeep,&lt;/p&gt;
&lt;p&gt;Which sample are you working on, i.e. is it a custom sample? Also, which board are you working on? Are you trying to build via VSCode or west?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>