Hi

we are having issues with compilers on the Mac. 

Initially we were building everything with the version of gcc that comes with 
Xcode, i.e.:
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)


But one of our other third party libs (CGAL) does not like it so we looked at 
changing. I tried recompiling everything with gcc 4.3 from MacPort but it fails 
to build OSG (fails on some of the Objective C code).

Tried compiling everything with GCC 4.3 except OSG which I build with the 
llvm-gcc 4.2, but the binary compatibility seems no very good and I get the 
reported crash when "freeing non allocated memory".

Obviously it seems stdc++ libraries are getting mixed up but it would be nice 
to be able to resolve this (and not go crazy in the process!)



Mike



On 16 Jul 2012, at 14:59, Tobias Duckworth wrote:

> Hi Manuel,
> 
> You state that you are building OSG with gcc - Can you tell me which version 
> please?
> 
> I am unable to get OSG to build with gcc, due to the objective C sections of 
> code - Even if I build gcc from source and enable objective C.  It seems the 
> llvm-gcc differs in its understanding of objective C and I can compile it 
> with this.
> 
> Please could you confirm which version of gcc you are able to build OSG with?
> 
> 
> ... 
> 
> Thank you!
> 
> Cheers,
> Tobias
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=48871#48871
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

----
Mike Krus (PhD) - Principal Software Engineer

Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to