×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    [moved] Building Multiple projects using carbide.c++

    Hi,

    I want to build multiple projects under one folder like in Visual Studio. I have a folder name ABC which contains 2 projects ABC1 and ABC2 and one Bld.inf file containing the projects references. The contents of Bld.inf file is:

    PRJ_MMPFILES

    ABC1\group\ABC1.mmp
    ABC2\group\ABC2.mmp

    when I tried to import this Bld.inf file in carbide.c++ and build the project, it's giving me following errors:

    1254813626458 the file 'ABC1_0xE7DF660E.hlp.hrh' cannot be opened ABC1AppUi.cpp
    1254813626520 undefined identifier 'KGeneral_Information' ABC1AppUi.cpp


    Is it possible to build multiple projects under one folder using carbide.c++?

    Please let me know!

    thanks...

  2. #2
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: Building Multiple projects using carbide.c++

    yes.. it is very much possible to build multiple mmp under one bld.inf file.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Building Multiple projects using carbide.c++

    Are you able to build the single project ABC1 ?

    By the way which version of Perl you are dealing with? Type perl -v on your command prompt and see what does it say.
    Nokia Developer Wiki Moderation team

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

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by RajeevSahu View Post
    Hi,

    I want to build multiple projects under one folder like in Visual Studio. I have a folder name ABC which contains 2 projects ABC1 and ABC2 and one Bld.inf file containing the projects references. The contents of Bld.inf file is:

    PRJ_MMPFILES

    ABC1\group\ABC1.mmp
    ABC2\group\ABC2.mmp

    when I tried to import this Bld.inf file in carbide.c++ and build the project, it's giving me following errors:

    1254813626458 the file 'ABC1_0xE7DF660E.hlp.hrh' cannot be opened ABC1AppUi.cpp
    1254813626520 undefined identifier 'KGeneral_Information' ABC1AppUi.cpp


    Is it possible to build multiple projects under one folder using carbide.c++?

    Please let me know!

    thanks...
    Yes, your attempt is correct. Error is not due to multiple mmp files in bld.inf. You could check if the relative paths of the files or existance of the files in the paths you specify in the mmp file.

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Building Multiple projects using carbide.c++

    Yes it is possible in a same way you have tried. However issue might be something different. Simple helloworld application is working fine??

    BTW Which version of perl are you using?

  6. #6
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by kiran10182 View Post
    Are you able to build the single project ABC1 ?

    By the way which version of Perl you are dealing with? Type perl -v on your command prompt and see what does it say.
    I am able to build the single project ABC1.

    I tried to find the perl version as per your suggestion. The result is as follows:

    C:\Documents and Settings\rsahu>perl -v

    This is perl, v5.6.1 built for MSWin32-x86-multi-thread
    (with 1 registered patch, see perl -V for more detail)

    Copyright 1987-2001, Larry Wall

    Binary build 638 provided by ActiveState Corp. http://www.ActiveState.com
    ActiveState is a division of Sophos.
    Built Apr 13 2004 19:24:21

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using `man perl' or `perldoc perl'. If you have access to the
    Internet, point your browser at http://www.perl.com/, the Perl Home Page.

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Building Multiple projects using carbide.c++

    Hmm. How about building single project ABC1 ? And also how about creating a new HelloWorldBasic GUI application and building it?
    Nokia Developer Wiki Moderation team

  8. #8
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by kiran10182 View Post
    Hmm. How about building single project ABC1 ? And also how about creating a new HelloWorldBasic GUI application and building it?
    I didn't get you.You want to build both projects under one folder?

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by RajeevSahu View Post
    I didn't get you.You want to build both projects under one folder?
    No. I meant one by one for testing purpose.
    Nokia Developer Wiki Moderation team

  10. #10
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: Building Multiple projects using carbide.c++

    'ABC1_0xE7DF660E.hlp.hrh'--------> is this present.
    'KGeneral_Information' ----------- is this defined?

    where exacly these two things are in your project.

  11. #11
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by pawan_G View Post
    'ABC1_0xE7DF660E.hlp.hrh'--------> is this present.
    'KGeneral_Information' ----------- is this defined?

    where exacly these two things are in your project.
    Yes.These two things are present in ABC1AppUi.cpp.

  12. #12
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: Building Multiple projects using carbide.c++

    Kindly let me know the procedure of adding and building 2-3 projects under one project folder.

  13. #13
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: Building Multiple projects using carbide.c++

    you are doing very much ryte..
    its a error due to .h and definition not found.


    'ABC1_0xE7DF660E.hlp.hrh'
    is it present in ABC1\inc

    and 'KGeneral_Information
    is this really defined i mean something like this
    _LIT(KGeneral_Information,"someinfo");

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Building Multiple projects using carbide.c++

    Do a search for KGeneral_Information in the "Carbide.c++ IDE and plug-ins" forum (where you should have posted this) and you will find that this error ocurred before and that a solution exists. As I remember this is due to some template macro error which ends up with inconsistent filenames and variable capitalization. I also tend to remember the problem being fixed in a Carbide.c++ update (do you have version 2.0.0.025, 2.0.2.x, 2.0.4.x or 2.1 ?)

    Just in case I'm wrong, cleanup the project and then build again making sure to inspect the output. Before a complaint about something not existing there must be an error about the same thing not being built and that's were you need to start fixing.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

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

    Re: Building Multiple projects using carbide.c++

    Quote Originally Posted by RajeevSahu View Post
    Kindly let me know the procedure of adding and building 2-3 projects under one project folder.
    Your procedure is correct. Kindly test your environment by checking if it builds one Test Application by creating it using Carbide Wizard.

Similar Threads

  1. [moved] How can we create 2nd edition projects with Carbide 1.3
    By sudeepa2005 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-11-16, 07:55
  2. Multiple projects
    By navi2000 in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2009-06-23, 19:19
  3. [moved] Single SISX file with multiple applications embedded in it
    By thokkal in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2009-02-23, 18:58
  4. Example Icons not shown : Please help !
    By Mauro_Nokia in forum Symbian
    Replies: 4
    Last Post: 2006-07-07, 09:25

Posting Permissions

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