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. Thanks for all your past and future contributions.

Revision as of 04:02, 16 March 2012 by hamishwillee (Talk | contribs)

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

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


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:


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'.


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

50 page views in the last 30 days.