×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    14

    .app and .aif files not created during build

    Hi,

    I'm using Carbide c++ express with S60 2.6 SDK.

    My application builds fine for the emulator. But in the ARMI build, the .aif file is not generated and in the THUMB build, neither the .aif nor the .app file is generated.

    For the ARMI, the console output looks as follows:


    **** Full rebuild of configuration S60 2.6 Phone (ARMI) Release for project mobileor ****

    make -k clean all
    del /s/q .\mobileor\CameraManager.o .\mobileor\FastHessian.o .\mobileor\KeySurf.o .\mobileor\MMSHandler.o .\mobileor\image.o .\mobileor\mobileor.o .\mobileor\mobileorAppUi.o .\mobileor\mobileorAppView.o .\mobileor\mobileorApplication.o .\mobileor\mobileorDocument.o .\mobileor\surf.o .\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helperfunctions\EikonEnvironment.o C:\CarbideWorkspace\mobileor\mobileor\mobileor.sis C:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\DATA\Z\system\apps\mobileor\mobileor.rsc C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\ARMI\UREL\mobileor.app
    Could Not Find C:\CarbideWorkspace\mobileor\S60 2.6 Phone (ARMI) Release\mobileor\CameraManager.o
    Could Not Find C:\CarbideWorkspace\mobileor\S60 2.6 Phone (ARMI) Release\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helperfunctions\EikonEnvironment.o

    ----> The strange thing is that these files (CameraManager.o and EikonEnvironment.o) actually exist in their respective folders

    Could Not Find C:\CarbideWorkspace\mobileor\mobileor\mobileor.sis
    Deleted file - C:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\DATA\Z\system\apps\mobileor\mobileor.rsc
    Deleted file - C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\ARMI\UREL\mobileor.app
    ' '
    'Building file: ../mobileor/mobileor.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"C:\CarbideWorkspace\mobileor\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helperfunctions" -I"C:\CarbideWorkspace\mobileor\mobileor_toInclude" -I"C:\CarbideWorkspace\mobileor" -I"C:\mobileor_toInclude\." -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include\libc" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/DATA/Z/system/apps/mobileor/mobileor.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\mobileor.rsg ../mobileor/mobileor.rss

    'Finished building: ../mobileor/mobileor.rss'
    ' '
    'Building file: ../mobileor/CameraManager.cpp'
    'Invoking: GCC98 Complier'
    gcc.exe -nostdinc -pipe -c -s -fomit-frame-pointer -O -march=armv4t -mthumb-interwork -DNDEBUG -D_UNICODE -D__SYMBIAN32__ -D__DLL__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__ -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\CarbideWorkspace\mobileor\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helperfunctions" -I "C:\CarbideWorkspace\mobileor\mobileor_toInclude" -I "C:\CarbideWorkspace\mobileor" -I "C:\mobileor_toInclude\." -I "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -I "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include\libc" -o mobileor/CameraManager.o ../mobileor/CameraManager.cpp
    'Finished building: ../mobileor/CameraManager.cpp'
    ' '
    'Building file: ../mobileor/FastHessian.cpp'
    'Invoking: GCC98 Complier'
    gcc.exe -nostdinc -pipe -c -s -fomit-frame-pointer -O -march=armv4t -mthumb-interwork -DNDEBUG -D_UNICODE -D__SYMBIAN32__ -D__DLL__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__ -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\CarbideWorkspace\mobileor\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helperfunctions" -I "C:\CarbideWorkspace\mobileor\mobileor_toInclude" -I "C:\CarbideWorkspace\mobileor" -I "C:\mobileor_toInclude\." -I "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -I "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include\libc" -o mobileor/FastHessian.o ../mobileor/FastHessian.cpp
    'Finished building: ../mobileor/FastHessian.cpp'

    ---> Here come about 15 other .cpp buildings, all ending with 'Finished building: ....' so I assume there is nothing wrong there


    'Invoking: GCC98 Archiver'
    ar.exe rc mobileor.in ./mobileor/CameraManager.o ./mobileor/FastHessian.o ./mobileor/KeySurf.o ./mobileor/MMSHandler.o ./mobileor/image.o ./mobileor/mobileor.o ./mobileor/mobileorAppUi.o ./mobileor/mobileorAppView.o ./mobileor/mobileorApplication.o ./mobileor/mobileorDocument.o ./mobileor/surf.o ./Symbian/8.0a/S60_2nd_FP2_CW/Series60Ex/helperfunctions/EikonEnvironment.o
    'Finished building: mobileor.in'
    ' '
    'Invoking: GCC98 Dlltool import library generation stage'
    ECHO is off.
    'Finished building: C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/ARMI/UREL/mobileor.lib'
    ' '
    'Invoking: GCC98 Dlltool first stage'
    dlltool.exe -marm_interwork mobileor.in --output-def "mobileor.inf"
    'Finished building: mobileor.inf'
    ' '
    'Invoking: Def File Creator for GCC98'
    perl.exe -S makedef.pl -Deffile mobileor.inf "mobileor.def"
    MAKEDEF WARNING: 1 export(s) not yet Frozen:
    mobileor.def(3) : NewApplication__Fv @1
    'Finished building: mobileor.def'
    ' '
    'Invoking: GCC98 Dlltool second stage'
    dlltool.exe -marm_interwork --def mobileor.def --output-lib "C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/ARMI/UREL/mobileor.lib" --output-exp "mobileor.expi" --dllname "mobileor[10005b90].app"
    'Finished building: mobileor.expi'
    ' '
    'Invoking: GCC98 Linker first stage'
    ld.exe --base-file "mobileor.bas" --whole-archive mobileor.in --no-whole-archive mobileor.expi -s --dll -e_E32Dll -u_E32Dll "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\edll.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\edllstub.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\egcc.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apmime.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apparc.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ImageConversion.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\avkon.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\CameraServer.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\cone.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ws32.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apgrfx.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\euser.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\efsrv.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\estlib.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\eikcore.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\fbscli.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\msgs.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\eikcoctl.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ecrt0.lib"
    'Finished building: mobileor.bas'
    ' '
    'Invoking: GCC98 Dlltool third stage'
    dlltool.exe -marm_interwork --base-file mobileor.bas --def mobileor.def --output-exp "mobileor.exp" --dllname "mobileor[10005b90].app"
    'Finished building: mobileor.exp'
    ' '
    'Invoking: GCC98 Linker second stage'
    ld.exe -Map C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\ARMI\UREL\mobileor.app.map -o "mobileor.sym" --whole-archive mobileor.in --no-whole-archive mobileor.exp --dll -e_E32Dll -u_E32Dll "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\edll.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\edllstub.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\egcc.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apmime.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apparc.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ImageConversion.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\avkon.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\CameraServer.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\cone.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ws32.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\apgrfx.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\euser.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\efsrv.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\estlib.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\eikcore.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\fbscli.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\msgs.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\eikcoctl.lib" "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\armi\urel\ecrt0.lib"
    'Finished building: mobileor.sym'
    ' '
    'Building target: C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/ARMI/UREL/mobileor.app'
    'Invoking: Petran'
    petran.exe -nocall -uid1 0x10000079 -uid2 0x100039ce -uid3 0x10005b90 "mobileor.sym" "C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/ARMI/UREL/mobileor.app"

    PETRAN - PE file preprocessor V01.00 (Build 191)
    Copyright (c) 1996-2004 Symbian Ltd.

    'Finished building target: C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/ARMI/UREL/mobileor.app'
    ' '
    'Building file: mobileor/mobileor.pkg'
    'Invoking: MakeSis (Installation File Generator)'
    makesis.exe "mobileor/mobileor.pkg" C:/CarbideWorkspace/mobileor/mobileor/mobileor.sis
    Processing mobileor/mobileor.pkg...
    mobileor/mobileor.pkg(24) : error: file not found
    make: *** [C:/CarbideWorkspace/mobileor/mobileor/mobileor.sis] Error 1
    make: Target `all' not remade because of errors.
    Build complete for project mobileor

    -----------------------------

    I don't quite understand what's wrong. There are no errors (not until the pkg file gets compiled, anyway), it just doesn't even try to build the .aif file. How can I tell it to build the .aif file?

    Thanks for help,
    Tamara

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: .app and .aif files not created during build

    In Carbide, to build the aif file you need to add an .aifdef file to your project. Once you have and .aifdef file, it will try to compile the .aif. See you friendly online Help for details.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Treviso - Italy
    Posts
    35

    Re: .app and .aif files not created during build

    Quote Originally Posted by mitts
    In Carbide, to build the aif file you need to add an .aifdef file to your project. Once you have and .aifdef file, it will try to compile the .aif. See you friendly online Help for details.
    Not true. It seems that it is due to the spaces in "document and settings". I just moved the workspace from "Documenti" to "E.\" and the .aif finally compiled. Still, now I can't find the "HelloWorld.app" file which is driving me crazy being that the file IS there.

    Here the error:

    'Invoking: MakeSis (Installation File Generator)'
    makesis.exe "sis/HelloWorld.pkg" E:/Symbian/Workspace/HelloWorld/sis/HelloWorld.sis
    Processing sis/HelloWorld.pkg...
    sis/HelloWorld.pkg(20) : error: file not found


    Here copy of the tail of HelloWorld.pkg:

    ; Four files to install
    ; Symbols set up for the source location are Carbide.c++ specific symbols
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\HelloWorld.app" -"!:\system\apps\HelloWorld\HelloWorld.app"
    "$(EPOCROOT)epoc32\data\z\system\apps\HelloWorld\HelloWorld.rsc" -"!:\system\apps\HelloWorld\HelloWorld.rsc"
    "$(EPOCROOT)epoc32\data\z\system\apps\HelloWorld\HelloWorld_caption.rsc" -"!:\system\apps\HelloWorld\HelloWorld_caption.rsc"
    "$(EPOCROOT)epoc32\data\z\system\apps\HelloWorld\HelloWorld.aif" -"!:\system\apps\HelloWorld\HelloWorld.aif"

    I'll keep researching but... I mean... This is the first time in all my life that I have problems with the furnished example of a compiler. And the documentation did not help at all.

Similar Threads

  1. .aif files, optional in .pkg files?
    By ja_calulot in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-07-09, 09:05

Posting Permissions

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