×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Multiple sis files attempt to get built

    I have started using carbide.c++ Professional

    I have a dll project that has no sis files in it, it is part of another project.

    In the project paths there are 6 .pkg files but none of there are to be built for this project.

    I can import the mmp but when it comes to building it, it fails as it is attempting to build *ALL* the pkg files as opposed to none of them - which it should be doing.

    The question is how can I disable it attempting to build the sis file?

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399

    Re: Multiple sis files attempt to get built

    Hi Paul -

    This is an import limitation where we currently only disable SOURCE statements conditionally. Since the current builder in the 1.1 release works on file extensions it's picking up all your PKG references and trying to build them. To disable a file you can right click on it and select Properties > C/C++ Build and enable the checkbox that says "Exclude from Build".

    A Carbide specific alternative is to add your PKG files as SOURCE statments in your MMP file around a conditional block:

    #ifdef _CARBIDE_CPP_
    #ifdef GCCE
    SOURCE gcce.pkg
    #endif
    // other carbdie specific conditionals

    #endif


    Next release will have PKG building off by default so you don't run into these auto-sis building problems.

    Cheers,
    Tim

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Multiple sis files attempt to get built

    Would I have to do the same for DOCUMENT directives as I noticed that the importer was reporting that these were not supported.

    I have a custom perl script that scans the mmp files looking for documents and then building the sis files out the .pkg specified in it (This is a seperate project).

  4. #4
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399

    Re: Multiple sis files attempt to get built

    Quote Originally Posted by Paul.Todd
    Would I have to do the same for DOCUMENT directives as I noticed that the importer was reporting that these were not supported.
    On a "Copy to workspace" you would. If you aren't copying to workspace you just need an INCLUDE to the documents that you want to show up in the project tree if they don't already.


    Quote Originally Posted by Paul.Todd
    I have a custom perl script that scans the mmp files looking for documents and then building the sis files out the .pkg specified in it (This is a seperate project).
    That's cool, being able to build directly from MMP to SIS file has been a bit of a pain and something I'd like to be simplified. I think the template engine projects in Carbide.c++ do a decent job of building SIS files from scratch, but as you found importing MMPs can still take a bit of manual set-up.

    Cheers,
    Tim

Similar Threads

  1. Multiple programs within single SIS file dilema
    By LongSteve in forum Symbian
    Replies: 6
    Last Post: 2008-03-20, 06:05
  2. How does DRM protection work with SIS files?
    By tote_b5 in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2006-08-12, 00:18
  3. Running multiple python sis files simultaneously
    By bercobeute in forum Symbian
    Replies: 5
    Last Post: 2005-10-31, 14:40
  4. Question about SISAR or making SIS files.
    By Hell255 in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2004-03-23, 07:59
  5. Sending several files without using SIS
    By stopin in forum Symbian
    Replies: 0
    Last Post: 2003-07-10, 16:32

Posting Permissions

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