4 Jan 15:35
Compiling ilmbase+openexr on solaris x86 64bit
Campbell Barton <ideasman42 <at> gmail.com>
2008-01-04 14:35:24 GMT
2008-01-04 14:35:24 GMT
Hi, Iv been getting blender3d to compile on Solaris10-x86 64bit (for use on suns network.com grid computing engine, for the peach project peach.blender.org) I had quite a bit of trouble getting openexr built. 32bit would build with no problems, but compiling 64bit openexr binaries was difficult. The problem is that I could not tell it to look for libs in /usr/sfw/lib/amd64/ it would instead look for libstdc++ and in /usr/sfw/lib/ and give a linking error when building. This problem happens with ilmbase-1.0.1 and openexr-1.6.1 - "wrong ELF class: ELFCLASS64" I tried ./configure --libdir=/usr/sfw/lib/amd64/ setting LDFLAGS but it seemed I could not overwide the reference to /usr/sfw/lib/ and there was no way to set it. Anyhow here are the commands I used to compile, maybe it gives some insights into the problem or at least help others in the meantime. If anyones interested, heres some info about setting up the renderfarm http://wiki.blender.org/index.php/Bf-institute/renderfarm -------- PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/opt/csw/bin CFLAGS="-m64 -O2 -pipe -mtune=opteron" CCFLAGS=$CFLAGS(Continue reading)
RSS Feed