[vtkusers] Problem with running MEX file

Huy Tho Ho huyho at eleceng.adelaide.edu.au
Mon Jun 2 21:51:51 EDT 2008


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



More information about the vtkusers mailing list