Namespaces
Variants
Actions

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

Jump to: navigation, search
Article Metadata

Compatibility
Platform(s): S60 1st Edition
S60 2nd Edition
S60 3rd Edition
Series 80 2nd Edition

Article
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.
94 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved