Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4758 right-hear 1
 
2
==========================================
3
4
 
5
--------------------------
6
7
 
8
9
 
10
  ./configure [--prefix=/path]
11
  make
12
13
 
14
  make install
15
  make clean
16
  make distclean
17
18
 
19
  sudo make install
20
  make clean
21
  make distclean
22
23
 
24
25
 
26
call './bootstrap.sh'.
27
28
 
29
or to see available configure options, please try
30
'./configure --help'.
31
32
 
33
will automatically be created in 'doc/Makefile'. To build
34
the documentation (it will create an 'html' directory):
35
  cd doc
36
	make docs
37
38
 
39
40
 
41
  cmake .
42
  make
43
44
 
45
  make install
46
  make clean
47
48
 
49
  sudo make install
50
  make clean
51
52
 
53
54
 
55
* To specify the install path: '-DCMAKE_INSTALL_PREFIX=/path'
56
* To build the shared libraries and links the executables against it: '-DBUILD_SHARED_LIBS:bool=on' (default: 'ON')
57
  Note: when using this option, static libraries are not built and executables are dynamically linked.
58
* To build the CODEC executables: '-DBUILD_CODEC:bool=on' (default: 'ON')
59
* To build the MJ2 executables: '-DBUILD_MJ2:bool=on' (default: 'OFF')
60
* To build the JPWL executables and JPWL library: '-DBUILD_JPWL:bool=on' (default: 'OFF')
61
* To build the JP3D executables and JP3D library: '-DBUILD_JP3D:bool=on' (default: 'OFF')
62
* [WIN32 ONLY] To build the INDEXER_JPIP executable: '-DBUILD_INDEXER_JPIP:bool=on' (default: 'OFF')
63
* To build the doxygen documentation: '-DBUILD_DOC:bool=on' (default: 'OFF')
64
* To enable testing (and automatic result upload to http://my.cdash.org/index.php?project=OPENJPEG):
65
    cmake . -DBUILD_TESTING:BOOL=ON -DJPEG2000_CONFORMANCE_DATA_ROOT:PATH=/path/to/your/JPEG2000/test/files
66
    make
67
    make Experimental
68
  Note : JPEG2000 test files are available here : http://www.crc.ricoh.com/~gormish/jpeg2000conformance/
69
70
 
71
- Manually edit the config.nix file
72
- Manually create an opj_config.h file from opj_config.h.in.user
73
  and edit this opj_config.h
74
- Then : (if 'WITH_JPWL' and/or 'WITH_JP3D' are defined in config.nix)
75
    make -f Makefile.nix all
76
    make -f Makefile.nix install
77
    make -f Makefile.nix clean
78
    make -f Makefile.nix uninstall
79
- If neither 'WITH_JPWL' nor 'WITH_JP3D' is defined in config.nix
80
  and you want to clean/compile/install/uninstall JPWL/JP3D:
81
  call the respective target in the respective directory.
82
83
 
84
------
85
86
 
87
The xcode project file has also to be updated.
88
Right now, the CMake procedure is the only one working. Please refer to instructions above.
89
If it does not work, try adding the following flag to the cmake command :
90
  '-DCMAKE_OSX_ARCHITECTURES:STRING=i386'
91
92
 
93
-------
94
95
 
96
97
 
98
99
 
100
files for the IDE you are using. Type 'cmake --help' for available generators on your platform.
101
102
 
103
104
 
105