GillesDebunne / libQGLViewer

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

Example fails to compile on 2.5.0 release #4

Closed mgian closed 10 years ago

mgian commented 10 years ago

I am trying to package the 2.5.0 release for archlinux. While compiling I got this error:

/usr/include/QGLViewer/qglviewer.h:1017:8: note:   candidate expects 4 arguments, 5 provided
/usr/include/QGLViewer/qglviewer.h:1022:7: note: void QGLViewer::setMouseBinding(int, QGLViewer::ClickAction, bool, Qt::MouseButtons)
  void setMouseBinding(int state, ClickAction action, bool doubleClick=false, QtMouseButtons buttonsBefore=Qt::NoButton);

while compiling the constrainedFrame example.

I am not sure that this is the only one that fail to compile, since I opted to remove the example from the package, at least for now

GillesDebunne commented 10 years ago

Hi,

That's the first time I hear about this problem.

I'm currently working on version 2.5.1 now, which should soon replace 2.5.0.

I attach the latest version, which has been tested on OSX, clang64, Qt 5.2.0 and 4.8.5

On Thu, Jan 23, 2014 at 4:09 PM, Gianluca Montecchi < notifications@github.com> wrote:

I am trying to package the 2.5.0 release for archlinux. While compiling I got this error:

/usr/include/QGLViewer/qglviewer.h:1017:8: note: candidate expects 4 arguments, 5 provided /usr/include/QGLViewer/qglviewer.h:1022:7: note: void QGLViewer::setMouseBinding(int, QGLViewer::ClickAction, bool, Qt::MouseButtons) void setMouseBinding(int state, ClickAction action, bool doubleClick=false, QtMouseButtons buttonsBefore=Qt::NoButton);

while compiling the constrainedFrame example.

I am not sure that this is the only one that fail to compile, since I opted to remove the example from the package, at least for now

— Reply to this email directly or view it on GitHubhttps://github.com/GillesDebunne/libQGLViewer/issues/4 .

GillesDebunne commented 10 years ago

Closing now. 2.5.1 is out and should solve this issue.