Prev: Database Problem
Next: bootci
From: harry on 26 Jul 2006 07:37 hello, i want to compile a simple mex file. the following errors occur: 1. using Compiler: Microsoft Visual C/C++ 6.0 " tester.obj LINK : error LNK2001: Nichtaufgeloestes externes Symbol mexFunction _lib1077.x : fatal error LNK1120: 1 unaufgeloeste externe Verweise LINK : fatal error LNK1141: Fehler bei der Erstellung der Exportdatei C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of 'tester.dll' failed. ??? Error using ==> mex Unable to complete successfully " and 2. using Lcc C version 2.4 " Specified export _mexFunction is not defined Missing exports. Aborting C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of 'tester.dll' failed. ??? Error using ==> mex Unable to complete successfully " may anybody help me? whats the fault?
From: harry on 26 Jul 2006 07:53 its uninevitable to use mexFunction(). no other declarations are allowed. harry wrote: > > > hello, > > i want to compile a simple mex file. the following errors occur: > > 1. using Compiler: Microsoft Visual C/C++ 6.0 > " > tester.obj > LINK : error LNK2001: Nichtaufgeloestes externes Symbol mexFunction > > _lib1077.x : fatal error LNK1120: 1 unaufgeloeste externe Verweise > LINK : fatal error LNK1141: Fehler bei der Erstellung der > Exportdatei > > > C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of > 'tester.dll' failed. > > ??? Error using ==> mex > Unable to complete successfully > " > > and > > 2. using Lcc C version 2.4 > " > Specified export _mexFunction is not defined > Missing exports. Aborting > > C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of > 'tester.dll' failed. > > ??? Error using ==> mex > Unable to complete successfully > " > > may anybody help me? > whats the fault?
From: Peter Boettcher on 26 Jul 2006 09:15 harry <terrakon(a)web.de> writes: > hello, > > i want to compile a simple mex file. the following errors occur: > > 1. using Compiler: Microsoft Visual C/C++ 6.0 > " > tester.obj > LINK : error LNK2001: Nichtaufgeloestes externes Symbol mexFunction > _lib1077.x : fatal error LNK1120: 1 unaufgeloeste externe Verweise > LINK : fatal error LNK1141: Fehler bei der Erstellung der Exportdatei > > > C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of > 'tester.dll' failed. > > ??? Error using ==> mex > Unable to complete successfully > " > > and > > 2. using Lcc C version 2.4 > " > Specified export _mexFunction is not defined > Missing exports. Aborting > > C:\PROGRAM FILES\MATLAB7R14SR1\BIN\WIN32\MEX.PL: Error: Link of > 'tester.dll' failed. > > ??? Error using ==> mex > Unable to complete successfully > " > > may anybody help me? > whats the fault? You haven't defined the correct mexFunction gateway interface. See the docs and sample MEX files. -- Peter Boettcher <boettcher(a)ll.mit.edu> MIT Lincoln Laboratory MATLAB FAQ: http://www.mit.edu/~pwb/cssm/
|
Pages: 1 Prev: Database Problem Next: bootci |