[Insight-users] .dll files not found during execution

s y superhashbrown at yahoo.com.sg
Wed, 11 Feb 2004 11:06:39 +0800 (CST)


--0-1889311009-1076468799=:28094
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi all,
 
 
 
i'd built VTK 4.2 and ITK 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..."
 
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 somehow troublesome and not elegant at all.
 
i went to the Environment variables option under System, and tried to add the path for the .dll, but the error is still there.   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",  then clicked ok but this did not help
 
Can anyone kindly offer some advices on this
Thank you
 
regards
sy




 Y! Asia presents Lavalife
- Get clicking with thousands of local singles today!
--0-1889311009-1076468799=:28094
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>
<DIV>
<DIV>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>i'd built VTK 4.2 and ITK 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></DIV></DIV></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>
--0-1889311009-1076468799=:28094--