I have tried to address the problem with this pull request: https://github.com/OpenImageIO/oiio/pull/623
It would be very helpful if somebody with OSX 10.8 who experienced this problem could check out the lg-openssl branch of the "lgritz" repository (https://github.com/lgritz/oiio/tree/lg-openssl) and give it a try, let me know if it works and if so I'll merge it into the master branch of the official repo. -- lg On Jun 26, 2013, at 12:35 PM, Silky Sweetness wrote: > Thank you everyone. Hopefully we will Cmake it work. > > From: Ben De Luca <[email protected]> > To: OpenImageIO developers <[email protected]> > Sent: Wednesday, June 26, 2013 5:59 AM > Subject: Re: [Oiio-dev] Having very hard time build oiio openimageio > > Hi, > I didn't see any one else respond but here is. > > from > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl > > which is the same as /usr/include/openssl/ > > > > > On Tue, Jun 25, 2013 at 9:41 PM, Larry Gritz <[email protected]> wrote: > I don't have OSX 10.8.4. > > Can somebody send me the OpenSSL/sha.h from that version of the OS? Maybe I > can figure out from reading the header (and comparing it to the one on my > system) what the appropriate change is. Also OpenSSL/opensslv.h, that may > also be helpful. > > > > > On Tue, Jun 25, 2013 at 1:28 PM, Malcolm Humphreys <[email protected]> > wrote: > I have had to disable this option USE_OPENSSL. > > $> cmake -DUSE_OPENSSL=OFF …. > > .malcolm > > On 25/06/2013, at 9:06 PM, Silky Sweetness wrote: > >> Can some help please? >> >> Imac OS X 10.8.4 >> >> this is where I get stock. What do I do? >> >> OS X 10.8.4 >> >> Last login: Tue Jun 25 12:24:54 on ttys000 >> mes-imac:~ me$ cd oiio >> mes-imac:oiio me$ make >> platform=macosx, hw=x86_64 >> OPENIMAGEIO_SITE = mes-imac.home >> >> >> >> dist_dir = dist/macosx >> INSTALLDIR = >> /Users/me/oiio >> ( cd build/macosx ; make ) >> [ 0%] Building CXX object >> libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_compare.cpp.o >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:637:5: error: >> >> >> >> 'SHA1_Init' is deprecated [-Werror,-Wdeprecated-declarations] >> SHA1_Init (&sha); >> ^ >> /usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' declared here >> >> >> >> int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:643:17: error: >> 'SHA1_Update' is deprecated [-Werror,-Wdeprecated-declarations] >> >> >> >> SHA1_Update (&sha, src.pixeladdr (roi.xbegin, y, z), >> ^ >> /usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' declared here >> int SHA1_Update(SHA_CTX *c, const void *data, size_t len)... >> >> >> >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:648:17: error: >> 'SHA1_Update' is deprecated >> [-Werror,-Wdeprecated-declarations] >> SHA1_Update (&sha, &tmp[0], (unsigned int)... >> ^ >> /usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' declared here >> >> >> >> int SHA1_Update(SHA_CTX *c, const void *data, size_t len)... >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:655:9: error: >> 'SHA1_Update' is deprecated [-Werror,-Wdeprecated-declarations] >> >> >> >> SHA1_Update (&sha, extrainfo.c_str(), extrainfo.size()); >> ^ >> /usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' declared here >> int SHA1_Update(SHA_CTX *c, const void *data, size_t len)... >> >> >> >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:659:5: error: >> 'SHA1_Final' is deprecated [-Werror,-Wdeprecated-declarations] >> SHA1_Final (md, &sha); >> >> >> >> ^ >> /usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' declared here >> int SHA1_Final(unsigned char *md, SHA_CTX *c)... >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:759:5: error: >> >> >> >> 'SHA1_Init' is deprecated [-Werror,-Wdeprecated-declarations] >> SHA1_Init (&sha); >> ^ >> /usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' declared here >> >> >> >> int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:761:9: error: >> 'SHA1_Update' is deprecated [-Werror,-Wdeprecated-declarations] >> >> >> >> SHA1_Update (&sha, results[b].c_str(), results[b].size()); >> ^ >> /usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' declared here >> int SHA1_Update(SHA_CTX *c, const void *data, size_t len)... >> >> >> >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:763:9: error: >> 'SHA1_Update' is deprecated [-Werror,-Wdeprecated-declarations] >> SHA1_Update (&sha, extrainfo.c_str(), extrainfo.size()); >> >> >> >> ^ >> /usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' declared here >> int SHA1_Update(SHA_CTX *c, const void *data, size_t len)... >> ^ >> /Users/me/oiio/src/libOpenImageIO/imagebufalgo_compare.cpp:766:5: error: >> >> >> >> 'SHA1_Final' is deprecated [-Werror,-Wdeprecated-declarations] >> SHA1_Final (md, &sha); >> ^ >> /usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' declared here >> >> >> >> int SHA1_Final(unsigned char *md, SHA_CTX *c)... >> ^ >> 9 errors generated. >> make[3]: *** >> [libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_compare.cpp.o] Error >> 1 >> make[2]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2 >> >> >> >> make[1]: *** [all] Error 2 >> make: *** [cmake] Error 2 >> mes-imac:oiio me$ >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > > > -- > Larry Gritz > [email protected] > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
