You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build your version of meshlab using Qt 5.7 and VS2013 for Windows x64, and I am having an issue with linking in the OpenGL32 library.
This is the error message I'm getting (about 39 more just like it, as well)
meshmodel.obj:-1: error: LNK2019: unresolved external symbol __imp_glBegin referenced in function "public: bool __cdecl MeshLabRenderMesh::renderSelectedFace(void)" (?renderSelectedFace@MeshLabRenderMesh@@QEAA_NXZ)
I don't know a thing about Qt or qmake, but from what I can find in Qt help and stackoverflow.com, it looks like you have what is needed:
QT += opengl
Are you aware of anything else that I can do?
Thanks for doing a great job updating the meshlab project on your GitHub page, and for any assistance you can provide.
Brook Beall
The text was updated successfully, but these errors were encountered:
I think I have figured out what the issue is (at least for me) - I have about a dozen compilers listed in the Qt Creator Tools, Options, Build & Run, Compiler tab, and most of them need to go. After configuring the (single) compiler I will be using, I Save All and close the Qt Creator. Reopen and load the project, go to the Compiler tab, and delete the compilers that are not used. Next, add the following to common.pro:
win32:LIBS += opengl32.lib
Click Apply and/or OK, and Build, Rebuild All. Now, the common folder builds fine, but unfortunately, the common.dll file is not being referenced in the meshlab_full project, so I now have a set of 225 (entirely new) unresolved symbols. Tried the same process in meshlab_mini project, with the same results.
There are two sets of meshlab files in the archive, with some differences. Unfortunately, both sets build with the same results.
The problem is that the common.dll that was created first (and was causing my 40 unresolved externals) is not being used by the meshlab_full (or meshlab_mini) project files.
Hi,
I'm trying to build your version of meshlab using Qt 5.7 and VS2013 for Windows x64, and I am having an issue with linking in the OpenGL32 library.
This is the error message I'm getting (about 39 more just like it, as well)
meshmodel.obj:-1: error: LNK2019: unresolved external symbol __imp_glBegin referenced in function "public: bool __cdecl MeshLabRenderMesh::renderSelectedFace(void)" (?renderSelectedFace@MeshLabRenderMesh@@QEAA_NXZ)
I don't know a thing about Qt or qmake, but from what I can find in Qt help and stackoverflow.com, it looks like you have what is needed:
QT += opengl
Are you aware of anything else that I can do?
Thanks for doing a great job updating the meshlab project on your GitHub page, and for any assistance you can provide.
Brook Beall
The text was updated successfully, but these errors were encountered: