[OpendTect_Developers] Compile OD with Mac OSX 10.9 (clang/llvm)

Nanne Hemstra nanne.hemstra at dgbes.com
Tue Oct 29 16:04:00 CET 2013


Thanks David!

I had to add an extra ifdef in StreamProvider's makeIStream and makeOStream
to make it compile on my end. See patch attached.
Looking forward to your other changes.

Best regards,
Nanne




On 29 October 2013 11:17, David d'Angelo
<david.d-angelo at iais.fraunhofer.de>wrote:

>  Hi folks,
>
> I attached a patch for the boost.iostreams issue. I haven't tested it
> though.
> I am working on some more compilation issues with clang/llvm...
>
> Best regards,
> David
>
>
> On 29/10/13 13:22, David d'Angelo wrote:
>
> Hi folks,
>
> I tried to compile OpendTect with Mac OSX 10.9 (Mavericks) and found the
> following minor issues:
>
>    1. The autogenerated file *include/basic/svnversion.h* should define
>    some int as version number. If it is empty, the clang compiler will
>    complain at *src/basic/genc.c:407* that the function must return an
>    int.
>    2. Missing include of <cstdlib> in* src/Basic/cubesampling.cc*.
>    3. Missing include of <unistd.h> in *src/Basic/file.cc*
>    4. Missing include of <unistd.h> in *src/Basic/odinst.cc*
>
> The file *src/Basic/strmprov.cc *uses gcc dependent *template
> __gnu_cxx::stdio_filebuf<char>*, which obviously does not exist in the
> clang/llvm framework. Are there any plans to exchange this to a platform
> independent implementation like *Boost.Iostreams*?
>
> Any patch for this would be highly appreciated.
>
> Best regards,
> David
>
> --
> David d'Angelo, M. Sc.
> Adaptive Reflective Teams
> Fraunhofer IAIS
> Schloss Birlinghoven
> 53757 Sankt Augustin
> Germany
> Fon: +49 (0) 2241 14 3444
> Fax: +49 (0) 2241 14 2040
>
>
>
> _____________________________________________________________
> OpendTect Developers mailing list Developers at opendtect.orghttp://lists.opendtect.org/mailman/listinfo/developers
>
> You receive this mail because you are listed on developers at opendtect.org To unsubscribe please go to http://lists.opendtect.org/mailman/options/developers . If you encounter any problems, please contact support at opendtect.org .
>
>
>
> --
> David d'Angelo, M. Sc.
> Adaptive Reflective Teams
> Fraunhofer IAIS
> Schloss Birlinghoven
> 53757 Sankt Augustin
> Germany
> Fon: +49 (0) 2241 14 3444
> Fax: +49 (0) 2241 14 2040
>
>
> _____________________________________________________________
> OpendTect Developers mailing list Developers at opendtect.org
> http://lists.opendtect.org/mailman/listinfo/developers
>
> You receive this mail because you are listed on developers at opendtect.orgTo unsubscribe please go to
> http://lists.opendtect.org/mailman/options/developers . If you encounter
> any problems, please contact support at opendtect.org .
>



-- 
Nanne Hemstra
dGB Earth Sciences
Executive Vice President - Brazil
M: +55-21-98993220
http://www.dgbes.com , http://www.opendtect.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20131029/9dd21ef6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strmprov.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20131029/9dd21ef6/attachment-0001.bin>


More information about the Developers mailing list