Mex - Resolving External dependency issues from C



Hello,

I have a C program in VC98 and I'm trying to create a Mex. I
have imported the various header files (the same way I do it
in C). Now I'm stuck because the project in C has an
external dependency to another header file basetsd.h in the
VC98 program files directory (c:\program files\microsoft
visual studio\vc98\include\basetsd.h)

I'm not sure I can include this file as a header file in the
Mex that I'm writing. (It doesn't work when I add it to the
list with the full path).

It seems like a normal issue that people would encounter -
just can't find anything online. Would appreciate
suggestions on resolving external dependency issues in Mex.

Thanks.
.



Relevant Pages

  • Re: error LNK2001: unresolved external symbol
    ... >> mex -f mexopts.bat file.c ... If you are missing a header file or not including a header file your ... if it's in standard libraries... ...
    (comp.soft-sys.matlab)
  • Linking .o with MEX-file
    ... I am trying to rebuild a C application into a MEX-file. ... The program includes a header file, which I have wrapped into .o using ... I found on the forum someone suggesting "mex -cxx sourceCfile.o" etc. ...
    (comp.soft-sys.matlab)
  • Re: How to allow Warning level about from unsigned char * to const char *
    ... > Most probably there are header file version differences. ... > one uses older VC98 include files, and the other has either newer ... char and unsigned char are intrinsic, ... Prev by Date: ...
    (microsoft.public.vc.language)