Archive for the 'Uncategorized' Category

SWIG, Directors, and G++ optimization on RHEL 5.4

September 05th, 2010 | Category: Uncategorized

I couldn’t find anyone else who had this problem so in the event you are having a problem where your directors all have cPtr values of 0, I found on RHEL 5.4 that if you use directors and compile with optimization level above -01 suddenly (at least with target java) the swig objects representing the director classes will always have a null cPtr.

Please note that only the file has to be compiled with optimization off to fix the problem.

Comments are off for this post

PI Day!

March 14th, 2008 | Category: Uncategorized

This isn’t strictly computer engineering, but at least it is math. Today, 3/14, is PI Day!. Enjoy.

Comments are off for this post