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
Forum Updated to NodeBB v4.3 + New Features

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 605 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 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.

    JonBJ 1 Reply Last reply
    0
    • M minh1234

      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.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on 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?

      Christian EhrlicherC 1 Reply Last reply
      1
      • JonBJ JonB

        @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?

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 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

        • Login

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