* call matlab from C
@ 2002-01-29 8:13 Tamer Samy abdelazim
2002-01-29 10:35 ` Earnie Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Tamer Samy abdelazim @ 2002-01-29 8:13 UTC (permalink / raw)
To: cygwin-apps
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1804 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: call matlab from C
2002-01-29 8:13 call matlab from C Tamer Samy abdelazim
@ 2002-01-29 10:35 ` Earnie Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2002-01-29 10:35 UTC (permalink / raw)
To: Tamer Samy abdelazim; +Cc: cygwin-apps, Earnie Boyd
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-29 12:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-29 8:13 call matlab from C Tamer Samy abdelazim
2002-01-29 10:35 ` Earnie Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).