IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Qt Discussion :

LNK1146: no argument specified with option '/LIBPATH:'


Sujet :

Qt

  1. #1
    Membre actif
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    821
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2006
    Messages : 821
    Points : 280
    Points
    280
    Par défaut LNK1146: no argument specified with option '/LIBPATH:'
    Bonjour à tous

    J'utilise Qt Creator avec Qt 5.1.1 + opencv 2.4.5

    J'ai changé de compilateur pour pouvoir installer CUDA
    donc j'ai pris la version Qt 5.1.1 avec VS 2010 32 bits

    Le problème c'est que j'ai maintenant une erreur de link que je n'avais pas avant

    LNK1146: no argument specified with option '/LIBPATH:'

    mon .pro n'a pas changé et je n'ai pas d'espace entre -L et le reste:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
     
     
    #-------------------------------------------------
    #
    # Project created by QtCreator 2013-10-15T17:04:42
    #
    #-------------------------------------------------
     
    QT       += core gui
     
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
     
    TARGET = Marcel02
    TEMPLATE = app
     
     
    SOURCES += main.cpp\
            mainwindow.cpp \
        VideoProcessor.cpp \
        VideoSortie.cpp
     
     
    INCLUDEPATH +=    H:/opencv245/opencv/release/install/include \
                      H:/opencv245/opencv/release/install/include/opencv2 \
                      H:/opencv245/opencv/release/install/include/opencv2/core \
                      H:/opencv245/opencv/release/install/include/opencv2/highgui \
                      H:/opencv245/opencv/release/install/include/opencv2/imgproc \
                      H:/opencv245/opencv/release/install/include/opencv2/calib3d \
                      H:/opencv245/opencv/release/install/include/opencv2/contrib \
                      H:/opencv245/opencv/release/install/include/opencv2/features2d \
                      H:/opencv245/opencv/release/install/include/opencv2/flann \
                      H:/opencv245/opencv/release/install/include/opencv2/gpu \
                      H:/opencv245/opencv/release/install/include/opencv2/legacy \
                      H:/opencv245/opencv/release/install/include/opencv2/ml \
                      H:/opencv245/opencv/release/install/include/opencv2/nonfree \
                      H:/opencv245/opencv/release/install/include/opencv2/objdetect \
                      H:/opencv245/opencv/release/install/include/opencv2/photo \
                      H:/opencv245/opencv/release/install/include/opencv2/stitching \
                      H:/opencv245/opencv/release/install/include/opencv2/ts \
                      H:/opencv245/opencv/release/install/include/opencv2/video \
                      H:/opencv245/opencv/release/install/include/opencv2/videostab
     
    LIBS += -LH:/opencv245/opencv/release/install/lib -llibopencv_calib3d245 -llibopencv_contrib245 -llibopencv_core245 -llibopencv_features2d245 -llibopencv_flann245 -llibopencv_gpu245 -llibopencv_highgui245 -llibopencv_imgproc245 -llibopencv_legacy245 -llibopencv_ml245 -llibopencv_nonfree245 -llibopencv_objdetect245 -llibopencv_photo245 -llibopencv_stitching245 -llibopencv_video245 -llibopencv_videostab245 \
            -LH:/opencv245/opencv/release/install/bin -llibopencv_calib3d245 -llibopencv_contrib245 -llibopencv_core245 -llibopencv_features2d245 -llibopencv_flann245 -llibopencv_gpu245 -llibopencv_highgui245 -llibopencv_imgproc245 -llibopencv_legacy245 -llibopencv_ml245 -llibopencv_nonfree245 -llibopencv_objdetect245 -llibopencv_photo245 -llibopencv_stitching245 -llibopencv_video245 -llibopencv_videostab245 -lopencv_ffmpeg245
     
     
    HEADERS  += mainwindow.h \
        Writer.h \
        Config.h \
        VideoProcessor.h \
        VideoSortie.h \
        harrisDetector.h \
        RobustMatcher.h
     
    FORMS    += \
        mainwindow.ui
     
    RESOURCES += \
        Rose.qrc
    Quelqu'un peut m'aider à trouver ce problème?

    merci bien

  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    821
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2006
    Messages : 821
    Points : 280
    Points
    280
    Par défaut
    J'ai relancé le qmake sur QtCreator et ça marche


+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Argument @ARGV en option
    Par stansoad0108 dans le forum Langage
    Réponses: 2
    Dernier message: 25/04/2008, 17h09
  2. getopt, plusieurs arguments a une option
    Par Tex-Twil dans le forum Linux
    Réponses: 3
    Dernier message: 03/02/2008, 20h01
  3. Getopt, liste d'argument assignée à une option
    Par gobgob dans le forum Modules
    Réponses: 3
    Dernier message: 19/01/2007, 11h02
  4. it cannot be parameterized with arguments
    Par MacReiben dans le forum Hibernate
    Réponses: 4
    Dernier message: 10/07/2006, 15h29
  5. installation php avec option --with-pgsql: marche pô.
    Par phil25 dans le forum Requêtes
    Réponses: 3
    Dernier message: 02/01/2004, 15h59

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo