From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,645c9019c6b7b478 X-Google-Attributes: gid103376,public From: Niklas Holsti Subject: Re: HELP: OpenGL-Init -Error Date: 1999/11/25 Message-ID: <383DA1BE.9641E59F@icon.fi>#1/1 X-Deja-AN: 553052410 Content-Transfer-Encoding: 7bit References: <383BBF5A.88A211D5@hrz.tu-chemnitz.de> Content-Type: text/plain; charset=us-ascii X-Trace: read2.inet.fi 943561563 194.252.1.111 (Thu, 25 Nov 1999 22:26:03 EET) Organization: Space Systems Finland Ltd MIME-Version: 1.0 NNTP-Posting-Date: Thu, 25 Nov 1999 22:26:03 EET Newsgroups: comp.lang.ada Date: 1999-11-25T00:00:00+00:00 List-Id: andi wrote: > > I would compile an OpenGL-Application with the win32ada-binding (came > with gnat3.12). > But I become an error-message: > 'non-visible declaration of FUNCTIONNAME' , where FUNCTIONNAME are: > wglCreateContext, wglMakeCurrent,...and so on > What can I do when I will use this and more of this functions ??? > Or is there any sample ??? > > andi Qualify the subprogram name with the package name, in the form Your_OGL_Package.wglCreateContext, where you should replace the part "Your_OGL_Package" with the name of the package that declares the wglCreateContext subprogram (this package name probably appears in the error message you get, and it probably appears in a "with" clause at the start of your code, too). Alternatively, add the clause "use Your_OGL_Package;" after the "with" clause. Hope this helps, - Niklas