×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    6

    BUG: Carbide.c++, AIF Compiler fails

    Hi all,

    I found a small bug. I'm not sure if it is specific to Carbide.c++, but that is what I am using.

    The epocaifdef.pl file in Carbide\plugins\com.symbian.cdt.sdk_1.0.0\scripts does not pass the -t flag to epocaif.pl correctly. This causes problems in environents where the default temp directory (in this case, the root of the C:\ drive) is not writable by the user.

    For instance, my user account, which runs with restricted privileges, cannot create files directly under C:\ so the 'Invoking: AIF Compiler' phase would fail. I tried putting -tTemp in the General Options of the AIF Compiler (in the Properties window), but it had no effect.

    To fix, change line 201:

    Code:
    my $aifCommand = "perl -S epocaif.pl -o$opt_o $opt_I $rssSrcFile ";
    to

    Code:
    my $aifCommand = "perl -S epocaif.pl -t$tmpdir -o$opt_o $opt_I $rssSrcFile ";
    and add after line 46:

    Code:
    my $tmpdir="";
    Now you should be able to specify whatever temp directory you want - hopefully something writable ;-)

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

    Re: BUG: Carbide.c++, AIF Compiler fails

    Wow, it's really nice when bug reports include a solution. :-)

    Thanks so much for letting us know about this. I've logged it in our system and we'll try to get a fix into the next release.

    Regards,

    Matt P.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    7

    Re: BUG: Carbide.c++, AIF Compiler fails

    i am apply your above procedure for epocaifdef.pl file
    but i want to change icon in Aif file but they always take default icon.
    pls help me.

Similar Threads

  1. Replies: 0
    Last Post: 2005-02-28, 14:46
  2. Compiler Bug
    By earamsey in forum Symbian
    Replies: 3
    Last Post: 2004-09-23, 08:19
  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
  5. Firmware bug or code bug displaying list on 3650
    By blackjack75 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-09-24, 19:52

Posting Permissions

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