the flag YADE_VTK6 starts to generate a problem as the latext VTK is right now 7

Bug #1586275 reported by Luc OGER
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Unassigned

Bug Description

I am trying a new full installation on my linux Opensuse tumbleweed configuration
and I have downloaeded the latest VTK package from the vtk web site (7.0)
(previous try on opensuse was working fine).

for exemple in the subroutine /pkg/dem/VTKRecorder.cpp the flag YADE_VTK6 is defined to accept the change from older VTK to the 'new' version 6 by changing SetInput to SetInputData.
but the latest version available of VTK is the version 7 so either the cmake is not doing the good job or the flag selection has to be updated

so right now the compilation stop after 63%

Revision history for this message
Anton Gladky (gladky-anton) wrote :

Hi Luc,

Yade is really not a VTK7-friendly now. Most of
us are using Debian-based distributions, where VTK7
does not exist yet. I have doubths, whether it will
be uploaded in a near future (see discussion here [1]).
Self-compiled versions of VTK can cause more problems
as their packaged variants.

You can try to compile Yade without VTK support (-DENABLE_VTK=0)
to be sure, whether it is the only dependency problem on
OpenSuse.

[1] https://lists.alioth.debian.org/pipermail/debian-science-maintainers/2016-February/037502.html

Best regards

Anton

Revision history for this message
Luc OGER (luc-oger) wrote : Re: [Bug 1586275] Re: the flag YADE_VTK6 starts to generate a problem as the latext VTK is right now 7

Dear Anton,

The latest release of Opensuse uses by default python 3 coupled with VTK
7.0.0 but I can try to install the previous release of VTK 6.3.0 from
VTK web site

Previously I was able to compile Yade on my machine under Opensuse 13.2
(previous release) so I hope to find the possible couple of Opensuse
Tumbleweed, QT 4 or 5), Python and VTK able to work together....

thanks for your fast reply

Best Regards

Luc OGER

Le 27/05/2016 à 09:46, Anton Gladky a écrit :
> Hi Luc,
>
> Yade is really not a VTK7-friendly now. Most of
> us are using Debian-based distributions, where VTK7
> does not exist yet. I have doubths, whether it will
> be uploaded in a near future (see discussion here [1]).
> Self-compiled versions of VTK can cause more problems
> as their packaged variants.
>
> You can try to compile Yade without VTK support (-DENABLE_VTK=0)
> to be sure, whether it is the only dependency problem on
> OpenSuse.
>
> [1] https://lists.alioth.debian.org/pipermail/debian-science-
> maintainers/2016-February/037502.html
>
> Best regards
>
> Anton
>

--
--------------------------------------------------
Dr Luc Oger
Responsable Département Milieux Divisés
*Institut de Physique de Rennes*
/UMR URennes1-CNRS 6251/
Université de Rennes1
Campus de Beaulieu, Bâtiment 11A
CS 74205
263 Avenue du Général Leclerc
35042 Rennes CEDEX
tél : [33] (0) 2.23.23.56.58 Fax : [33] (0) 2.23.23.67.17
https://perso.univ-rennes1.fr/luc.oger
https://www.ipr.univ-rennes1.fr
----------------------------------------------------

Revision history for this message
Luc OGER (luc-oger) wrote :

Dear Anton,

second step :
I have modified the CMakelist.txt to accept the VTK version 7 and by
replacing EQUAL 6 by GREATER 5 in the if test line 505 and co. , the
make wanted correctly and the executable is working well.

So I guess that, without changing your idea about VTK, the modification
of the 505-511 to accept VTK 7 can be an improvement for other users.

Best Regards

Luc OGER

Le 27/05/2016 à 11:17, Luc Oger a écrit :
> Dear Anton,
>
> The latest release of Opensuse uses by default python 3 coupled with
> VTK 7.0.0 but I can try to install the previous release of VTK 6.3.0
> from VTK web site
>
> Previously I was able to compile Yade on my machine under Opensuse
> 13.2 (previous release) so I hope to find the possible couple of
> Opensuse Tumbleweed, QT 4 or 5), Python and VTK able to work together....
>
> thanks for your fast reply
>
> Best Regards
>
> Luc OGER
>
> Le 27/05/2016 à 09:46, Anton Gladky a écrit :
>> Hi Luc,
>>
>> Yade is really not a VTK7-friendly now. Most of
>> us are using Debian-based distributions, where VTK7
>> does not exist yet. I have doubths, whether it will
>> be uploaded in a near future (see discussion here [1]).
>> Self-compiled versions of VTK can cause more problems
>> as their packaged variants.
>>
>> You can try to compile Yade without VTK support (-DENABLE_VTK=0)
>> to be sure, whether it is the only dependency problem on
>> OpenSuse.
>>
>> [1]https://lists.alioth.debian.org/pipermail/debian-science-
>> maintainers/2016-February/037502.html
>>
>> Best regards
>>
>> Anton
>>
>
> --
> --------------------------------------------------
> Dr Luc Oger
> Responsable Département Milieux Divisés
> *Institut de Physique de Rennes*
> /UMR URennes1-CNRS 6251/
> Université de Rennes1
> Campus de Beaulieu, Bâtiment 11A
> CS 74205
> 263 Avenue du Général Leclerc
> 35042 Rennes CEDEX
> tél : [33] (0) 2.23.23.56.58 Fax : [33] (0) 2.23.23.67.17
> https://perso.univ-rennes1.fr/luc.oger
> https://www.ipr.univ-rennes1.fr
> ----------------------------------------------------

--
--------------------------------------------------
Dr Luc Oger
Responsable Département Milieux Divisés
*Institut de Physique de Rennes*
/UMR URennes1-CNRS 6251/
Université de Rennes1
Campus de Beaulieu, Bâtiment 11A
CS 74205
263 Avenue du Général Leclerc
35042 Rennes CEDEX
tél : [33] (0) 2.23.23.56.58 Fax : [33] (0) 2.23.23.67.17
https://perso.univ-rennes1.fr/luc.oger
https://www.ipr.univ-rennes1.fr
----------------------------------------------------

Revision history for this message
Anton Gladky (gladky-anton) wrote :
Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.