×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    91

    error : * cpp failed * epocaif.pl failed

    Hi,
    I created a project in Carbide and built it.
    I am getting the following error:


    **** Full rebuild of configuration S60 2.6 Emulator Debug for project Test ****

    make -k all
    'Building file: ../aif/Test.aifdef'
    'Invoking: AIF Compiler'
    perl -S epocaifdef.pl -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test.aif" ../aif/Test.aifdef
    cpp: edition\Test\aif\TestAif.rss: No such file or directory
    * cpp failed
    * epocaif.pl failed
    make: *** [C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test.aif] Error 1
    'Building file: ../data/Test.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -MD -DLANGUAGE_SC -I"C:\Symbian\Carbide\2nd edition\Test\inc" -I"C:\Symbian\Carbide\2nd edition\Test\data" -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Test.rsg ../data/Test.rss

    'Finished building: ../data/Test.rss'
    ' '
    'Building file: ../data/Test_caption.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -MD -DLANGUAGE_SC -I"C:\Symbian\Carbide\2nd edition\Test\inc" -I"C:\Symbian\Carbide\2nd edition\Test\data" -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test_caption.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Test_caption.rsg ../data/Test_caption.rss

    'Finished building: ../data/Test_caption.rss'
    ' '
    'Building file: ../aif/Testaif.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -MD -DLANGUAGE_SC -I"C:\Symbian\Carbide\2nd edition\Test\inc" -I"C:\Symbian\Carbide\2nd edition\Test\data" -I- -I"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -o"C:/Symbian/8.0a/S60_2nd_FP2_CW/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Testaif.rsc" -hC:\Symbian\8.0a\S60_2nd_FP2_CW\EPOC32\include\Testaif.rsg ../aif/Testaif.rss

    'Finished building: ../aif/Testaif.rss'
    ' '
    'Building file: ../src/TestApp.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\2nd edition\Test\inc" -i "C:\Symbian\Carbide\2nd edition\Test\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/TestApp.o ../src/TestApp.cpp
    'Finished building: ../src/TestApp.cpp'
    ' '
    'Building file: ../src/TestAppUi.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\2nd edition\Test\inc" -i "C:\Symbian\Carbide\2nd edition\Test\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/TestAppUi.o ../src/TestAppUi.cpp
    'Finished building: ../src/TestAppUi.cpp'
    ' '
    'Building file: ../src/TestContainer.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\2nd edition\Test\inc" -i "C:\Symbian\Carbide\2nd edition\Test\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/TestContainer.o ../src/TestContainer.cpp
    'Finished building: ../src/TestContainer.cpp'
    ' '
    'Building file: ../src/TestDocument.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\2nd edition\Test\inc" -i "C:\Symbian\Carbide\2nd edition\Test\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/TestDocument.o ../src/TestDocument.cpp
    'Finished building: ../src/TestDocument.cpp'
    ' '
    'Building file: ../.generated/winscw_uid.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\2nd edition\Test\inc" -i "C:\Symbian\Carbide\2nd edition\Test\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o .generated/winscw_uid.o ../.generated/winscw_uid.cpp
    'Finished building: ../.generated/winscw_uid.cpp'
    ' '
    'Invoking: Def file Manager'
    perl -S winscwTreatDef.pl -L[-sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -l"C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\eikdlg.lib" -l"C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\cntmodel.lib" -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -L"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\winscw\udeb" -export dllexport -warnings off -nocompactimportlib -implib \"Test.lib\" -addcommand \"out:Test.app\" -search ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./.generated/winscw_uid.o ] -I[-S -show only,names,unmangled,verbose -o \"Test.infi\" \"Test.lib\"] -M[-1 ?NewApplication@@YAPAVCApaApplication@@XZ -Inffile \"Test.infi\" \"Test.defi\"] -C[Test.defi Test.def]
    mwldsym2.exe -sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -lC:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\eikdlg.lib -lC:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\cntmodel.lib -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -LC:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\winscw\udeb -export dllexport -warnings off -nocompactimportlib -implib "Test.lib" -addcommand "out:Test.app" -search ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./.generated/winscw_uid.o

    mwldsym2.exe -S -show only,names,unmangled,verbose -o "Test.infi" "Test.lib"

    perl -S makedef.pl -1 ?NewApplication@@YAPAVCApaApplication@@XZ -Inffile "Test.infi" "Test.defi"

    perl -S ecopyfile.pl Test.defi Test.def
    Created Test.def

    'Finished building: Test.defi'
    ' '
    'Building target: C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app'
    'Invoking: WINSCW C/C++ Linker'
    mwldsym2.exe -sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -noimplib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -l"C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\eikdlg.lib" -l"C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\winscw\udeb\cntmodel.lib" -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -L"C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\release\winscw\udeb" -o "C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app" -search ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./.generated/winscw_uid.o -f Test.def
    'Finished building target: C:/Symbian/8.0a/S60_2nd_FP2_CW/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app'
    ' '
    make: Target `all' not remade because of errors.
    Build complete for project Test




    need help.
    Thanks

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: error : * cpp failed * epocaif.pl failed

    cpp: edition\Test\aif\TestAif.rss: No such file or directory
    could you check whether this path is correct?

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: error : * cpp failed * epocaif.pl failed

    You have a space in the directory name "2nd edition". That is a bad idea, perl scripts of the Symbian toolchain can not handle spaces.

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    91

    Re: error : * cpp failed * epocaif.pl failed

    Thanks a lot wizard_hu_!
    That was exactly the problem.
    You have really been of great help.

Similar Threads

  1. S60 5th ed emulator startup failed
    By hony in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2009-08-11, 21:12
  2. emulator startup failed
    By hony in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-11-11, 06:07
  3. getting error * cpp failed ,* epocaif.pl failed
    By sunilkumar in forum Symbian
    Replies: 4
    Last Post: 2007-08-24, 10:57
  4. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  5. epocaif.pl failed
    By Griffel in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2006-05-04, 12:19

Posting Permissions

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