×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    53

    .dso error while runnig the app in device..

    hello friends

    Actually my app was running fine in simulator..
    while running it in the device the following error occurs


    No rule to make target `\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\LIB\ qfacebook.dso', needed by
    "\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\ lib" folder.
    so anyone know hw to solve it

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

    Re: .dso error while runnig the app in device..

    Quote Originally Posted by AnshumanBorah View Post
    hello friends

    Actually my app was running fine in simulator..
    while running it in the device the following error occurs



    so anyone know hw to solve it
    hmm why the simulator is pointing to symbian target libraries. can you show your pro file.

  3. #3
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    53

    Re: .dso error while runnig the app in device..

    Actually i had send u these pro file earlier..for another error..any way..i will send u again..

    All these pro file is in different module..but used for developing one app only that is facebook

    Module 1 pro file..

    QJSON_BASE = ..
    QJSON_SRCBASE = .

    TEMPLATE = lib
    QT -= gui
    TARGET = qjson
    DESTDIR = $$QJSON_BASE/lib


    windows: {
    CONFIG += create_prl
    DEFINES += QJSON_MAKEDLL
    }

    macx: CONFIG += lib_bundle

    QJSON_CPP = $$QJSON_SRCBASE
    INCLUDEPATH += $$QJSON_CPP

    PRIVATE_HEADERS += \
    json_parser.hh \
    json_scanner.h \
    location.hh \
    parser_p.h \
    position.hh \
    qjson_debug.h \
    stack.hh

    PUBLIC_HEADERS += \
    parser.h \
    parserrunnable.h \
    qobjecthelper.h \
    serializer.h \
    serializerrunnable.h \
    qjson_export.h

    HEADERS += $$PRIVATE_HEADERS $$PUBLIC_HEADERS

    SOURCES += \
    json_parser.cc \
    json_scanner.cpp \
    parser.cpp \
    parserrunnable.cpp \
    qobjecthelper.cpp \
    serializer.cpp \
    serializerrunnable.cpp

    symbian: {

    CONFIG += staticlib

    DEFINES += QJSON_MAKEDLL
    #export public header to \epocroot\epoc32\include to be able to use them
    headers.files = $$PUBLIC_HEADERS
    headers.path = $$PWD
    for(header, headers.files) {
    {BLD_INF_RULES.prj_exports += "$$header"}
    }

    TARGET.EPOCALLOWDLLDATA = 1
    # uid for the dll
    #TARGET.UID3=
    TARGET.CAPABILITY = ReadDeviceData WriteDeviceData

    # do not freeze api-> no libs produced. Comment when freezing!
    # run "abld freeze winscw" to create def files
    #symbian:MMP_RULES += "EXPORTUNFROZEN"

    # add dll to the sis
    QjsonDeployment.sources = $${TARGET}.dll
    QjsonDeployment.path = /sys/bin

    DEPLOYMENT += QjsonDeployment
    }
    Module 2 pro file


    TEMPLATE = lib

    include(../qfacebook.pri)

    QT -= gui
    QT += network

    TARGET = qfacebook
    DESTDIR = ../lib

    DEFINES += QFACEBOOK_LIBRARY

    !isEmpty(QJSON_INSTALL_DIR) {
    INCLUDEPATH += $$quote($$QJSON_INSTALL_DIR/include)
    LIBS += -L$$quote($$QJSON_INSTALL_DIR/lib)
    }

    INCLUDEPATH += ../../qjson/include

    win32:
    {
    CONFIG += create_prl
    LIBS += -L../../qjson-build-simulator/lib
    }


    LIBS += -lqjson


    SOURCES += \
    qfacebook.cpp \
    graphapi.cpp \
    qfacebookreply.cpp

    HEADERS += \
    qfacebook.h \
    qfacebook_global.h \
    graphapi.h \
    qfacebookreply.h


    headers.files = qfacebook.h qfacebookreply.h

    !isEmpty(INSTALL_PREFIX) {
    target.path = $$INSTALL_PREFIX/lib
    headers.path = $$INSTALL_PREFIX/include/qfacebook

    INSTALLS += target headers
    }

    symbian: {
    CONFIG += staticlib

    #export public header to \epocroot\epoc32\include to be able to use them
    headers.path = $$PWD/qfacebook
    for(header, headers.files) {
    {BLD_INF_RULES.prj_exports += "$$header"}
    }

    TARGET.EPOCALLOWDLLDATA = 1
    # uid for the dll
    #TARGET.UID3=
    TARGET.CAPABILITY = ReadDeviceData WriteDeviceData

    symbian:MMP_RULES += "EXPORTUNFROZEN"

    # add dll to the sis
    QFacebookDeployment.sources = $${TARGET}.dll
    QFacebookDeployment.path = /sys/bin

    DEPLOYMENT += QFacebookDeployment
    }
    Module 3 pro file

    #-------------------------------------------------
    #
    # Project created by QtCreator 2010-11-17T12:16:44
    #
    #-------------------------------------------------

    QT += core network gui webkit

    !isEmpty(QJSON_INSTALL_DIR) {
    INCLUDEPATH += $$quote($$QJSON_INSTALL_DIR/include)
    LIBS += -L$$quote($$QJSON_INSTALL_DIR/lib)
    }

    INCLUDEPATH += ../qfacebook/src

    win32:
    {
    LIBS += -L../postfeed/lib
    LIBS += -L../postfeed/lib
    }


    LIBS += -lqfacebook
    LIBS += -lqjson


    TARGET = postfeed
    TEMPLATE = app


    SOURCES += main.cpp\
    postfeed.cpp \
    putobject.cpp \
    fbframe.cpp

    HEADERS += postfeed.h \
    putobject.h \
    fbframe.h

    FORMS += postfeed.ui \
    fbframe.ui

    CONFIG += mobility
    MOBILITY =

    symbian {
    TARGET.CAPABILITY += NetworkServices
    }

    OTHER_FILES += \
    postfeed.pri

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

    Re: .dso error while runnig the app in device..

    ooh .. sorry .. forgot that .

    make sure where it is generatign the DSO files . is it in epoc32/release/armv5/LIB/ or some where else .. if it is generated some where else then you might have to specify the path for libs

  5. #5
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    53

    Re: .dso error while runnig the app in device..

    In epoc32/release/armv5/LIB/ there r .dso file but dont have qfacebook.dso..

    and i havent found anywhere..

    its something wrong in the code..or is there any way to create qfacebook.dso file...

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

    Re: .dso error while runnig the app in device..

    Quote Originally Posted by AnshumanBorah View Post
    In epoc32/release/armv5/LIB/ there r .dso file but dont have qfacebook.dso..

    and i havent found anywhere..

    its something wrong in the code..or is there any way to create qfacebook.dso file...
    can you show your make freeze command output. on Module 2 pro file

Similar Threads

  1. error while creating the file on device
    By kruti14 in forum Mobile Java General
    Replies: 11
    Last Post: 2010-04-08, 05:52
  2. On device debugging error while installing the app
    By suresh.venkata in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2009-07-01, 06:31
  3. Error While submitting the app for symbian signed
    By kaviversha in forum Symbian
    Replies: 27
    Last Post: 2008-10-16, 18:32
  4. Replies: 13
    Last Post: 2007-09-12, 13:45
  5. urgent support needed:error in runnig tts in carbidec++
    By avanidave in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-04-18, 18:56

Posting Permissions

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