×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    7

    Cannot Create SIS File

    Hi Everybody,

    I have some difficulties trying out this demo example from Qt: spectrum

    It does work flawlessly in the simulator but I cannot deploy it on a real device. Here's the error message I get:

    C:\NokiaQtSDK\Symbian\SDK\epoc32\release\gcce\udeb\spectrum.exe
    Die Paketdatei 'C:/Users/Berger/Desktop/spectrum/app/spectrum.sis' konnte nicht gefunden werden: Paketdatei nicht gefunden

    It basically says that it can't find a sis file because it has not been created. I tried it on several computers with the same result. Don't know what else to do.

    You can find this example under the name "spectrum" in the qt sdk 4.6.3 (and above) SDKs in the demo folder.

    I also tried to copy this code into the spectrum.pro file as explained on the blog as it contains an external DLL library:

    bin.sources = fftreal.dll spectrum.exe
    bin.path = /sys/bin
    rsc.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/spectrum.rsc
    rsc.path = $$APP_RESOURCE_DIR
    mif.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/spectrum.mif
    mif.path = $$APP_RESOURCE_DIR
    reg_rsc.sources = $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/spectrum_reg.rsc
    reg_rsc.path = $$REG_RESOURCE_IMPORT_DIR
    DEPLOYMENT += bin rsc mif reg_rsc


    Hope someone can help me and thank you in advance!
    - studio

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Cannot Create SIS File

    Hi,

    If you are trying for symbian device than does Qt creator detect your device?
    Check this from the project option.
    Jajal Mehul

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    7

    Re: Cannot Create SIS File

    Hi james,

    yes it does recognize my device. Other qt examples and selfmade apps do work corretly on the device. I'm only having troubles with this demo.
    Thanks,
    - studio

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Cannot Create SIS File

    Is running the makesis step? If so, and it doesn't actually build anything (and there are no error messages) then you probably need to set the build configuration in the project properties.

  5. #5
    Registered User
    Join Date
    Aug 2010
    Posts
    7

    Re: Cannot Create SIS File

    It's compiling the project. But I'm not sure if it runs makesis. I attached the complete output of the compiler.
    I checked out this directory: "/NokiaQtSDK/Symbian/SDK/epoc32/data/z/private/a000e402" as it cannot find the spectrum.rsc. The bad thing is that the directory is never being created. I'm using the default qtcreator/sdk configurations - haven't touched anything.

    Here's the output:

    Code:
    Starte: "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" debug-gcce -w 
    C:\NokiaQtSDK\Symbian\SDK\epoc32\tools\make.exe: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    ABLD.BAT build gcce udeb 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\EXPORT.make" EXPORT VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    Nothing to do 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\GCCE.make" MAKEFILE VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    make -s -C \Users\Berger\Desktop\spectrum\3rdparty\fftreal -f "MAKEFILE_0XA000E403.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E403\GCCE TO_BLDINF=..\..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE MAKMAKE 
    perl -S makmake.pl -D \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403 GCCE 
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(40) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(41) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\sys\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(44) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\stlport\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(46) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\oem\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(49) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(50) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(51) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(53) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\sc\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP(54) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\middleware\loc\sc\" not found 
    
    
    MMPFILE "\Users\Berger\Desktop\spectrum\3rdparty\fftreal\FFTREAL_0XA000E403.MMP" 
    make -s -C \Users\Berger\Desktop\spectrum\app -f "MAKEFILE_0XA000E402.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E402\GCCE TO_BLDINF=..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE MAKMAKE 
    perl -S makmake.pl -D \Users\Berger\Desktop\spectrum\app\APP_0XA000E402 GCCE 
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(54) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(55) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\sys\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(60) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\stlport\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(62) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\oem\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(65) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(66) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(67) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(69) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\sc\" not found 
    
    WARNING: \Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP(70) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\middleware\loc\sc\" not found 
    
    
    MMPFILE "\Users\Berger\Desktop\spectrum\app\APP_0XA000E402.MMP" 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\GCCE.make" LIBRARY VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    make -s -C \Users\Berger\Desktop\spectrum\3rdparty\fftreal -f "MAKEFILE_0XA000E403.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E403\GCCE TO_BLDINF=..\..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE LIB 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\FFTREAL_0XA000E403\GCCE\FFTREAL_0XA000E403.GCCE" LIBRARY 
    make -s -C \Users\Berger\Desktop\spectrum\app -f "MAKEFILE_0XA000E402.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E402\GCCE TO_BLDINF=..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE LIB 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\APP_0XA000E402\GCCE\APP_0XA000E402.GCCE" LIBRARY 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\GCCE.make" RESOURCE CFG=UDEB VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    make -s -C \Users\Berger\Desktop\spectrum\3rdparty\fftreal -f "MAKEFILE_0XA000E403.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E403\GCCE TO_BLDINF=..\..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB RESOURCE 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\FFTREAL_0XA000E403\GCCE\FFTREAL_0XA000E403.GCCE" RESOURCEUDEB 
    make -s -C \Users\Berger\Desktop\spectrum\app -f "MAKEFILE_0XA000E402.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E402\GCCE TO_BLDINF=..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB RESOURCE 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\APP_0XA000E402\GCCE\APP_0XA000E402.GCCE" RESOURCEUDEB 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\GCCE.make" TARGET CFG=UDEB VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    make -s -C \Users\Berger\Desktop\spectrum\3rdparty\fftreal -f "MAKEFILE_0XA000E403.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E403\GCCE TO_BLDINF=..\..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB BLD 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\FFTREAL_0XA000E403\GCCE\FFTREAL_0XA000E403.GCCE" UDEB 
    make -s -C \Users\Berger\Desktop\spectrum\app -f "MAKEFILE_0XA000E402.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E402\GCCE TO_BLDINF=..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB BLD 
    make -s -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\APP_0XA000E402\GCCE\APP_0XA000E402.GCCE" UDEB 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\Users\Berger\Desktop\spectrum\GCCE.make" FINAL CFG=UDEB VERBOSE=-s 
    make[1]: Entering directory `C:/Users/Berger/Desktop/spectrum' 
    make -s -C \Users\Berger\Desktop\spectrum\3rdparty\fftreal -f "MAKEFILE_0XA000E403.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E403\GCCE TO_BLDINF=..\..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB FINAL 
    make -s -C \Users\Berger\Desktop\spectrum\app -f "MAKEFILE_0XA000E402.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0XA000E402\GCCE TO_BLDINF=..\..\..\..\..\Users\Berger\Desktop\spectrum PLATFORM=GCCE CFG=UDEB FINAL 
    make[1]: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    C:\NokiaQtSDK\Symbian\SDK\epoc32\tools\make.exe: Leaving directory `C:/Users/Berger/Desktop/spectrum' 
    The Prozess "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" wurde normal beendet.
    Starte: "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" sis 
    make -s -f Makefile ok_sis 
    Error : Cannot find file : /NokiaQtSDK/Symbian/SDK/epoc32/data/z/private/a000e402/spectrum.rsc 
    
    (32) : error: file I/O fault. 
    
    file I/O fault, cannot open spectrum_unsigned.sis. 
    
    SIS creation failed! 
    The Prozess "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" wurde normal beendet.

    Thanks

  6. #6
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Cannot Create SIS File

    Well, I understand very little about the build process in general, and even less about the Qt SDK, but this is your makesis step:
    Code:
    Starte: "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" sis 
    make -s -f Makefile ok_sis 
    Error : Cannot find file : /NokiaQtSDK/Symbian/SDK/epoc32/data/z/private/a000e402/spectrum.rsc
    Here's a little about RSC files: http://www.newlc.com/en/File-types-a...endencies.html

    I think in Qt the RSC file is just used to define the application name and menu icon.

    When I look for the RSC files belonging to a vanilla Qt application on my Carbide setup I find four of them:
    Code:
    ./data/z/private/10003a3f/import/apps/HeapLeak_reg.rsc
    ./data/z/resource/apps/HeapLeak.rsc
    ./release/winscw/udeb/z/private/10003a3f/import/apps/HeapLeak_reg.rsc
    ./release/winscw/udeb/z/resource/apps/HeapLeak.rsc
    The last two are apparently associated with the emulator build and so irrelevant for the device build.

    You can see what's in the files, in readable form by looking at the corresponding RSS files. (You should find spectrum.rss and spectrum_reg.rss in your project.)

  7. #7
    Registered User
    Join Date
    Aug 2010
    Posts
    7

    Re: Cannot Create SIS File

    Thanks, I checked out those .rss files in the project folder. They are being created automatically by qmake. But they never seem to get converted to .rsc files. It doesn't seem to create anything in this folder "/NokiaQtSDK/Symbian/SDK/epoc32/data/z/private/" that has something to do with this project. Also the rss files don't seem to contain anything that important:

    Code:
    spectrum_reg.rss:
    #include <spectrum.rsg>
    #include <appinfo.rh>
    
    UID2 KUidAppRegistrationResourceFile
    UID3 0xA000E403
    
    RESOURCE APP_REGISTRATION_INFO
    	{
    	app_file="spectrum";
    	localisable_resource_file="\\resource\\apps\\spectrum";
    
    	}
    
    
    spectrum.rss:
    #include <appinfo.rh>
    #include "spectrum.loc"
    
    RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    	{
    	short_caption = STRING_r_short_caption;
    	caption_and_icon =
    	CAPTION_AND_ICON_INFO
    		{
    		caption = STRING_r_caption;
    		number_of_icons = 0;
    		icon_file = "";
    		};
    	}

    Hmm, I guess this project was created in Carbide.C++ and not in QtCreator. Is this a big problem? Other than that I really don't know what could cause this problem.

    But thanks again!

  8. #8
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Cannot Create SIS File

    Did you search for the rsc files? They may be somewhere other than where you and the build are looking. Have you tried doing a clean?

Similar Threads

  1. [moved] How to create sis file which only contaians jad file
    By amit.mangal in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2009-11-06, 12:16
  2. create sis file?
    By cool_eagle in forum Symbian
    Replies: 5
    Last Post: 2008-08-21, 14:47
  3. how to create sis file
    By Simron in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-06-18, 13:59
  4. Steps to create SIS. How create .pkg file for petran?
    By BobbyFletcher in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-04-21, 18:26
  5. how to create .sis file from .jar and .jad file
    By gopnik in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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