These errors exist in QGLViewerWidget.obj
QGLViewerWidget.obj:-1: error: LNK2019: unresolved external symbol __imp_glutWireTeapot referenced in function "protected: virtual void __cdecl QGLViewerWidget::draw_scene(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
QGLViewerWidget.obj:-1: error: LNK2019: unresolved external symbol __imp_glutSolidTeapot referenced in function "protected: virtual void __cdecl QGLViewerWidget::draw_scene(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
While this error exists in meshviewer.obj
meshviewer.obj:-1: error: LNK2019: unresolved external symbol __imp___glutInitWithExit referenced in function glutInit_ATEXIT_HACK
What I have tried:
So I have changed the following lines:
LIBS += \
/usr/local/lib/libOpenMeshCore.so \
/usr/local/lib/libOpenMeshTools.so
LIBS += \
-lglut -lGLU
to:
LIBS += \
-lglut32 -lOpenMeshCored -lOpenMeshToolsd
I have glut.lib , OpenMeshCored.lib, and OpenMeshToolsd.lib and move to C:/Qt/.../lib folder but I don't have glu.lib. I tried to download online but it is not available and didn't found any. Please help alternative solutions for the error.