Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3C569613.DFA37EC9@yahoo.com> Date: Tue, 29 Jan 2002 07:31:15 -0500 From: Earnie Boyd Reply-To: Earnie Boyd X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Tamer Samy abdelazim CC: cygwin-apps AT cygwin DOT com, Earnie Boyd Subject: Re: call matlab from C References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Wrong list!! > Tamer Samy abdelazim wrote: > > Hi All ; > i am using cygwin for windows. I tried to call matlab > engine from C under cygwin under win2K ... I am always get errors > from gcc compiler (the error is under) > I do not know which libmat.a or which liberary i can use.Can you help > ?...thanks in advance. > > ERROR > $ make > gcc -o TPSS_ML main.o run_matlab.o msg.o strace.o libmat.a -lm > run_matlab.o(.text+0x25):run_matlab.c: undefined reference to > `engEvalString' > run_matlab.o(.text+0x3b):run_matlab.c: undefined reference to > `engGetMatrix' > run_matlab.o(.text+0x4f):run_matlab.c: undefined reference to > `mxGetPr' > collect2: ld returned 1 exit status > make: *** [TPSS_ML] Error 1 > > Tamer mohamed samy abdelazim Mellik > Home (+1 403) (2614630) > Office (+1 403) (2206077) > Lab. (+1 403) (2109545) > http://www.enel.ucalgary.ca/~abdelasi/ > #1203, 505 6 St. SW > T2P 1X5 > Calgary AB > Canada _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com