×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Carbide.vs Visual Studio 2005 makesis Problem

    Hi,


    if i select "File->New-> Project" and then Project type "Symbian"
    and Visual Studio installed templates -> "New Symbian OS Project" everything is fine. I am able to compile and VS creates a ".pkg" file. But i can't create a sis file 'cause makesis replies "Cannot find file .....\<myprojectname>.exe. So what is wrong?



    Frank

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Quote Originally Posted by FrankTheFox View Post
    Hi,


    if i select "File->New-> Project" and then Project type "Symbian"
    and Visual Studio installed templates -> "New Symbian OS Project" everything is fine. I am able to compile and VS creates a ".pkg" file. But i can't create a sis file 'cause makesis replies "Cannot find file .....\<myprojectname>.exe. So what is wrong?



    Frank
    Its possible that there are some errors in the build and hence it is not able to find the exe of your project. So check more closely in the console for the root of the error

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    This is my build report...


    Updating Symbian1.mmp based on Deb_S60_30M_WINSCW
    Update of mmp file not needed
    WINSCW (emulator) build
    Set build parameters for Deb_S60_30M_WINSCW
    ------ Build started: Project: Symbian1, Configuration: Deb_S60_30M_WINSCW Win32 ------
    Performing Pre-Build Event...
    * Current build configuration: WINSCW UDEB
    Compiling...
    epocroot = \Symbian\9.1\S60_3rd_MR\
    * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle msvs -enum int -ext ms -str pool -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "inc" -i "C:\Symbian\9.1\S60_3rd_MR\\epoc32\include" -i C:\Symbian\9.1\S60_3rd_MR\epoc32\include\variant -include symbian_os_v9.1.hrh -c .\src\Symbian1.cpp -o "Deb_S60_30M_WINSCW\Symbian1.obj"
    epocroot = \Symbian\9.1\S60_3rd_MR\
    * mwccsym2.exe -g -O0 -inline off -sym codeview_new -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle msvs -enum int -ext ms -str pool -nostdinc -d _DEBUG -d _UNICODE -d "__SYMBIAN32__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SUPPORT_CPP_EXCEPTIONS__" -d "__EXE__" -d "__WINSCW__" -d "__WINS__" -d "__CW32__" -d "_DEBUG" -d "_UNICODE" -cwd source -i- -i "inc" -i "C:\Symbian\9.1\S60_3rd_MR\\epoc32\include" -i C:\Symbian\9.1\S60_3rd_MR\epoc32\include\variant -include symbian_os_v9.1.hrh -c .\group\symbian1.uid.cpp -o "Deb_S60_30M_WINSCW\symbian1.uid.obj"
    Linking...
    Creating library C:\Symbian\9.1\S60_3rd_MR\\Epoc32\release\winscw\udeb\Symbian1.lib and object C:\Symbian\9.1\S60_3rd_MR\\Epoc32\release\winscw\udeb\Symbian1.exp
    Build log was saved at "file://c:\...\SymbianOSProgramming\Project1\Symbian1\Symbian1\Deb_S60_30M_WINSCW\BuildLog.htm"
    Symbian1 - 0 error(s), 0 warning(s)
    Unset build parameters for Deb_S60_30M_WINSCW
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

    and these are my projects paths:

    1) "C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\winscw\udeb" -> "Symbian1.exe"
    2) "C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\winscw\udeb" -> Symbian1.exe"

    and this is the part from the "pkg" file

    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    "..\..\..\epoc32\release\gcce\urel\symbian1.exe"-"!:\sys\bin\symbian1.exe"
    and this is my attempt to create a sis file:
    C:\..\SymbianOSProgramming\Project1\Symbian1\Symbian1\sis>makesis Symbian1.pkg
    Processing Symbian1.pkg...
    Error : Cannot find file : ..\..\..\epoc32\release\gcce\urel\symbian1.exe

    Symbian1.pkg(23) : error: file I/O fault.
    Last edited by FrankTheFox; 2008-09-25 at 09:40. Reason: Current Project path found:

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Have you tried building in the commandline? Check if build completes and the exe is created.

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Why you want to makesis a emulator build ?

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Just noticed: Further to Kumar's comments(thanks to Kumar), You are building for winscw and the makesis is searching for the exe in the gcce urel directory. if you want to have a sis file for the device build for gcce urel and then makesis should create your sis file

  7. #7
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    @Symbian_Neil

    My builds runs directly from the VS2005 IDE.
    These...
    1) "C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\winscw\udeb" -> "Symbian1.exe"
    2) "C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\winscw\udeb" -> Symbian1.exe"
    ...are my exe files created from VS2005 IDE.


    My Project "Property Pages" let me choose an "Deb_S60_30M_WINSCW" Configuration.
    Where will i have the opportunity to choose a "gcce urel" build?


    @skumar_rao "Why you want to makesis a emulator build ?"
    I want to create a file to upload on my mobile so i thought that this extension is the proper choice.

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Quote Originally Posted by FrankTheFox View Post
    @Symbian_Neil

    My builds runs directly from the VS2005 IDE.
    These...

    ...are my exe files created from VS2005 IDE.


    My Project "Property Pages" let me choose an "Deb_S60_30M_WINSCW" Configuration.
    Where will i have the opportunity to choose a "gcce urel" build?


    @skumar_rao "Why you want to makesis a emulator build ?"
    I want to create a file to upload on my mobile so i thought that this extension is the proper choice.
    WINSCW is meant for windows emulator only.
    you should be selecting a GCCE or a ARMV5 build.

  9. #9
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Quote Originally Posted by FrankTheFox View Post
    Where will i have the opportunity to choose a "gcce urel" build?


    I want to create a file to upload on my mobile so i thought that this extension is the proper choice.
    Winscw udeb-emulator debug build
    gcce udeb-phone debug build
    gcce urel-phone release build(If you want to install application to the device and run it)

    Note for arm5 you would need the compiler which doesnt come free with the sdk, you will have to exclusively buy it.

  10. #10
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Hi,


    i am not shure if i get you. If i want to compile and create my builds directly from VS2005 will i
    customize my "Property Pages" ?
    My choises are (concerning my platform : "Active(Win32)", "Pocket PC 2003 (ARMV4)", ""Smartphone
    (ARMV4)", "Win32", All Platforms,...
    Configuration is "DEB_S60_30M_WINSCW".

    In writing c++ code which runs on Nokia E65.


    My download list :

    ...
    Cbdvs3-1.0.1.exe
    VSSDK_PowerToys.msi
    S60-SDK-0616-3.0-mr.3.749.zip
    Cbdvs3.0.1.exe
    ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi
    ...


    Greetz
    Frank

  11. #11
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Quote Originally Posted by FrankTheFox View Post
    Hi,


    i am not shure if i get you. If i want to compile and create my builds directly from VS2005 will i
    customize my "Property Pages" ?
    My choises are (concerning my platform : "Active(Win32)", "Pocket PC 2003 (ARMV4)", ""Smartphone
    (ARMV4)", "Win32", All Platforms,...
    Configuration is "DEB_S60_30M_WINSCW".

    In writing c++ code which runs on Nokia E65.


    My download list :





    Greetz
    Frank
    Very quick notes: perl version is wrong. It should be 5.6.1 and not 5.10
    You should be getting platform choices as winscw udeb, gcce udeb and gcce urel. Add Arm5 to that list if you already purchased the RVCT compiler. Other than that, maybe you should start from clean slate importing it correctly. Check the bld.inf for correct platform supported.
    See SDK docs for details of how your bld.inf file should look. Or better still check the examples in the SDK.

  12. #12
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Hi,


    i switched my perl distribution from 5.10.0 Build 1004 to 5.6.1 Build 638. I've created a new Symbian OS Project.
    I've installed the S60 3rd SDK.
    I've selected WINSCW and GCCE checkboxes and selected all installed SDK's. My "Solution Configurations" choices extends as "Deb_S60_30_WINSCW", "Deb_S60_30M_WINSCW", "Deb_S60_32_v1_1_1.1_WINSCW", "Rel_S60_30_GCCE", "Rel_S60_30M_GCCE", "Deb_S60_32_v1_1_1.1_GCCE". My "Solution Platforms" still remains "Win32". I am not shure! Will this solve my previous problems?


    Greetz
    Frank

  13. #13
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Quote Originally Posted by FrankTheFox View Post
    Hi,


    i switched my perl distribution from 5.10.0 Build 1004 to 5.6.1 Build 638. I've created a new Symbian OS Project.
    I've installed the S60 3rd SDK.
    I've selected WINSCW and GCCE checkboxes and selected all installed SDK's. My "Solution Configurations" choices extends as "Deb_S60_30_WINSCW", "Deb_S60_30M_WINSCW", "Deb_S60_32_v1_1_1.1_WINSCW", "Rel_S60_30_GCCE", "Rel_S60_30M_GCCE", "Deb_S60_32_v1_1_1.1_GCCE". My "Solution Platforms" still remains "Win32". I am not shure! Will this solve my previous problems?


    Greetz
    Frank
    What do you mean solution platform? You should build for the configs mentioned in the above posts and you already seem to have those(Am not a Visual studio guy, so dont know how it might be in Carbide.Vs and Visual studio IDE. But you can check if it compiles now.

  14. #14
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    "Solution Platform" is a choice in the VS2005 IDE placed near by the "Solution Configuration". Where you are able to build code for different "solutions". Ok i build my new Project "A hello world app" an there is my output (...part of it...) in the build window (VS IDE).:
    Updating Symbian2.mmp based on Deb_S60_30_WINSCW
    Update of mmp file not needed
    Target build using Symbian tool chain
    Set build parameters for Rel_S60_30_GCCE
    ------ Build started: Project: Symbian2, Configuration: Rel_S60_30_GCCE Win32 ------
    Performing Makefile project actions
    * Current build configuration: GCCE UREL
    Converting multi-icons...
    EpocRoot = \Symbian\9.1\S60_3rd\
    * C:\Symbian\9.1\S60_3rd\\epoc32\tools\mifconv.exe \Symbian\9.1\S60_3rd\Epoc32\data\z\resource\apps\Symbian2_reg.mif /hC:\...\...\Project2\Symbian2\Symbian2\inc\Symbian2_reg.mbg /FC:\...\...\Project2\Symbian2\Symbian2\data\Symbian2_reg.miflist
    Reading source list file: C:\Gobas\SymbianOSProgramming\Project2\Symbian2\Symbian2\data\Symbian2_reg.miflist
    Checking: ..\gfx\qgn_menu.svg
    Choosing...
    the important line is * Current build configuration: GCCE UREL. So i think i am able to run this project on my phone. It also create a .sis file.
    But i dont have the option to build a "gcce udeb".
    By the way my previous build was:
    ...
    * Current build configuration: WINSCW UDEB
    ...
    Greetz
    Franky

  15. #15
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Carbide.vs Visual Studio 2005 makesis Problem

    Can you try to build from commandline and see if it succeeds?

Similar Threads

  1. Carbide.vs - Visual Studio 2005 plug-in
    By Mike Trujillo in forum Symbian Tools & SDKs
    Replies: 21
    Last Post: 2010-07-22, 22:49
  2. Visual Studio 2005 any hope?
    By gx_306 in forum General Development Questions
    Replies: 2
    Last Post: 2007-09-13, 01:08
  3. SDK for Visual Studio 2005 / SDK Selection
    By kebax in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-05-25, 14:25
  4. S60 + Visual Studio .Net 2003 Link error, but command line fine
    By redmeat in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2005-12-22, 10:05
  5. Visual Studio 2005 SDK
    By mccake in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-08-03, 16:43

Posting Permissions

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