×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Carbide developer wont import EXPORT commands from EXPORT.MAKE

    Hi,
    Those of you struggling with porting in Carbide.c++ DEveloper using S60 3rd Ed MR to port from version s60 2nd FP2,FP3 and openGLE will fail with
    System Error -12 this means cant find file.

    The way round this is to use the S60 command line AFTER you have successfully built from Carbide.c++ Developer. The problem seems to lie in the import process of the .mmp file ignoring EXPORTS in the MMP file. The result is that none of the examples OpenGLE work.

    The examples appear to configured for CodeWarrior NOT s60.

    This is log of how to complete the Export work using s60 and stop the error "System Error -12"
    the make file that runs is EXPORT.MAKE

    C
    PHP Code:
    :\>cd C:\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\Snow\group

    C
    :\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\Snow\group>bldmake bldfiles

    C
    :\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\Snow\group>abld build
      make 
    -r  -"\Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\9.1\S60_3rd_MR_2\S
    60Ex\OpenGLEx\Snow\group\EXPORT.make" 
    EXPORT VERBOSE=-s
    copy 
    "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snow.jpg" "\Symbian\9.1\
    S60_3rd_MR_2\EPOC32\release\wins\udeb\z\private\0000000\snow.jpg"
            
    1 file(scopied.
    copy "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snowy_tree.gif" "\Symbia
    n\9.1\S60_3rd_MR_2\EPOC32\release\wins\udeb\z\private\00000000\snowy_tree.gif"
            
    1 file(scopied.
    copy "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snowy_ground.jpg" "\Symb
    ian\9.1\S60_3rd_MR_2\EPOC32\release\wins\udeb\z\private\00000000\snowy_ground.jp
    g"
            
    1 file(scopied.
    copy "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snow.jpg" "\Symbian\9.1\
    S60_3rd_MR_2\EPOC32\release\winscw\udeb\z\private\00000000\snow.jpg"
            
    1 file(scopied.
    copy "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snowy_tree.gif" "\Symbia
    n\9.1\S60_3rd_MR_2\EPOC32\release\winscw\udeb\z\private\00000000\snowy_tree.gif"

            
    1 file(scopied.
    copy "\Symbian\9.1\S60_3rd_MR_2\S60Ex\OpenGLEx\pictures\snowy_ground.jpg" "\Symb
    ian\9.1\S60_3rd_MR_2\EPOC32\release\winscw\udeb\z\private\00000000\snowy_ground.
    jpg"
            
    1 file(scopied
    This appears in all versions of Carbide.c++ Express, Dev and Pro

    Good Luck,
    Jim
    Last edited by jimgilmour1; 2006-10-06 at 14:53. Reason: change to private\00000000 for 3rd Ed MR

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2004
    Posts
    98

    Re: Carbide developer wont import EXPORT commands from EXPORT.MAKE

    Thank you for posting this helpful information, also we are working to improve the import/export feature for the next release of the Carbide.c++ tools.

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    39

    Re: Carbide developer wont import EXPORT commands from EXPORT.MAKE

    hi,jimgilmour1
    I try same you, but I find "System Error (-12)" .
    Why?
    I used 3nd sdk fp 1.

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Carbide developer wont import EXPORT commands from EXPORT.MAKE

    Quote Originally Posted by gift_te
    hi,jimgilmour1
    I try same you, but I find "System Error (-12)" .
    Why?
    I used 3nd sdk fp 1.

    When debug in emulator using Carbide express I found the private UID value to be 0000000 as in the code.
    S60_3rd_MR_2\EPOC32\release\wins\udeb\z\private\0000000\snow.jpg"
    I thought this should have been "(0xA000021E)" perhaps this is fixed in S60 3rd Ed FP1 and the code has been put back to original

    so this should be.

    S60_3rd_MR_2\EPOC32\release\wins\udeb\z\private\A000021E\snow.jpg"

    The error is described as:-

    KErrPathNotFound -12 Unable to find the specified folder

    From OpenGLE\Snow\utils/Textureutils.cpp

    iDecoder = CImageDecoder::FileNewL(iFs, aFileName);

    When this line fails a system error -12 occurs because application is in symbian system code when the error occurs.

    iFs variable when viewed in debugger is the path to get to the file snow.jpg

    Good Luck

    Jim

Similar Threads

  1. Dll using problem in Carbide developer version
    By 3rdparty in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2007-03-26, 13:41
  2. Carbide, export project to MMP?
    By ykasidit in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2006-11-13, 22:11
  3. Link required for downloading Carbide C++ developer edition
    By devQI in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-07-26, 09:33
  4. SocketConnection Work on 6600&Emulators BUT NOT IN 6680
    By eerant in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-03-11, 00:35

Posting Permissions

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