sergioceron / wholebrain

Automatically exported from code.google.com/p/wholebrain
0 stars 0 forks source link

Volume rendering support for mac 64-bit #453

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
need volume rendering support for 64-bit mac

Original issue reported on code.google.com by stephen....@gmail.com on 18 Mar 2010 at 12:46

GoogleCodeExporter commented 8 years ago
I found out there are two 64 bit architectures, ppc64 which is a traditional 
power pc
architecture. But recent iMac has intel 64 bit architecture so I'll compile my
library for this too. Some of you may need to check for other native libraries 
too.

Original comment by hanseok....@gmail.com on 22 Mar 2010 at 11:21

GoogleCodeExporter commented 8 years ago
has anyone have tried this universal binary compilation?

Original comment by hanseok....@gmail.com on 25 Mar 2010 at 7:04

GoogleCodeExporter commented 8 years ago
Chris?

Original comment by stephen....@gmail.com on 25 Mar 2010 at 9:36

GoogleCodeExporter commented 8 years ago
No, I haven't tried a 'universal binary compilation' 
LWJGL comes as a jnilib for Mac, so they've managed to figure something out.
Probably the universal binary thing.

https://developer.mozilla.org/en/Mac_OS_X_Universal_Binaries

Original comment by caprea on 25 Mar 2010 at 10:48

GoogleCodeExporter commented 8 years ago
Thanks. I found out LWJGL supports ppc, i386, and x86_64. It doesn't support 
ppc64. I figured out how the 
universal binary thing works and got the same support for my library too. Each 
.cpp file is compiled for different 
architectures so it's approximately three times bigger than compiled for one 
architecture. Then during the 
runtime, it reads the header and jumps to the correct location. It works on 
x86_64 now and I'm testing on i386.

Original comment by hanseok....@gmail.com on 25 Mar 2010 at 10:58

GoogleCodeExporter commented 8 years ago
The "Unassigned NIF Desk" is a PowerPC

I don't think it runs Whole Brain Catalog, though.
See Issue 401

Original comment by caprea on 26 Mar 2010 at 4:21

GoogleCodeExporter commented 8 years ago
Hi all, 
I finally compiled my library as a universal binary. It can now even support 
old operating systems and all mac-
related architectures.

One thing I'd like to note is the minimum mac os x version for the library.

During the compile, I need to use different SDKs (library, header, and 
compilers) for each architecture and 
associated OSes
So here's the list

ppc: Mac OS X version 10.4 or later
i386: Mac OS X version 10.4 or later
x86_64: Mac OS X version 10.5 or later

I wanted to include 10.3 but I couldn't find the 10.3 SDK but as the current 
version of Mac OS X is 10.6 and 
10.4 is released in April 2005, hope supporting from 10.4 won't cause too many 
problems.

regarding ppc64, lwjgl does not support either so I skipped that architecture. 
It may run with ppc 32bit 
library but I haven't tested.

New library is uploaded in the nexus website with the version number of 0.0.12
Please let me know if you get any errors with the new binary.

Original comment by hanseok....@gmail.com on 29 Mar 2010 at 10:36

GoogleCodeExporter commented 8 years ago
I believe we've completed this.

Original comment by stephen....@gmail.com on 30 Apr 2010 at 6:43