GillesDebunne / libQGLViewer

libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Other
241 stars 94 forks source link

Problems during compilation #41

Closed devds closed 4 years ago

devds commented 6 years ago

I am compiling under Qt5.9.2 and mingw . QGLViewer compils without error but designerPlugin project gets error as from attached screenshoot. Any help? img

GillesDebunne commented 6 years ago

The options -L../QGLViewer -lQGLViewer2 state that we are looking for a file named libQGLViewer2.lib in the QGLViewer directory.

Can you check that this file exists ? It should have been created as a result of the compilation in the QGLViewer directory.

Workaround: if you're not planning to use the designer plugin, you can simply remove designerPlugin from the SUBDIRS in libQGLViewer.pro and run make again

devds commented 6 years ago

ok. Just to know: what does "designerPlugin" needs for? What's its aim?

devds commented 6 years ago

I removed "designerPlugin" from SUBDIRS. Still getting errors : "cannot find lQGLViewer2 P.S. I checked about libQGLViewer2.lib : It doesn't exist. I have found libQGLViewer2.a in QGLViewer. How can solve?

GillesDebunne commented 6 years ago

Still getting errors : "cannot find lQGLViewer2

When are you getting these errors? When building the examples? Can you share a log?

I have found libQGLViewer2.a in QGLViewer.

My bad .lib is created by windows compilers. This .ais the actual library. This is a static library, not the dynamic library (.so) that should have been created by default. Did you specify the QGLVIEWER_STATIC option when you ran qmake?

To start on a clean plate, please run make clean; qmake; make and share the log.

GillesDebunne commented 4 years ago

No feedback, closing.