×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    38

    How to include path in carbide c++ 2.0?

    Hello Everyone,

    i m trying to run simple cube (artolkitplus s60/Augmented Reality)program into carbide c++ v2.0 using sdk_s60_3rd...but after try to build/run in carbide c++ 2.0.. it shows some error:

    1.ARToolKitPlus/TrackerSingleMarker.h: No such file or directory[/Nokia/artoolkitplus-s60/OpenGLEx/SimpleCube/inc/Tracker_ARTK.h:14]
    2.error: `ARToolKitPlus' has not been declared
    3.error: ISO C++ forbids declaration of `TrackerSingleMarker' with no type
    4.error: expected `;' before '*' token
    5.error: `tracker' undeclared (first use this function)
    6.error: (Each undeclared identifier is reported only once for each function it appears in.)


    i think, this should have to inculde path of all header file of artoolkit plus s60's include folder into carbide c++(project->properties->build->configarations->paths & symbols)..but i can't able to include here..there is no option to include path here.so how can i include path into carbide c++2.0...plz suggest me ..

    thanks

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

    Re: How to include path in carbide c++ 2.0?

    double click on the mmp in carbide.c++ and a mmp editor will open there you can add your path.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    434

    Re: How to include path in carbide c++ 2.0?

    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \EPOC32\INCLUDE\LIBC
    www.faxinwen.com 发新闻
    阅读分享__移动与互联网

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    38

    Re: How to include path in carbide c++ 2.0?

    Quote Originally Posted by skumar_rao View Post
    double click on the mmp in carbide.c++ and a mmp editor will open there you can add your path.
    where i can open mmp editor in carbide c++ 2.0?

    thanks

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to include path in carbide c++ 2.0?

    Quote Originally Posted by rassall_jubair View Post
    where i can open mmp editor in carbide c++ 2.0?

    thanks
    1. Window->Show View->Project Explorer
    This will show your application there
    2. Now double click on your application it will show all the folders of your application.
    3. You should see a group folder, double click on that, you will see a YYY.mmp file
    4. Double click on the yyy.mmp file it will open the mmp editor, you can make changes there.

    Cheers,
    Mayank

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    38

    Re: How to include path in carbide c++ 2.0?

    Quote Originally Posted by mayankkedia View Post
    1. Window->Show View->Project Explorer
    This will show your application there
    2. Now double click on your application it will show all the folders of your application.
    3. You should see a group folder, double click on that, you will see a YYY.mmp file
    4. Double click on the yyy.mmp file it will open the mmp editor, you can make changes there.

    Cheers,
    Mayank

    Problem Solved...i had to edit .mmp file to add include path.also had to add artoolkit.lib into bin.

    thanks Mayank..

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

    Re: How to include path in carbide c++ 2.0?

    Hi rassall_jubair, can you let me know where can i get this proect source files (is it open source)

  8. #8
    Registered User
    Join Date
    May 2009
    Posts
    38

    Re: How to include path in carbide c++ 2.0?

    Ys...this is open Source...I get it from with artoolkit software...this is for create augmented reality application.thanks

  9. #9
    Registered User
    Join Date
    Jul 2010
    Posts
    11

    Re: How to include path in carbide c++ 2.0?

    Hi, I'm trying to run this too, but I have not yet succeeded. I obtained one error:
    "\Symbian\9.2\S60_3rd_FP1_3\EPOC32\RELEASE\ARMV5\LIB\stdlib.dso: No such file: No such file or directory"
    And I don't know why.

    My SimpleCube.mmp is like:
    //----------------------------------------------
    ...
    //New style application exe
    TARGET simplecube.exe
    TARGETTYPE exe
    UID 0x100039CE 0xA000021A

    EPOCSTACKSIZE 30000

    VENDORID 0
    CAPABILITY UserEnvironment

    EPOCSTACKSIZE 0x5000
    EPOCHEAPSIZE 0x1000 4000000


    SOURCEPATH ..\src
    SOURCE SimpleCube.cpp
    SOURCE SimpleCubeapp.cpp
    SOURCE SimpleCubeappui.cpp
    SOURCE SimpleCubedocument.cpp
    SOURCE SimpleCubecontainer.cpp
    SOURCE CameraN95.cpp
    SOURCE VideoTexture.cpp
    SOURCE Tracker_ARTK.cpp

    USERINCLUDE .
    USERINCLUDE ..\inc

    SYSTEMINCLUDE .
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\variant
    SYSTEMINCLUDE \epoc32\include\stdapis
    SYSTEMINCLUDE \epoc32\include\stdapis\sys
    SYSTEMINCLUDE \epoc32\include\stdapis\stlport
    SYSTEMINCLUDE \epoc32\include\libc



    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
    LIBRARY avkon.lib fbscli.lib efsrv.lib bafl.lib
    LIBRARY estor.lib hal.lib estlib.lib flogger.lib
    LIBRARY libgles_cm.lib
    LIBRARY ws32.lib ecam.lib gdi.lib
    LIBRARY libc.lib libstdcpp.lib libpthread.lib
    LIBRARY stdlib.lib

    STATICLIBRARY ARToolkit.lib


    SOURCEPATH ..\data
    START RESOURCE SimpleCube.rss
    TARGETPATH \\resource\apps
    HEADER
    LANG SC
    END

    SOURCEPATH ..\data
    START RESOURCE SimpleCube_reg.rss
    TARGETPATH \private\10003a3f\import\apps
    END

    USERINCLUDE \artoolkitSymbian\ARToolkitPlus-S60\include
    -----------------------/
    Any sugestion?

    thanks in advance.

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: How to include path in carbide c++ 2.0?

    You need to install the Open C/C++ plugin, Library above, Tools and downloads, Find more tools, Tools for Symbian C++ development.

    EDIT: stdlib.dso would not exist anyway, have you modified the original code?

  11. #11
    Registered User
    Join Date
    Jul 2010
    Posts
    11

    Re: How to include path in carbide c++ 2.0?

    No, I don't modify anything. I downloaded artoolkitplus-s60.zip, I install: ActivePerl 5.6.1, carbide c++ 2.3.0, two SDKs:S60_3rd_FP1 (9.2) and S60_3rd_MR (9.1), and OpenGL_ES_1.1_plug-in_For_S60_3_0_SDK. Then, I unzip artoolkitplus-s60, I open carbide, import->existing proyect into workspace, I select folder "artoolkitplus-s60". It Appears two projects in the project Explorer: ARTollkitPlus and SimpleCubeAR. I clean both of them and build later. To solve the errors i try to change Propierties->Build configurations->configuration:Phone Release (GCCE) [S60_3rd_FP1], and modify SimpleCube.mmp to add "SYSTEMINCLUDE \epoc32\include\libc" and change path of artoolkitplus to "USERINCLUDE \artoolkitSymbian\ARToolkitPlus-S60\include".
    With this configuration I obtain error that I say before.

    Any suggestion?

    Thanks in advance

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: How to include path in carbide c++ 2.0?

    Comment the line "LIBRARY stdlib.lib"

  13. #13
    Registered User
    Join Date
    Jul 2010
    Posts
    11

    Re: How to include path in carbide c++ 2.0?

    Ok,

    When I comment this line it appears 7 errors:
    - undefined reference to 'Camera::Camera()'
    - undefined reference to 'Camera::~Camera()'
    - more undefined references to 'Camera::~Camera()' follow
    - undefined reference to 'Camera::Init(float, int, int, int, int)'
    - \Symbian\9.2\S60_3rd_FP1_3\EPOC32\BUILD\artoolkitSymbian\OpenGLEx\SimpleCube\group\SIMPLECUBE\GCCE\UREL\CameraN95.o.rodata+0x6c): undefined reference to `typeinfo for Camera'
    - more undefined references to `ARToolKitPlus::Fixed28_SinCos(long, long&, long&)' follow
    - undefined reference to `ARToolKitPlus::Fixed28_SinCos(long, long&, long&)'

    And one warning:
    - Invalid project path: Missing project folder or file: \SimpleCubeAR\ARToolkitPlus\include for Source path.

    All of then have the same resource: SimpleCubeAR; and in 'Location' appears "Line 0"

    I'm getting closer?

    Thanks for your time.

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: How to include path in carbide c++ 2.0?

    Given that on other platforms stdlib would contain implementation for the standard C library functions, it is absolutely sure that such a diverse list of missing functions would not be implemented by that library anyway. Check if the project contains such definitions anywhere (simply search for them as text - like Camera::Camera or ARToolKitPlus::Fixed28_SinCos).
    Are both projects are marked for building? Can you check if ARToolkit.lib exists? (it is supposed to be in epoc32\release\gcce\urel, for a Phone Release "GCCE" build).

  15. #15
    Registered User
    Join Date
    Jul 2010
    Posts
    11

    Re: How to include path in carbide c++ 2.0?

    I searched in entire workspace and only founded:
    - In camara.h appears this:
    namespace ARToolKitPlus {

    class Camera : public ARParam
    {
    public:
    Camera()
    { fileName = NULL; }

    virtual ~Camera()
    { delete fileName; }

    - In cameraN95.cpp appears this:
    CameraN95::CameraN95(int type) : Camera::Camera()
    {
    pBufInternal = 0;
    newFrameReady = false;
    this->type = type;
    }

    CameraN95::~CameraN95(void)
    {
    if (pBufInternal !=NULL)
    free(pBufInternal);
    }

    - In FixedPoint.cpp appears:
    inline void
    Fixed28_SinCos(I32 phi, I32 &sin, I32 &cos)
    {
    I32 quadrant, i;
    bool negative = false;

    if(phi < 0)

    By the other hand, in "C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\gcce\urel" I only have "simplecube.exe"

    I found "ARToolkit.lib" in some paths like: "...\Epoc32\release\armv5\urel", "...\Epoc32\release\armv5\udeb", "...\artoolkitplus-s60\ARToolkitPlus-S60\bin\armv5\urel", "...\artoolkitplus-s60\ARToolkitPlus-S60\bin\armv5\udeb", and "...\Epoc32\release\winscw". The first one has date of my last build, why did it appears in armv5? don't should appear in gcce?
    I thougth that this would be more direct, like unzip, build and run.

    Any idea?

    Thanks you very much.

Similar Threads

  1. Unable to do phone debug on carbide 2.0
    By senthil_epigon in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2009-01-01, 16:19
  2. VS 2003 Final Beta with Carbide 2.0
    By turnabull2 in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2006-04-30, 20:26
  3. open a view by clicking the listbox item
    By kirtij in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-02-24, 15:55
  4. Issues with Carbide vs 2.0 installer!
    By kt10208 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-01-16, 09:27
  5. can't find header in user os system path include
    By stefano_campri in forum Symbian
    Replies: 0
    Last Post: 2005-10-27, 14:49

Posting Permissions

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