Hello,

Regarding your reply, I managed to get added onto the sudo list to execute
the 'sudo make install' list. The Cmake error was no longer showing. But
this time the error is again :

Traceback (most recent call last):
  File "./vmtk", line 4, in <module>
    from vmtk import pypes
  File "/home/vm308/src/vmtk-0.9.0/vmtk.py", line 4, in <module>
    from vmtk import pypes
ImportError: cannot import name pypes

On the installation pages of vmtk, I think this is the next step :

   - Set a couple of environment variables. For Bash users, type the lines
   below or add them to your .bash_profile or .bashrc file (the difference is
   that with .bash_profile you have to logout and login back again for them to
   have an effect, and it may not work when logging in from graphical login
   managers; on the other side, .bashrc is read everytime a user opens up a
   terminal, so it's executed more often but it's safer).
   LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vmtk
   export LD_LIBRARY_PATH
   PYTHONPATH=$PYTHONPATH:/usr/local/lib/vmtk
   export PYTHONPATH
   - Also, don't forget to also add the paths to the ITK shared libraries
   LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/InsightToolkit
   export LD_LIBRARY_PATH
   * Starting with VTK 5.3, don't forget to also add the paths to the VTK
   shared libraries
   LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-5.3
   export LD_LIBRARY_PATH


But could someone explain stepwise how to go through this since I am new to
Linux and cant seem to work around the bash profile.
Also, how do you add the above paths to the ITK and VTK shared libraries ?

Please help.

Vikram.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to