> I borrowed /usr/X11R6/lib/libfreetype.6.dylib, which has ppc, ppc64, > x86, and x86-64 versions. Despite being in /usr/X11R6 it appears to > have no X11 dependencies according to otool -L. The library works on > ppc and x86. In x86-64, everything links, but the UI still fails. When > it tries to start, it gets caught in a loop spamming "invalid code > module" and "invalid context" to the console. These correspond to the > kCGLErrorBadCodeModule and kCGLErrorBadContext error codes from the > OpenGL framework.
I found part of the problem--many of the Core Foundation and Cocoa types have different definitions in a 64-bit environment. I've pushed a patch that cleans up the type definitions I've tracked down so far. Right now according to gdb, it's getting stuck inside -[NSOpenGLView openGLContext] trying to calloc an enormous amount of RAM, which leads me to believe there are some 32-bit params that should be 64-bit still being passed in somewhere. I also updated the freetype lib for OS X to one that includes the 64- bit platforms. -Joe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
