×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    Compile Error , duplicate path as compile, how to solve it

    I can compile code on emulator, but I cannot compile on device.
    I checking and get Error that it is duplicate path

    IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include/QtScript

    or As Add new project, sometime, i get this error, too.

    How I solve it?

    Environment:
    1. QTSDK 1.1.3
    2. nokia 701 handset
    4. QT 4.7.4
    5. windows 7 32 bit



    --------------------------------------------
    -----------------------------------------------------------
    Code:
    :-1: Running command: C:/QtSDK/Symbian/tools/gcce4/bin/arm-none-symbianelf-g++.exe -O0 -g -gdwarf-2 -fexceptions -Wall -Wno-unknown-pragmas -march=armv5te -mapcs -mthumb-interwork -c -mthumb -D__MARM_THUMB__ -mfloat-abi=soft -fvisibility-inlines-hidden -x c++ -Wno-ctor-dtor-privacy -D__MARM_INTERWORK__ -D__SUPPORT_CPP_EXCEPTIONS__ -D_UNICODE -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ '-D__PRODUCT_INCLUDE__="C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/feature_settings.hrh"' -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQMLJSDEBUGGER -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__MARM_ARMV5__ -D__GCCE_4__ -D__GCCE_4_4__ -D_DEBUG -D__GCCE__ -D__EXE__ -D__SYMBIAN_STDCPP_SUPPORT__ -include C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/gcce/gcce.h -ID:/project/symbian/game/asto/forecast -ID:/project/symbian/game/asto/forecast -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include/QtCore -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include/QtGui -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include/QtScript -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include/QtDeclarative -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/include -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/mkspecs/common/symbian -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/stdapis -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/stdapis/sys -ID:/project/symbian/game/asto/forecast/qmlapplicationviewer -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/qtc-qmldbg/include -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/stdapis/stlportv5 -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/mw -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform/mw -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform/loc -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform/mw/loc -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform/loc/sc -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/platform/mw/loc/sc -ID:/project/symbian/game/asto/forecast/moc -ID:/project/symbian/game/asto/forecast -ID:/project/symbian/game/asto/forecast/ui -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include -IC:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/include/stdapis -MD -MF C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/forecast/c_e5f42494f69aa725/forecast_exe/armv5/udeb/main.o.d -o C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/forecast/c_e5f42494f69aa725/forecast_exe/armv5/udeb/main.o D:/project/symbian/game/asto/forecast/main.cpp
    D:/project/symbian/game/asto/forecast/main.cpp:1: fatal error: QtGui/QApplication: No such file or directory
    compilation terminated.

  2. #2
    Registered User
    Join Date
    May 2009
    Location
    Greece
    Posts
    191

    Re: Compile Error , duplicate path as compile, how to solve it

    One issue that i can see is that you have your project folder to a hard drive other that the one that the Symbian SDK (from the Qt SDK) is installed. This is mandatory when building for Symbian because of restrictions to the Symbian tools used. So you need to move your project folder from the D:\ hard drive to C:\

    In any case, it would be useful if you posted your .pro file also.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    Re: Compile Error , duplicate path as compile, how to solve it

    .pro File
    Code:
    # Add more folders to ship with the application, here
    folder_01.source = qml/forecast
    folder_01.target = qml
    DEPLOYMENTFOLDERS = folder_01
    
    # Additional import path used to resolve QML modules in Creator's code model
    QML_IMPORT_PATH =
    
    symbian:TARGET.UID3 = 0x2004a845
    #DEFINES += QMLJSDEBUGGER
    
    # Smart Installer package's UID
    # This UID is from the protected range and therefore the package will
    # fail to install if self-signed. By default qmake uses the unprotected
    # range value if unprotected UID is defined for the application and
    # 0x2002CCCF value if protected UID is given to the application
    #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
    
    # Allow network access on Symbian
    
    # If your application uses the Qt Mobility libraries, uncomment the following
    # lines and add the respective components to the MOBILITY variable.
    # CONFIG += mobility
    # MOBILITY +=
    
    
    
    # The .cpp file which was generated for your project. Feel free to hack it.
    SOURCES += main.cpp
    
    # Please do not modify the following two lines. Required for deployment.
    include(qmlapplicationviewer/qmlapplicationviewer.pri)
    qtcAddDeployment()
    
    OTHER_FILES += \
        qtc_packaging/debian_harmattan/rules \
        qtc_packaging/debian_harmattan/README \
        qtc_packaging/debian_harmattan/copyright \
        qtc_packaging/debian_harmattan/control \
        qtc_packaging/debian_harmattan/compat \
        qtc_packaging/debian_harmattan/changelog \
        qtc_packaging/debian_fremantle/rules \
        qtc_packaging/debian_fremantle/README \
        qtc_packaging/debian_fremantle/copyright \
        qtc_packaging/debian_fremantle/control \
        qtc_packaging/debian_fremantle/compat \
        qtc_packaging/debian_fremantle/changelog
    
    
    RESOURCES +=

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    Re: Compile Error , duplicate path as compile, how to solve it

    Quote Originally Posted by favoritas37 View Post
    One issue that i can see is that you have your project folder to a hard drive other that the one that the Symbian SDK (from the Qt SDK) is installed. This is mandatory when building for Symbian because of restrictions to the Symbian tools used. So you need to move your project folder from the D:\ hard drive to C:\

    In any case, it would be useful if you posted your .pro file also.

    thank you for your reply. This your recomment is solve problem.
    If We need to change drive , how to do it?

  5. #5
    Registered User
    Join Date
    May 2009
    Location
    Greece
    Posts
    191

    Re: Compile Error , duplicate path as compile, how to solve it

    Just copy the project folder to the drive that the Symbian SDK exists.

    In your case, move the folders from D:/project/symbian/game/... to C:/project/symbian/game/... and you will be fine, as simple as that.

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    Re: Compile Error , duplicate path as compile, how to solve it

    Thank you for your Information.

Similar Threads

  1. Replies: 3
    Last Post: 2010-08-17, 08:51
  2. Compile error
    By jasper.dekeijzer in forum Symbian
    Replies: 3
    Last Post: 2008-01-17, 15:59
  3. compile error "Invalid argument" because of long path?
    By sslsslssl in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-10-06, 11:33
  4. help,compile error
    By SymbianLN in forum Symbian
    Replies: 1
    Last Post: 2007-03-02, 04:53

Posting Permissions

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