20: 2015-08-26 (水) 03:32:57 iseki |
21: 2015-08-26 (水) 13:01:39 iseki |
| # yum install zlib-devel -y | | # yum install zlib-devel -y |
| | | |
- | - [[OpenJpeg]] (1.2 or 1.4) http://www.openjpeg.org/ | + | - openjpeg (v1.x) devel package |
- | -- We recommend to install v1.2, because OpenSim use v1.2 | + | -- If you can use yum command, please execute ''yum install openjpeg-devel'' command. |
| + | # yum install openjpeg-devel -y |
| + | |
| + | - [[OpenJpeg]] (v2.x) http://www.openjpeg.org/ (This is a option, but we strongly recommend to install.) |
| -- We recommend to install ''v2.1'', too. | | -- We recommend to install ''v2.1'', too. |
| --- Why you install two versions of OpenJpeg? | | --- Why you install two versions of OpenJpeg? |
- | --- Because there is a case v1.2 can not read newer Jpeg2000, and there is a case v2.1 can not read older Jpeg2000. | + | --- Because there is a case v1.x can not read newer Jpeg2000. |
- | -- https://github.com/uclouvain/openjpeg/archive/version.1.2.tar.gz | + | |
| -- https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz | | -- https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz |
- | | |
- | # wget https://github.com/uclouvain/openjpeg/archive/version.1.2.tar.gz | |
- | # tar zxfv version.1.2.tar.gz | |
- | # cd openjpeg-version.1.2 | |
- | # cmake . | |
- | # make | |
- | # make install | |
- | # cd .. | |
| # wget https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz | | # wget https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz |
| # tar zxfv version.2.1.tar.gz | | # tar zxfv version.2.1.tar.gz |
| # tar zfxv oarconv-x.y.z.tar.gz | | # tar zfxv oarconv-x.y.z.tar.gz |
| # cd oarconv-x.y.z | | # cd oarconv-x.y.z |
- | # ./configure --enable-openjpeg=1.2 (if you use v1.4, please specify -enable-openjpeg=1.4) | + | # ./configure --enable-openjpeg |
| # cd C++Lib | | # cd C++Lib |
| # make | | # make |
| -- oarconv treats BumpMap as extra tag. | | -- oarconv treats BumpMap as extra tag. |
| | | |
| + | #br |
| + | |
| + | *** Trouble Shooting [#s3f53a84] |
| + | **** Error messages: "OARTool::ConvertTexture: ERROR: texture ..... convert error (-21, 127)." [#s73c3046] |
| + | - OpenJpeg v1.x can not convert those textures. Please install OpenJpeg v2.x, too. |
| #br | | #br |
| | | |