Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: link errors while building mexfiles
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
cpp.matlab@gmail.com

Posts: 47
Registered: 10/24/08
link errors while building mexfiles
Posted: Dec 16, 2008 2:23 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.
===========================



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.