quartz - HIView doesn't work

123new_mac

Registered
Hi,
I'm working on a Mac-10.5 and I try to compile and execute a program, that uses AGL. Cause AGL is deprecated on this Mac Version, I changed AGLDrawable to HIViewRef and aglGetDrawable to aglGetHIViewRef. But when I try to execute the GUI, I get the following message:

/Users/praktikant/Desktop/CancerSim/GUI ; exit;
maggy:~ praktikant$ /Users/praktikant/Desktop/CancerSim/GUI ; exit;
Assertion failed: (0), function aglSetIntegerHIViewRef, file aglHIView.c, line 395.
Abort trap
logout

[Prozess beendet]

I don't understand what the problem is!
Can someone help me?

Thanks
 
Back
Top