I am running into problem when trying to debug an lnx program in matrixx 715 on windows XP.
I am using the Visual C++ 6.0 compiler.
This is what i am doing (as per the user's guide example):
-------------------
oscmd("makelnx -debug myfun.c")
Compiling myfun.c ...
cl /nologo /MT /Z7 /Od /IC:\PROGRA~1\NATION~1\MATRIXx\mx_71.5\xmath\include /DMSWIN32 /c myfun.c
myfun.c
Linking myfun.exe ...
link /OUT:myfun.exe /NOLOGO /SUBSYSTEM:windows /INCREMENTAL:no /DEBUG /DEBUGTYPE:cv myfun.obj C:\PROGRA~1\NATION~1\MATRIXx\mx_71.5\xmath\lib\xmath.lib
user32.lib advapi32.lib
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
ans (a scalar) = 0
debug myfun
myfun(1+jay)
***A*** Process ./myfun.exe failed to load (system error).
`myfun'(1+jay)
---------------
At this point a windows error message box opens with the following message:
"myfun.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
Note that without the debug option the program runs OK.
Any idea on what causes the problem and hoe to resolve it?
Thanks