← Back to team overview

yade-users team mailing list archive

Re: QGLVIEWER20, setSnapshotFilename

 

> I see that the latest SVN include a fix for "setSnapshotFilename", based
> on the defined/undefined QGLVIEWER20. This constant is not defined on my
> linux (debian sarge - with the same QGL version I always used) so Yade
> wont' compile. I had to define this constant in
> GLSimulationPlayerViewer.hpp,  it works, but is it what I am supposed to
> do? Is it possible to pass this flag with the "make" command?

I'm sorry I'm quicker at making changes than explaining them. I'm working
on webpage update, and this will be explained there....

you have to add a flag to CXXFLAGS, like this:

CXXFLAGS='-DQGLVIEWER20 -g'

-D<something> means that <something> will be #defined during compilation.


-- 
Janek Kozicki                                                         |
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



References