Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
link errors while building mexfiles
Posted:
Dec 16, 2008 2:23 PM
|
|
Hey all,
I am trying to build a mex file from a c code which reads angles from a data glove. I got the following errors. Any help is greatly appreciated. _fdGetSensorScaled and _fdOpen are the two functions that i got from glove SDK, I am using in the c code.
Best
====================== mex dataglove.c fgloved.lib Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.
C:\DOCUME~1\hRNEL\LOCALS~1\Temp\mex_fND8cd\dataglove.obj fgloved.lib dataglove.obj : error LNK2019: unresolved external symbol _fdGetSensorScaled referenced in function _mdlOutputs dataglove.obj : error LNK2019: unresolved external symbol _fdOpen referenced in function _mdlOutputs dataglove.mexw32 : fatal error LNK1120: 2 unresolved externals C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Link of 'dataglove.mexw32' failed.
??? Error using ==> mex at 207 Unable to complete successfully. ===========================
|
|
|
|