Hi all,
Many thanks for your work.
First question: I am trying to install your soft on my UBUNTU. Many problems here: I can not install OpenCascade, the ccmake can not find VTK, etc. Do someone has already done it? Can someone help me? Do you need any information?
Second question: I have tried the soft on Windows, but I have not find the solution for export the middle line of the yarns in a text file. Is it possible?
A billion of thanks,
Martin.
install on ubuntu 8.04
Moderators: Martin, Developers
There are some docs on building TexGen for linux on the website: http://texgen.sourceforge.net/
You don't need to install OpenCASCADE to get TexGen running, you only need that if you want to export to IGES or STEP files. If you want to do that I'm afraid you're on your own because I haven't done it myself.
>>Second question: I have tried the soft on Windows, but I have not find the solution for export the middle line of the yarns in a text file. Is it possible?
Yes sure, again look at the website. You can use the python interface to do this.
You don't need to install OpenCASCADE to get TexGen running, you only need that if you want to export to IGES or STEP files. If you want to do that I'm afraid you're on your own because I haven't done it myself.
>>Second question: I have tried the soft on Windows, but I have not find the solution for export the middle line of the yarns in a text file. Is it possible?
Yes sure, again look at the website. You can use the python interface to do this.
Yeah, but when I am trying to turn ON the GUI, I get this:
I have tried several directories for VTK_DIR, but I always get this, although VTK-5.0 is installed on my computer.
/usr/lib does not work
/usr/lib/vtk-5.0 does not work
/usr/share/cmake-2.4/Modules does not work because there is no UseVTK.cmake but there is UseVTK40.cmake, so I made a link from UseVTK.cmake to UseVTK40.cmake and other VTK40 files, and I get:
Moreover, even after having turned BUILD_PYTHON_INTERFACE to ON and perform a make make install, I got this from Python:
Anyway, thanks a billion: what you do is great!
By the way, nice name Martin...
Martin.

Code: Select all
CMake Error: VTK not found. Set the VTK_DIR cmake cache entry to the
directory containing VTKConfig.cmake. This is either the root of the build
tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the
location of UseVTK.cmake. This is either the root of the build tree or
PREFIX/include/vtk for an installation./usr/lib does not work
/usr/lib/vtk-5.0 does not work
/usr/share/cmake-2.4/Modules does not work because there is no UseVTK.cmake but there is UseVTK40.cmake, so I made a link from UseVTK.cmake to UseVTK40.cmake and other VTK40 files, and I get:
Code: Select all
CMake Error: Error in cmake code at
/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake:21:
LOAD_CACHE Cannot load cache file from
/usr/share/cmake-2.4/Modules/CMakeCache.txt
Current CMake stack:
[3]/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake
[2]/usr/share/cmake-2.4/Modules/FindVTK.cmake
[1]/usr/bin/TexGen/Renderer/CMakeLists.txt
CMake Error: Error in cmake code at
/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake:21:
LOAD_CACHE Cannot load cache file from
/usr/share/cmake-2.4/Modules/CMakeCache.txt
Current CMake stack:
[3]/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake
[2]/usr/share/cmake-2.4/Modules/FindVTK.cmake
[1]/usr/bin/TexGen/Python/CMakeLists.txt
CMake Error: Error in cmake code at
/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake:21:
LOAD_CACHE Cannot load cache file from
/usr/share/cmake-2.4/Modules/CMakeCache.txt
Current CMake stack:
[3]/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake
[2]/usr/share/cmake-2.4/Modules/FindVTK.cmake
[1]/usr/bin/TexGen/GUI/CMakeLists.txtCode: Select all
genet@genet_desktop:/usr/bin/TexGen/bin$ python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from TexGen.Core import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named TexGen.CoreBy the way, nice name Martin...
Martin.
I must add though, I haven't tested a GUI version for a long time.
It appears to be broken on my machine.
The renderer works when scripted, which is all I need.
I would still try compiling it if I where you, your ubuntu machine is more like Martin's, so the odds are better (mine is debian testing).
In general my experience is that Martin follows releases of used libraries quite closely, so moving back to vtk4 is less likely to work than moving to vtk cvs... same with wxwidgets.
It appears to be broken on my machine.
The renderer works when scripted, which is all I need.
I would still try compiling it if I where you, your ubuntu machine is more like Martin's, so the odds are better (mine is debian testing).
In general my experience is that Martin follows releases of used libraries quite closely, so moving back to vtk4 is less likely to work than moving to vtk cvs... same with wxwidgets.