Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Compile meshlab in linux is fine but in windows there are lots of linker problem

Compile meshlab in linux is fine but in windows there are lots of linker problem

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 3 Posters 359 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.
  • M Offline
    M Offline
    minh1234
    wrote on 4 Apr 2024, 12:56 last edited by
    #1

    I need to compile meshlab in windows, and i stuck for a week with linker problem, i think my Qt setup is wrong.

    reating library D:/meshlab/build/src/distrib/Debug/meshlab-common.lib and object D:/meshlab/build/src/distrib/Deb
    ug/meshlab-common.exp
    filterscript.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(v
    oid)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
    ml_selection_buffers.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~Q
    String(void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
    mlapplication.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(
    void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
    load_save.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(void
    )" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
    globals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: _

    This is some linking error i face.

    Tks everyone for help me.

    J 1 Reply Last reply 4 Apr 2024, 13:00
    0
    • M minh1234
      4 Apr 2024, 12:56

      I need to compile meshlab in windows, and i stuck for a week with linker problem, i think my Qt setup is wrong.

      reating library D:/meshlab/build/src/distrib/Debug/meshlab-common.lib and object D:/meshlab/build/src/distrib/Deb
      ug/meshlab-common.exp
      filterscript.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(v
      oid)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
      ml_selection_buffers.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~Q
      String(void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
      mlapplication.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(
      void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
      load_save.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(void
      )" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
      globals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: _

      This is some linking error i face.

      Tks everyone for help me.

      J Offline
      J Offline
      JonB
      wrote on 4 Apr 2024, 13:00 last edited by
      #2

      @minh1234
      If you have been stuck for a week and think your Qt setup is wrong, what happened when you tried just compiling and linking a tiny, standalone Qt project of your own, nothing to do with meshlab?

      C 1 Reply Last reply 4 Apr 2024, 14:39
      1
      • J JonB
        4 Apr 2024, 13:00

        @minh1234
        If you have been stuck for a week and think your Qt setup is wrong, what happened when you tried just compiling and linking a tiny, standalone Qt project of your own, nothing to do with meshlab?

        C Offline
        C Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 4 Apr 2024, 14:39 last edited by
        #3

        Please show your CMakeLists.txt. You are not linking against the Qt library.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        0

        1/3

        4 Apr 2024, 12:56

        • Login

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