From: Guo on 15 Jun 2010 09:03 Hi All, I have a problem to ask for your help. I need to know how the function imreconstructionmex works. I choose to read the code of imreconstructionmex.cpp while debugging the code. So the first thing is to use the mex command to compile the file to obtain the imreconstructmex.pdb file with debugging information. I use the command: mex -g imreconstructmex.cpp but I failed. The error informations are: ------------------------------------------------------------------ Microsoft (R) Incremental Linker Version 6.00.8168 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. C:\DOCUME~1\SUN\LOCALS~1\TEMP\MEX_1N~1\imreconstructmex.obj Creating library C:\DOCUME~1\SUN\LOCALS~1\TEMP\MEX_1N~1\templib.x and object C:\DOCUME~1\SUN\LOCALS~1\TEMP\MEX_1N~1\templib.exp imreconstructmex.obj : error LNK2001: unresolved external symbol "void __cdecl nhDestroyNeighborhoodWalker(struct NeighborhoodWalker_tag *)" (?nhDestroyNeighborhoodWalker@@YAXPAUNeighborhoodWalker_tag@@@Z) imreconstructmex.obj : error LNK2001: unresolved external symbol "void __cdecl nhDestroyNeighborhood(struct Neighborhood_tag *)" (?nhDestroyNeighborhood@@YAXPAUNeighborhood_tag@@@Z) …… …… nhGetNextInboundsNeighbor@@YA_NPAUNeighborhoodWalker_tag@@PAH1@Z) imreconstructmex.obj : error LNK2001: unresolved external symbol "void __cdecl nhSetWalkerLocation(struct NeighborhoodWalker_tag *,int)" (?nhSetWalkerLocation@@YAXPAUNeighborhoodWalker_tag@@H@Z) imreconstructmex.mexw32 : fatal error LNK1120: 7 unresolved externals D:\MATLAB~1\BIN\MEX.PL: Error: Link of 'imreconstructmex.mexw32' failed. ??? Error using ==> mex at 218 Unable to complete successfully. ------------------------------------------------------------------ I didn't find any makefile in the Image Processing Toolbox directory. How can I solve this problem?
|
Pages: 1 Prev: converting matrices Next: take off a white frame in image |