[vtkusers] Problem with running MEX file

Huy Tho Ho huyho at eleceng.adelaide.edu.au
Mon Jun 2 22:12:29 EDT 2008


Hi Phil,

Thank you for your reply. I have put the path to the VTK libraries 
folder on the System Path (by setting the Environmental Variables) but 
it could not solve the problem.

Cheers,
Tho

philgoddard at telus.net wrote:
> Tho,
>
> It sounds like the directory containing the VTK libraries is not on your system 
> path.
> They'll be in something like C:\Program Files\VTK 5.0\Build\bin\debug
>
>
> Regards
> Phil.
>
>   
>> -----Original Message-----
>> From: vtkusers-bounces at vtk.org 
>> [mailto:vtkusers-bounces at vtk.org] On Behalf Of Huy Tho Ho
>> Sent: June 2, 2008 6:52 PM
>> To: vtkusers at vtk.org
>> Subject: [vtkusers] Problem with running MEX file
>>
>> Hi all,
>>
>> I have just installed VTK 5.0 on my machine using Windows XP. 
>> I built VTK using MSYS Makefiles and MinGW as the compiler. I 
>> compiled the MEX file  using  gnumex. The file was compiled 
>> and linked fine but when I ran the MEX file, the output was: 
>> "??? Invalid MEX-file '<File Path>': 
>> The specified module could not be found". I know that the MEX 
>> file could not find some libraries it needed for running but 
>> I don't know what they are. My Matlab version is R2007b, gnumex 2.01.
>>
>> This MEX file was built and ran OK in Matlab in my Linux machine. 
>> However, when I closed the render window, Matlab creashed as 
>> well. There might be some bugs in Matlab and/or Linux and 
>> this was the reason I moved this to Windows.
>>
>> Any help is appreciated. Thanks alot.
>>
>> Cheers,
>> Tho
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: 
>> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to 
>> subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>     
>
>   




More information about the vtkusers mailing list