Re: Trouble wrapping a dll
- Posted by mattlewis (admin) Aug 23, 2010
- 1151 views
ChrisB said...
Of course, it could be the library, and the build setup, one idea would be for someone else to build it, email it to me, and see if it works (or doesn't) still. The other thing that I have thought of is that in some way the paths aren't correct for eui - I have put symlinks in the paths to see if that helps, but to no avail.
OK, I see what happened. He never links libX11.so. There is a variable to do so, but he never actually uses it:
XLIB = -lXext -lX11 -lX11
So, linking those libs seems to get past the undefined symbol issue:
open_dll("libX11.so") open_dll("libXext.so")
But then I get a machine-level exception in the call to EZ_Initialize. I haven't looked any farther than that.
Matt