Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Cg Compiler

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jan 2001
    Location
    Israel
    Posts
    159

    Cg Compiler

    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.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: Cg Compiler

    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
    -SirKnight

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •