← Back to team overview

yade-users team mailing list archive

Re: drawing loop

 

Ye Yonggeng said:     (by the date of Wed, 28 Jun 2006 09:48:51 +0200)

> When I launch new thread:
> 
> :~/Thread-multi/bin$ ./thread
> freeglut  ERROR:  Function <glutSolidCube> called without first calling
> 'glutInit'.
> 
> 
> :~/Thread-queue/bin$ ./thread
> beginning Of thread number : 0
> beginning Of thread number : 1
> Segmentation fault
> 
> I think you are right, but you forgot to initiate glut like you
> mentioned before.

oh, yes. sorry. Just add the line with glutInit(argc,argv) in thread.cpp
in main(argc,argv)

again I forgot about that :)

I works then?

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



Follow ups

References