problems with linking a dynamic shared library using kdevelop 2.1 and linux fedora(1)

L

Lior Sapir

hi
we compiled a simple method in matlab to a shared library :

mcc -W lib:lib_div3 -T link:lib div3
-----------------------------------------------------------------
-> Checking access to X display :0.0 . . .
If no response hit ^C and fix host or access control to host.
Otherwise, checkout any error messages that follow and fix . . .
-> Successful . . .
-----------------------------------------------------------------
Warning: Duplicate directory name: /usr/local/matlab14/toolbox/local.

this outputed 4 files:
lib_div3.so
lib_div3.c
lib_div3.h
lib_div3_componnent.c

how do i use it (the library) ??????

I tried to include the h file but it's not enough and i get compile errors
on kdevelop 2.1 editor (using linux os fedora 1)

What is the .so file ????????

any information will be usefull
thank's
 
V

Victor Bazarov

Lior said:
we compiled a simple method in matlab to a shared library :

mcc -W lib:lib_div3 -T link:lib div3
-----------------------------------------------------------------
-> Checking access to X display :0.0 . . .
If no response hit ^C and fix host or access control to host.
Otherwise, checkout any error messages that follow and fix . . .
-> Successful . . .
-----------------------------------------------------------------
Warning: Duplicate directory name: /usr/local/matlab14/toolbox/local.

this outputed 4 files:
lib_div3.so
lib_div3.c
lib_div3.h
lib_div3_componnent.c

how do i use it (the library) ??????

I tried to include the h file but it's not enough and i get compile errors
on kdevelop 2.1 editor (using linux os fedora 1)

What is the .so file ????????

any information will be usefull
thank's

..so file is a "shared object". This is Linux/Unix - specific. Please
post your platform questions to the platform newsgroup or to the compiler
newsgroup. Try comp.os.linux.development.apps or gnu.g++.help.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top