30 | | |
31 | | # To have OSG installed on Ubuntu you can build OSG from its svn repository |
32 | | |
33 | | svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 OpenSceneGraph |
34 | | |
35 | | # OSG use cmake to build (use apt-get install to resolve its dependancies, or remove the not finde libraries from the cmake prompt then configure and generate a make) |
36 | | |
37 | | # Or it is possible to install the OSG debian package from http://www.debian.org/distrib/packages |
38 | | # (search for your architecture,the follow links are for a standard x86 but 64bit and ppc are disponible too) |
39 | | # |
40 | | # note : if you are on ubuntu-8.04 you can find osg version in the repository |
41 | | # |
42 | | |
43 | | mkdir /home/sasha/dipendenze |
44 | | cd /home/sasha/dipendenze |
45 | | |
46 | | wget http://ftp.de.debian.org/debian/pool/main/o/openscenegraph/libopenscenegraph-dev_2.2.0-2_i386.deb |
47 | | |
48 | | wget http://ftp.de.debian.org/debian/pool/main/o/openscenegraph/libopenscenegraph6_2.2.0-2_i386.deb |
49 | | |
50 | | wget http://ftp.de.debian.org/debian/pool/main/o/openscenegraph/libopenthreads-dev_2.2.0-2_i386.deb |
51 | | |
52 | | wget http://ftp.de.debian.org/debian/pool/main/o/openscenegraph/libopenthreads6_2.2.0-2_i386.deb |
53 | | |
54 | | wget http://ftp.de.debian.org/debian/pool/main/c/coin2/libcoin40c2_2.5.0-1_i386.deb |
55 | | |
56 | | |
57 | | # build the openshenegrph libraries : |
58 | | |
59 | | sudo dpkg -i libopenthreads6_2.2.0-2_i386.deb |
60 | | |
61 | | sudo dpkg -i libopenthreads-dev_2.2.0-2_i386.deb |
62 | | |
63 | | sudo dpkg -i libcoin40c2_2.5.0-1_i386.deb |
64 | | |
65 | | sudo dpkg -i libopenscenegraph6_2.2.0-2_i386.deb |
66 | | |
67 | | sudo dpkg -i libopenscenegraph-dev_2.2.0-2_i386.deb |
68 | | |
71 | | # Download and build the libgeotiff libraries from the debian repository |
72 | | |
73 | | svn co svn://svn.debian.org/svn/pkg-grass/packages/geotiff |
74 | | |
75 | | cd /home/sasha/dipendenze/geotiff/libgeotiff-dfsg/trunk/ |
76 | | |
77 | | sudo svn-buildpackage -us -uc --svn-ignore-new |
78 | | |
79 | | cd /home/sasha/dipendenze/geotiff/libgeotiff-epsg/trunk/ |
80 | | |
81 | | sudo svn-buildpackage -us -uc --svn-ignore-new |
82 | | |
83 | | cd /home/sasha/dipendenze/geotiff/libgeotiff-dfsg/build-area/ |
84 | | |
85 | | dpkg -i *deb |
86 | | |
87 | | cd /home/sasha/dipendenze/geotiff/libgeotiff-epsg/build-area/ |
88 | | |
89 | | dpkg -i *deb |
90 | | |
91 | | cd ../../../ |
92 | | |
93 | | |
94 | | |
95 | | # download ossim (revision -12212) |
96 | | |
| 20 | # download ossim |