×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    39

    Thumbs down compile error "Invalid argument" because of long path?

    It seems the max path just about 150 bytes.can I use the other directory instead of the BUILD directory?for example:use "C:\Build" instead of "C:\Symbian\9.1\S60_3rd_MR\Epoc32\BUILD".
    or is there other way to deal with this problem?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: compile error "Invalid argument" because of long path?

    You can install the SDK to a shorter path - however I do not know how to do that on an already installed one. It is also possible to move the project itself as close to the root as possible. The maximum length of path is about 255 characters, however you should also count some implied characters too. For example when you see something like
    Code:
    ..\..\..\..\..\..\..\Symbian\S60_3rd\epoc32\BUILD\Projects\Work\one\two\three\four\group
    , the full path is
    Code:
    \Projects\Work\one\two\three\four\group\..\..\..\..\..\..\..\Symbian\S60_3rd\epoc32\BUILD\Projects\Work\one\two\three\four\group
    , which is a bit longer

  3. #3
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: compile error "Invalid argument" because of long path?

    Hi,
    Another way of overcoming this problem is to map your epoc32 root path to some virtual drive for eg: if your SDK is installed in say D: drive then it may be something like this
    D:\Symbian\S60_3_0\epoc32
    you can map your EPOCROOT to some virtual drive like
    D:>Symbian\S60_3_0>subst x: .
    x:>epoc32
    Hope this will solve your problem of long path name.
    Maximus
    S60 Developer
    Impossible is nothing

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    39

    Re: compile error "Invalid argument" because of long path?

    thanks for your help。I move the child project to the root project。it works well.

Similar Threads

  1. Carbide bug: Aif Compiler: File or path name too long
    By alexbirkett in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-05-10, 18:30
  2. abld -> File or path name too long
    By glr in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-01-26, 10:36
  3. 关于Float的问题,急死了,各位帮忙一下,谢谢!
    By show_up in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 4
    Last Post: 2004-08-17, 08:57
  4. PC Connectity with VB6
    By mkintanar in forum PC Suite API and PC Connectivity SDK
    Replies: 5
    Last Post: 2003-09-24, 04:18
  5. GCC - file or path name too long
    By mharries in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-07-28, 10:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×