I need to fix a matlab program that incorporates C code compiled to a mex function. It is likely that the mex functions stopped working when updating Matlab from 32bit to 64bit.
when trying to recompile the c code into a mex file I get the following error:
qpip.obj : error LNK2019: unresolved external symbol qpip_sub referenced in function mexFunction
qpip.obj : error LNK2019: unresolved external symbol dcopy referenced in function mexFunction
qpip.mexw64 : fatal error LNK1120: 2 unresolved externals
I did not write the program myself but I should have all the necessary files. The qpip_sub.c and qpip_sub.h and some other files are in the same folder. The dcopy function seems to be part of the the BLAS linear algebra package but I only seem to have blasmap.h.
Any ideas what is going wrong? Thanks for the help!
(using MSVS2010, MATLAB R2011b, 64bit Windows 7)