tag:blogger.com,1999:blog-36526186.post1876900303231307365..comments2024-03-27T19:43:45.782-07:00Comments on Short IT recipes: Python 3.4 and Pillow 2.4 with JPEG2000 (openjpeg 2) support in Ubuntu 14.04Whttp://www.blogger.com/profile/04578057696168658626noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-36526186.post-42903955100718666462014-11-06T03:25:50.285-08:002014-11-06T03:25:50.285-08:00I have this error after sudo make install
In file...I have this error after sudo make install<br /><br />In file included from /usr/include/png.h:536:0,<br /> from /home/franco/workspace/portfolio/openjpeg-2.0.1/src/bin/jp2/convert.c:51:<br />/usr/include/zlib.h:1758:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’<br /> ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file,<br /> ^<br />make[2]: *** [src/bin/jp2/CMakeFiles/opj_compress.dir/convert.c.o] Errore 1<br />make[1]: *** [src/bin/jp2/CMakeFiles/opj_compress.dir/all] Errore 2<br />make: *** [all] Errore 2<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36526186.post-67006694636905349272014-09-23T18:32:40.629-07:002014-09-23T18:32:40.629-07:00Thx. I added missing wget call to the code. Thx. I added missing wget call to the code. Whttps://www.blogger.com/profile/04578057696168658626noreply@blogger.comtag:blogger.com,1999:blog-36526186.post-17292242402311691152014-09-14T00:13:22.340-07:002014-09-14T00:13:22.340-07:00The first line of the instructions, (starting with...The first line of the instructions, (starting with http://downloads), is missing the command wget before the URL.Anonymoushttps://www.blogger.com/profile/06167866341454460236noreply@blogger.comtag:blogger.com,1999:blog-36526186.post-82640441472881794332014-09-09T09:38:14.164-07:002014-09-09T09:38:14.164-07:00Seems like the install process doesn't call ld...Seems like the install process doesn't call ldconfig properly, so you need to call it after "make install".<br /><br />Source: http://comments.gmane.org/gmane.comp.graphics.openjpeg/500Anonymoushttps://www.blogger.com/profile/05660858812775908375noreply@blogger.com