|
|
mexw32 error
Hello All,
I get the following error when I run a program that runs fine with r2007b on windows 7 (64 bit), but I get the following error when I use r2010b on the 64 bit windows 7.
??? Undefined function or method 'ind2rgb8c' for input arguments of type 'uint8'.
I tried reading other user comments and looks like 'ind2rgb8c.mexw32' is the problem.
I installed (Microsoft Visual C++ 2010 Express and Windows SDK 7.1), but nothing helps as of yet.
Anyone dealt with the same issues ?? Any help would be appreciated.
Thank you,
Mathew
|
|
0
|
|
|
|
Reply
|
Mathew
|
11/24/2010 4:08:03 AM |
|
On Nov 24, 5:08=A0am, "Mathew Thomas" <mathe...@gmail.com> wrote:
> Hello All,
>
> I get the following error when I run a program that runs fine with r2007b=
on windows 7 (64 bit), but I get the following error when I use r2010b on =
the 64 bit windows 7.
>
> ??? Undefined function or method 'ind2rgb8c' for input arguments of type =
'uint8'.
>
> I tried reading other user comments and looks like 'ind2rgb8c.mexw32' is =
the problem.
>
> I installed (Microsoft Visual C++ 2010 Express and Windows SDK 7.1), but =
nothing helps as of yet.
>
> Anyone dealt with the same issues ?? Any help would be appreciated.
>
> Thank you,
>
> Mathew
Two possible issues come to mind:
1) You run an old (winXP?) executable on a new OS
2) You run a 32-bit executable ona 64-bit OS
Either one of those needs not hcause any problems
on its own; together the two of them might.
Get the source code for that function and re-compile.
Or have whoever made the function recompile it for you.
Rune
|
|
0
|
|
|
|
Reply
|
Rune
|
11/24/2010 6:11:13 AM
|
|
"Mathew Thomas" <mathew99@gmail.com> wrote in message <ici333$3en$1@fred.mathworks.com>...
> Hello All,
>
> I get the following error when I run a program that runs fine with r2007b on windows 7 (64 bit), but I get the following error when I use r2010b on the 64 bit windows 7.
>
> ??? Undefined function or method 'ind2rgb8c' for input arguments of type 'uint8'.
>
> I tried reading other user comments and looks like 'ind2rgb8c.mexw32' is the problem.
You forgot to specify the crucial information: what is the number bit of r2010b you are using? Any release can be both 32 and 64 bits. The number of bits of the OS (64 here) does not matter. My guess is you run 64 version.
MEXW32 is the extension for 32 bit platform, you need to rebuilt the mex file (you should get ind2rgb8c.mexw64.
Bruno
|
|
0
|
|
|
|
Reply
|
Bruno
|
11/24/2010 7:13:04 AM
|
|
Rune Allnor <allnor@tele.ntnu.no> wrote in message <cfb61c40-698d-461f-aaf7-70af23ef27eb@o14g2000yqe.googlegroups.com>...
>
> Two possible issues come to mind:
>
> 1) You run an old (winXP?) executable on a new OS
> 2) You run a 32-bit executable ona 64-bit OS
>
- OS does not matter, Matlab version does (provided it can be installed on the OS, which is obviously the case here).
- A mex file is an DLL - a library - rather than an executable.
Bruno
|
|
0
|
|
|
|
Reply
|
Bruno
|
11/24/2010 7:17:05 AM
|
|
|
3 Replies
864 Views
(page loaded in 0.107 seconds)
|
|
|
|
|
|
|
|
|