Installing OSIP2 & eXosip2 LibraryDownload: http://ftp.gnu.org/gnu/osip/libosip2-3.3.0.tar.gz tar xzfv libosip2-3.3.0.tar.gz cd libosip2-3.3.0 ./configure --enable-test make sudo make install Download eXosip: http://mirror.lihnidos.org/GNU/savannah/exosip/libeXosip2-3.3.0.tar.gz tar xzfv libeXosip2-3.3.0.tar.gz cd libeXosip2-3.3.0 ./configure make make install Config OMNeT++ IDE to build with osip library
Example sourcecodemain.c Class: HOSIP.h, .cc Compilinggcc main.c -losip2 -lpthread -o test_osip Compiling in EclipseGoto: Project/ Properties / Settings / C/C++ Build /Tool Settings / GCC C Linker / Libraries Add: osip2 to (-l) Add: /usr/local/lib to (-L) Add: -lpthread to Miscellaneous of GCC C Compiler, GCC C++ Compiler, GCC C Linker Running./test_osip: error while loading shared libraries: libosip2.so.3: cannot open shared object file: No such file or directory FIX: Add export LD_LIBRARY_PATH=/usr/local/lib to /etc/profile Add /usr/local/lib to /etc/ld.so.conf |
► Sign in to add a comment