X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BAY123-W850FE0527AF50F0CA2553AFBC0@phx.gbl>
From: Jamie Sandell <jammysa@hotmail.com>
To: <cygwin@cygwin.com>
Subject: FW: GLUI and GLUIX
Date: Mon, 9 Feb 2009 22:17:40 +0000
In-Reply-To: <COL104-W569C84D42B4DFA8C0C239D93BC0@phx.gbl>
References: <BAY123-W415DBFDD51633A194D4785AFBC0@phx.gbl>  <COL104-W569C84D42B4DFA8C0C239D93BC0@phx.gbl>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hi Andre,
I have a problem. I'm trying to use GLUI with GLUIX. I can use GLUI fine on=
 it's own and have been doing for some time.

If I have this:

#include "glui.h"
#include "gluix.h"

Then I get the errors:
Error    25    error LNK2019: unresolved external symbol "public: int __thi=
scall GLUIX_FileSelectionDialog::set_text(enum GLUIX_FSD_Part,char *)" (?se=
t_text@GLUIX_FileSelectionDialog@@QAEHW4GLUIX_FSD_Part@@PAD@Z) referenced i=
n function "void __cdecl setupGLUI(void)" (?setupGLUI@@YAXXZ)    GLUI_Windo=
w_Template.obj    Prototype_01
Error    26    error LNK2019: unresolved external symbol "public: __thiscal=
l GLUIX_FileSelectionDialog::GLUIX_FileSelectionDialog(char *,void (__cdecl=
*)(char *,char *,char *),int,int,int,int,int,int,int)" (??0GLUIX_FileSelect=
ionDialog@@QAE@PADP6AX000@ZHHHHHHH@Z) referenced in function "void __cdecl =
setupGLUI(void)" (?setupGLUI@@YAXXZ)    GLUI_Window_Template.obj    Prototy=
pe_01
Error    27    fatal error LNK1120: 2 unresolved externals    C:\work\3rd_y=
ear\08341\Prototype_12\Debug\Prototype_01.exe    Prototype_01

But I have them in this order I get these errors:
Error    1    error C2061: syntax error : identifier 'Byte'    c:\work\3rd_=
year\08341\prototype_12\prototype_01\gluix.h    89    Prototype_01
Error    2    error C2061: syntax error : identifier 'GLUI'    c:\work\3rd_=
year\08341\prototype_12\prototype_01\gluix.h    123    Prototype_01

I'm not sure how to fix it? Thanks for your time.


_________________________________________________________________
Twice the fun=97Share photos while you chat with Windows Live Messenger. Le=
arn more.
http://www.microsoft.com/uk/windows/windowslive/products/messenger.aspx

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

