XtVaAppInitialize not found
From: scott (scottamillard_at_hotmail.com)
Date: 08/24/04
- Next message: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Previous message: Martin Blume: "Re: can core dump be redirected?"
- Next in thread: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Reply: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Reply: Joe Knapka: "Re: XtVaAppInitialize not found"
- Reply: scott: "Re: XtVaAppInitialize not found"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Aug 2004 19:31:11 +0100
hi all
just trying to compile a program, i know it probs won't do anything as such,
but im just trying to learn.
when i try to compile it i get the message
: undefined reference to 'XtVaAppInitialize'
/tmp/ccUiaRHT.o(.eh_frame+0x11): undefined reference to
'__gxx_personality_v0'
the code is
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Form.h>
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char **argv)
{
XtAppContext appContext;
Widget toplevel, form;
toplevel = XtVaAppInitialize(&appContext,
"2D-Editor",
NULL,
0,
&argc,
argv,
NULL,
NULL);
}
im using
gcc -o myProgram temp.cpp
to compile it, and if i take out the XtVAppInitialize function out it
compiles ok.
can some one tell what stupid mistake im making ?
Thx for the help
Scott.
- Next message: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Previous message: Martin Blume: "Re: can core dump be redirected?"
- Next in thread: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Reply: Paul Pluzhnikov: "Re: XtVaAppInitialize not found"
- Reply: Joe Knapka: "Re: XtVaAppInitialize not found"
- Reply: scott: "Re: XtVaAppInitialize not found"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|