<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>i'd built VTK 4.2 on windows XP with shared library turned on, when i tried some examples (cmake and vc++ built successful) and run the application built, there's a runtime error saying : " this application failed to start because vtkRendering.dll was not found..."</DIV>
<DIV>&nbsp;</DIV>
<DIV>i can easily solved this by copying all the vtk related .dll files into the folder where the example (i.e. medical.exe) application file resides but this is&nbsp;somehow&nbsp;troublesome and not elegant at all.</DIV>
<DIV>&nbsp;</DIV>
<DIV>i went to the Environment variables option under System, and tried to add the path for the .dll, but the error is still there.&nbsp;&nbsp; This is what i did: click on "new" and keyed in VTKDLLPATH for "Variable name", then keyed in C:/VTK_42/build/bin/Debug ( where the .dll files reside) for "Variable value", &nbsp;then clicked ok but this did not help</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can anyone kindly offer some advices on this</DIV>
<DIV>Thank you</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards</DIV>
<DIV>sy</DIV><p><img src=http://sg.yimg.com/i/sg/icons/16/perhearts.gif> <a 
href="http://sg.rd.yahoo.com/mail/tagline/?http://asia.yahoo.com/lavalife" 
target=_blank><B>Y! Asia presents Lavalife</b></a><br><small>- Get clicking with thousands of local singles today!</small>