Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Compilation of Symbian C++ code fails with long project paths (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
CompatibilityArticle
Created: User:Technical writer 1 (08 Mar 2007)
Last edited: lpvalente (25 May 2014)

Description

If the length of the path for project files is too long, the build process may fail.

Typically this problem occurs when the project source files are located in a  deep directory structure that is not under the SDK installation directory.
Build scripts use relative paths when referring to makefiles, for example:

"..\..\..\..\..\..\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\<project_path>\<platform>\<target>"

If the project path is too long, these paths may cause the maximum length of the command line to be exceeded.
Depending on the build target (compiler), the error displayed in this case is either 'File or path name too long' or 'No such file or directory'.

Solution

Move the project files to a location with a shorter path and try to rebuild.

This page was last modified on 25 May 2014, at 14:26.
348 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×