×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    23

    Exclamation Carbide bug: Aif Compiler: File or path name too long

    Carbide version used:
    Carbide.c++
    Version: 1.1
    Build id: 47

    SDK used:
    S60_2nd_FP3/ Symbian 8.1a

    If an .mmp file contains many different system includes the aif compiler (epocaif.pl) will fail with a 'file or path name too long' error. Since we are using lots of system includes this breaks our project.

    Output below. Test case available on request.

    Please help Carbide Team!

    Thanks,

    Alex


    'Building file: C:/Symbian/8.1a/S60_2nd_FP3/Series60Ex/guiengine/gui/aif/GuiEngine.aifdef'
    'Invoking: AIF Compiler'
    perl -S epocaifdef.pl -I- -I"C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\uikon" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\libc" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\icl" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\http" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\ecom" -I"C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\bafl" -o"C:/Symbian/8.1a/S60_2nd_FP3/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/GuiEngine/GuiEngine.aif" C:/Symbian/8.1a/S60_2nd_FP3/Series60Ex/guiengine/gui/aif/GuiEngine.aifdef
    C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\uikon-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\libc-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\icl-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\http-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\ecom-IC:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\guiengine\gui\group\epoc32\bafl\.: File or path name too long
    * cpp failed
    * epocaif.pl failed

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Re: Carbide bug: Aif Compiler: File or path name too long

    You need to shorten your include paths. You can do this by substing your C:\Symbian\8.1a\S60_2nd_FP3\ directory to a drive letter and modifying your devices.xml to reflect this change, and if necessary you can also shorten your project folder name.

    We are aware of this problem and plan to address it in the next major release.

    Regards,

    Matt P.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    280

    Re: Carbide bug: Aif Compiler: File or path name too long

    You can also use linkd to get round this. See http://support.microsoft.com/kb/205524.
    Basically just map your long source tree path to something like c:\xxx and it will build.

Similar Threads

  1. S60 theme questions
    By Nokian_Spb in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-08-17, 06:11
  2. What is the default path to read a file from?
    By lakshmi.prasanna in forum Symbian
    Replies: 2
    Last Post: 2005-11-30, 14:45
  3. compiler bug, using Metrowerks front end
    By maambach in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-12-02, 14:47
  4. Resource Compiler Bug?
    By kkwank in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-10-28, 18:56

Posting Permissions

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