-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
63 lines (47 loc) · 2.28 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
///////////////
/// Welcome ///
///////////////
To get started, you'll need devIL (IL and ILU) and nVidia Texture Tools installed as shared libraries.
Then, hopefully, getting up and running is as simple as "make".
My apologies for the state of the code; this was never really intended to see the light of day,
and it needs plenty of work.
~Cody Jung
/////////////////////////
/// Setting up prereqs //
/////////////////////////
First things, you'll need AT LEAST the following:
cmake, build-essential, and lib*-dev (e.g. libpng-dev) for each filetype you want to support
Next, download both Nvidia texture tools and the devIL libraries:
http://downloads.sourceforge.net/openil/DevIL-1.7.8.tar.gz
http://nvidia-texture-tools.googlecode.com/files/nvidia-texture-tools-2.0.8-1.tar.gz
////////////////////////////
/// Nvidia texture tools ///
////////////////////////////
After unzipping the tarball with "tar xvf nvidia-texture-tools-2.0.8-1.tar.gz", change to your new folder with cd nvidia-texture-tools.
In this directory, type the following:
$ ./configure
$ make
$ sudo make install
/////////////
/// DevIL ///
/////////////
Follow the same instructions as above for unzipping and getting to the right directory, then type:
$ ./configure --enable-ILU --with-nvtt=no
$ make
$ sudo make install
If, while running VTFnix after compilation, you get the error:
./VTFnix: error while loading shared libraries: libIL.so.1: cannot open shared object file: No such file or directory
First, make sure /usr/local/lib is listed in the file /etc/ld.so.conf (or one of it's includes), then run sudo /sbin/ldconfig
////////////////////
/// License Info ///
////////////////////
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.