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