yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00242
Re: drawing loop
On Wed, 2006-06-28 at 01:30 +0200, Janek Kozicki wrote:
> very good :)
>
> I have written a small test program, please check if it works. If yes,
> then I will put this solution inside yade.
>
> svn checkout svn://svn.berlios.de/yade/snippets/trunk/Thread-multi
> cd Thread-multi
> qmake
> make
> cd bin
> ./thread
>
>
>
> The old drawing loop is here, and should _not_ work on your computer (but
> you can try, so we will be sure):
>
>
> svn checkout svn://svn.berlios.de/yade/snippets/trunk/Thread-queue
> cd Thread-queue
> qmake
> make CXXFLAGS='-pthread -lpthread'
> cd bin
> ./thread
>
>
> It should compile without problems, but crash just like "new simulation"
> in yade when executed.
>
>
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.
Yonggeng
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users
Follow ups
References
-
problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-11
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-12
-
Re: problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-22
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-23
-
Re: problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-25
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-25
-
Re: problem while running YADE - Segmentation Fault
From: Ye Yonggeng, 2006-06-25
-
sparse_matrix :)
From: Janek Kozicki, 2006-06-25
-
problem while running YADE - Segmentation Fault
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-27
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-27
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-27
-
Re: drawing loop
From: Janek Kozicki, 2006-06-27