linker error => LNK2005: "void * __cdecl process(void *)" (?process@@YAPEAXPEAX@Z) already defined in fconvblas.obj
Mostra commenti meno recenti
i m using this command
mex -O fconvblas.cc -lmwblas -O fconv.cc
and got these errors
fconv.obj : error LNK2005: "void * __cdecl process(void *)" (?process@@YAPEAXPEAX@Z) already defined in fconvblas.obj
fconv.obj : error LNK2005: mexFunction already defined in fconvblas.obj
Creating library C:\Users\hassan\AppData\Local\Temp\mex_TlKrc0\templib.x and object C:\Users\hassan\AppData\Local\Temp\mex_TlKrc0\templib.exp
fconvblas.obj : error LNK2019: unresolved external symbol __imp_pthread_exit referenced in function "void * __cdecl process(void *)" (?process@@YAPEAXPEAX@Z)
fconvblas.obj : error LNK2019: unresolved external symbol __imp_pthread_join referenced in function mexFunction
fconvblas.obj : error LNK2019: unresolved external symbol __imp_pthread_create referenced in function mexFunction
fconvblas.mexw64 : fatal error LNK1120: 3 unresolved externals
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Link of 'fconvblas.mexw64' failed.
Risposte (1)
hassan mahmood
il 20 Mag 2014
Categorie
Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!