>
> Could anyone point out how to fix the runtime error?

You probably are not linking the correct frameworks and libs, or at least not 
in the right order...

You mabe best check what

fltk-config --use-gl --use-glut --ldflags

returns on your system, and verify that your Xcode libs are set up the same.

> What do the '__Z10' and 'ddiii' mean?
>

That's just the compiler c++-obfuscating the names - it presumably thinks your 
function is a c++ function.
If it is *not* a c++ function you probably need to mark it as "extern 'C'" so 
the compiler knows *not* to obfuscate the name.


Also, FWIW, I'd stay away from zerolink until things are basically working, as 
it can compilcate these sort of porting issues somewhat by hiding/changing the 
nature of these faults.
Once things are working, you can turn zerolink back on, if you like. I don't 
use it much myself - what you gain in build speed you loose in debugability, 
IMHO.



_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to