View Full Version : Cg Compiler
Quaternion
09-17-2002, 01:46 AM
I am using Cg in OpenGL. Can I get the exact position (what line in the code) of the errors that the compiler generates? I know it is possible in D3D, but in OpenGL I don't get any further information but the fact that "The compiler returned an error".
Thanks,
Shlomi.
SirKnight
09-17-2002, 03:45 AM
Yes you can do this and I have setup my Cg programs to do this. I dont know the exact url but somewhere in http://www.cgshaders.org there is a link to a tutorial page that shows how to setup the Cg compiler in your program to do this.
-SirKnight
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.