next up previous contents 5
Next: Installing the newmat10 library Up: Installing the libraries Previous: Installing the diffimage library   Contents


Building the jpegsoc library

  1. Make sure that you have the jpeg-6b library installed on your computer.

  2. Checkout the jpegsoc software into the your DCS 'root' directory.

    blctlxx:~/release-3_2 > cvs checkout -r release-3_2 jpegsoc
    cvs checkout: Updating jpegsoc
    cvs checkout: Updating jpegsoc/decunix
    U jpegsoc/decunix/makefile
    cvs checkout: Updating jpegsoc/irix
    U jpegsoc/irix/makefile
    cvs checkout: Updating jpegsoc/linux
    U jpegsoc/linux/makefile
    cvs checkout: Updating jpegsoc/src
    U jpegsoc/src/jdatadstsock.c
    U jpegsoc/src/jdatasrcsock.c
    U jpegsoc/src/jpegsoc.h
    U jpegsoc/src/jsndrcv.c
    

  3. cd into the linux, decunix, or irix build directory and build the software with the make command.

    blctlxx:~/release-3_2 > cd jpegsoc/linux/
    blctlxx:~/release-3_2/jpegsoc/linux > make
    gcc -c -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jsndrcv.c
    gcc -c -o jdatasrcsock_applack.o -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jdatasrcsock.cgcc -c -o jdatadstsock_applack.o -O -DLINUX -DAPPLACK -I../../xos//src/ -I../src -I/usr/local/ -I/usr/include  ../src/jdatadstsock.car -vr jpegsoc_applack.a jsndrcv.o jdatasrcsock_applack.o jdatadstsock_applack.o
    a - jsndrcv.o
    a - jdatasrcsock_applack.o
    a - jdatadstsock_applack.o
    



Scott McPhillips 2003-03-11