|
Hi everybody,
I tried to compile file triangle.c into Matlab by mex -triangle.c but i did not successfully. My computer uses 32-Bit Operating System , Vista Business and I install Microsoft Visual 2008 and MatLab 7.8.0(R2009a).
If everybody know how to compile them into MatLab, please help me to solve this problem. It is really necessary for my project, now. Everybody can get file triangle.c at
http://www.cs.cmu.edu/~quake/triangle.html
a .zip file (159K)
More details for this error is showed follows:
>> mex -DNO_TIMER triangle.c
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
C:\USERS\TIENNG~1\APPDATA\LOCAL\TEMP\MEX_RZ~1\triangle.obj
LINK : error LNK2001: unresolved external symbol mexFunction
C:\USERS\TIENNG~1\APPDATA\LOCAL\TEMP\MEX_RZ~1\templib.x : fatal error LNK1120: 1 unresolved externals
C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: Link of 'triangle.mexw32' failed.
??? Error using ==> mex at 218
Unable to complete successfully.
|