I have to make a mex fil, so a wrote it and now I have some trouble with the compilation
i use the syntax:
mex CSerialCommunicator.cpp -I"./Inc"
and it always give me a linker error:
LINK : fatal error LNK1561: entry point must be defined
I think it because I don't have a main function, but I don't want to have it, i want to use my CSerialCommunicator like a library.
so, could you help me ?
solved:
-install visual studio 2005 professionnal edition sp1, and calling mex -setup.
now everything works.
thanks for your help