Compile and install OpenEXR1 in Ubuntu) download the relevant components from the OpenEXR official website http://www.openexr.com/downloads.html. The latest stable version is: imlbase1.0.2sourcecodereleaseopenexr1.7.0sourcecoderel.pdf on the zlib official website...
Compile and install OpenEXR in Ubuntu. 1) Download the relevant components from the OpenEXR official website: http://www.openexr.com/downloads.html. The latest stable version is ImlBase1.0.2 source code releaseOpenEXR 1.7.0 source code release. download the latest version of zlib from the zlib official website. Http://zlib.netZlib 1.2.7 source code release
2) unzip sudo tar-zxvf ilmbase-1.0.2.tar.gz-C/usr/local/sudo tar-zxvf openexr-1.7.0.tar.gz-C/usr/local/sudo tar-zxvf zlib-1.2.7.tar.gz-C/usr/local /3) compile and install IlmBase www.2cto.com install C/C ++ compiler sudo apt-get install gccgcc install related build tools apt-get install build-essential cd/usr/local/ilmbase-1.0.2sudo. /configuresudo makesudo make install4) compile and install Zlibcd/usr/local/zlib-1.2.7sudo. /configuresudo makesudo make install
4) install and compile OpenEXRsudo apt-get install gawkcd/usr/local/openexr-1.7.0sudo./configuresudo makesudo make install www.2cto.com
Problems and Solutions: 1)/usr/local/include/OpenEXR/ImathMatrix. h: 1813: 5: error: 'memset' was not declared in this scope solution: sudo chmod a + w/usr/local/include/OpenEXR/ImathMatrix. hvi/usr/local/include/OpenEXR/ImathMatrix. h add # include "string. h ", save and exit. 2) blurImage. cpp: 423: 62: error: 'memcpy' was not declared in this scope solution: sudo chmod a + w/usr/local/openexr-1.7.0/exrenvmap/blurImage. cppvi/usr/local/openexr-1.7.0/exrenvmap/blurImage. cpp adds # include "string. h ", save and exit. Author lqhbupt
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service