×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
CompatibilityArticle
Created: User:Technical writer 1 (08 Mar 2007)
Last edited: hamishwillee (16 Mar 2012)

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 16 March 2012, at 07:02.
142 page views in the last 30 days.