Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Help with this error?

Help with this error?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RIVOPICOR Offline
    RIVOPICOR Offline
    RIVOPICO
    wrote on last edited by RIVOPICO
    #1

    I someone can explain me about these errors?
    msvcprtd.lib(MSVCP120D.dll):-1: error: LNK2005: ya se definió "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) en libcpmtd.lib(syserror.obj)
    In all messages show me this:
    File not found msvcprtd.lib

    1 Reply Last reply
    0
    • RIVOPICOR Offline
      RIVOPICOR Offline
      RIVOPICO
      wrote on last edited by
      #2

      maybe i need to fix something ???

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        that library is part of MSVC compiler, it's strange that you get problems with it. can you show your .pro file (if you use one)

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0
        • RIVOPICOR Offline
          RIVOPICOR Offline
          RIVOPICO
          wrote on last edited by VRonin
          #4
          # -------------------------------------------------
          # Project created by QtCreator 2010-05-30T21:33:58
          # -------------------------------------------------
          CONFIG += static
          QT += network xml
          TARGET = cliente
          QT+=widgets
          LIBS += -lqxmpp0 -LC:/Users/moh/Desktop/build-qxmpp-Desktop_Qt_5_7_0_MSVC2013_32bit-Release/src
          INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\base"
          INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\client"
          INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\server"
          SOURCES += main.cpp \
              mainwindow.cpp \
              ventanaarchivos.cpp \
              ventanaescritorio.cpp \
              ventanaopciones.cpp \
              ventanawebcam.cpp \
              ventanaopcionesxmpp.cpp
          HEADERS += mainwindow.h \
              ventanaarchivos.h \
              ventanaescritorio.h \
              ventanaopciones.h \
              ventanawebcam.h \
              ventanaopcionesxmpp.h
          FORMS += Forms/mainwindow.ui \
              Forms/ventanaArchivos.ui \
              Forms/ventanaescritorio.ui \
              Forms/ventanaopciones.ui \
              Forms/ventanawebcam.ui \
              Forms/ventanaopcionesxmpp.ui
          
          win32 {
          win32-mingw32:QMAKE_LFLAGS += -static-libgcc
          win32-msvc2010:LIBS += -lqjpeg
          QTPLUGIN += qjpeg
          RC_FILE = demonio.rc
          }
          TRANSLATIONS = cliente_en.ts \
                         cliente_de.ts \
                         cliente_fr.ts \
                         cliente_it.ts \
                         cliente_pt.ts
          RESOURCES     = resources.qrc
          
          kshegunovK 1 Reply Last reply
          0
          • VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by
            #5

            win32-msvc2010:LIBS += -lqjpeg is useless, you can remove it, QTPLUGIN does the job for you

            What compiler are you using to compile the project? I ask because LIBS += -lqxmpp0 -LC:/Users/moh/Desktop/build-qxmpp-Desktop_Qt_5_7_0_MSVC2013_32bit-Release/src obviously works only for MSVC2013 32bit

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            0
            • RIVOPICOR RIVOPICO
              # -------------------------------------------------
              # Project created by QtCreator 2010-05-30T21:33:58
              # -------------------------------------------------
              CONFIG += static
              QT += network xml
              TARGET = cliente
              QT+=widgets
              LIBS += -lqxmpp0 -LC:/Users/moh/Desktop/build-qxmpp-Desktop_Qt_5_7_0_MSVC2013_32bit-Release/src
              INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\base"
              INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\client"
              INCLUDEPATH += "C:\Users\moh\Desktop\qxmpp-master\src\server"
              SOURCES += main.cpp \
                  mainwindow.cpp \
                  ventanaarchivos.cpp \
                  ventanaescritorio.cpp \
                  ventanaopciones.cpp \
                  ventanawebcam.cpp \
                  ventanaopcionesxmpp.cpp
              HEADERS += mainwindow.h \
                  ventanaarchivos.h \
                  ventanaescritorio.h \
                  ventanaopciones.h \
                  ventanawebcam.h \
                  ventanaopcionesxmpp.h
              FORMS += Forms/mainwindow.ui \
                  Forms/ventanaArchivos.ui \
                  Forms/ventanaescritorio.ui \
                  Forms/ventanaopciones.ui \
                  Forms/ventanawebcam.ui \
                  Forms/ventanaopcionesxmpp.ui
              
              win32 {
              win32-mingw32:QMAKE_LFLAGS += -static-libgcc
              win32-msvc2010:LIBS += -lqjpeg
              QTPLUGIN += qjpeg
              RC_FILE = demonio.rc
              }
              TRANSLATIONS = cliente_en.ts \
                             cliente_de.ts \
                             cliente_fr.ts \
                             cliente_it.ts \
                             cliente_pt.ts
              RESOURCES     = resources.qrc
              
              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              Remove this:

              CONFIG += static
              

              Add this:

              TEMPLATE = app
              

              Rerun qmake and rebuild. Why are you adding configurations that are only for libraries to the project?

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              1
              • RIVOPICOR Offline
                RIVOPICOR Offline
                RIVOPICO
                wrote on last edited by
                #7

                i get the same error

                1 Reply Last reply
                0
                • RIVOPICOR Offline
                  RIVOPICOR Offline
                  RIVOPICO
                  wrote on last edited by
                  #8

                  maybe i need to reinstall visual? or change somethingm¿¿¿

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Hi,

                    As @VRonin asked, what compiler are you using ? It's not clear whether you might be mixing several of them.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • RIVOPICOR Offline
                      RIVOPICOR Offline
                      RIVOPICO
                      wrote on last edited by
                      #10

                      compiler vs2013

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved