SCM

Discussion Forums: help

Monitor Forum | Start New Thread Start New Thread

 

RE: compilation pb RendererWidget on Gentoo [ reply ]
By: théophile tiffet on 2017-03-16 01:22
[forum:4006]
ebuild version is here : https://github.com/notfound4/camitk-overlay

Let me know if anything doesn't work as expected.

RE: compilation pb RendererWidget on Gentoo [ reply ]
By: Guillaume Claus on 2017-03-15 22:14
[forum:4005]
Hi,

I apologize :
I'd try to use VTK 7, but after reading your discussion with Theophile, go back to VTK 6.... and forget the problem with the VTK 6.1 version (and I was abused by the cmake log which said "required is at least 6.0.0".).
I confirm, with vtk 6.3 it's work.

sorry for that.


Theophile, tell me if you want me to test your ebuild.






RE: compilation pb RendererWidget on Gentoo [ reply ]
By: Emmanuel Promayon on 2017-03-15 21:20
[forum:4004]
Hi,

VTK 6.1 is not a good idea. CamiTK 4 requires VTK 6.3.
If I remember well we already had this conversation no?

Maybe Théophile could give you a hand (he is on gentoo too...)?

@Théophile: it might be a good way to test your ebuild?


compilation pb RendererWidget on Gentoo [ reply ]
By: Guillaume Claus on 2017-03-15 21:08
[forum:4003]
Hello,

I'm trying a new installation :
camitk-4.0.4
with vtk-6.1.0
and Qt 5.6.2

but I obtain this error :

[ 3%] Building CXX object sdk/libraries/core/CMakeFiles/library-camitkcore.dir/viewer/RendererWidget.cpp.o
In file included from /usr/include/vtk-6.1/vtkObject.h:43:0,
from /usr/include/vtk-6.1/vtkInteractorObserver.h:46,
from /usr/include/vtk-6.1/vtkInteractorStyle.h:94,
from /home/guill/Documents/Téléchargements/Logiciels/camitk-4.0.4-Source/sdk/libraries/core/viewer/RendererWidget.h:35,
from /home/guill/Documents/Téléchargements/Logiciels/camitk-4.0.4-Source/sdk/libraries/core/viewer/RendererWidget.cpp:27:
/home/guill/Documents/Téléchargements/Logiciels/camitk-4.0.4-Source/sdk/libraries/core/viewer/RendererWidget.cpp: In function ‘vtkObject* camitk::vtkInstantiatorvtkInteractorStylePickNew()’:
/usr/include/vtk-6.1/vtkSetGet.h:641:14: erreur: redefinition of ‘vtkObject* camitk::vtkInstantiatorvtkInteractorStylePickNew()’
vtkObject* vtkInstantiator##thisClass##New() \
^
/usr/include/vtk-6.1/vtkObjectFactory.h:326:3: note: in expansion of macro ‘vtkInstantiatorNewMacro’
vtkInstantiatorNewMacro(thisClass)
^
/home/guill/Documents/Téléchargements/Logiciels/camitk-4.0.4-Source/sdk/libraries/core/viewer/RendererWidget.cpp:101:1: note: in expansion of macro ‘vtkStandardNewMacro’
vtkStandardNewMacro(vtkInteractorStylePick);
^
/usr/include/vtk-6.1/vtkSetGet.h:641:14: note: ‘vtkObject* camitk::vtkInstantiatorvtkInteractorStylePickNew()’ previously defined here
vtkObject* vtkInstantiator##thisClass##New() \
^
/home/guill/Documents/Téléchargements/Logiciels/camitk-4.0.4-Source/sdk/libraries/core/viewer/RendererWidget.cpp:100:1: note: in expansion of macro ‘vtkInstantiatorNewMacro’
vtkInstantiatorNewMacro(vtkInteractorStylePick);
^
make[2]: *** [sdk/libraries/core/CMakeFiles/library-camitkcore.dir/build.make:1180: sdk/libraries/core/CMakeFiles/library-camitkcore.dir/viewer/RendererWidget.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1328: sdk/libraries/core/CMakeFiles/library-camitkcore.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

I don't know what to do.
Any idea will be appreciate.

Best regards

Guillaume.



   
Powered By FusionForge