Thread: motif programming

  1. #1
    Registered User
    Join Date
    Jun 2005

    motif programming

    Hay, everyone!

    i am a newbie of Motif Programming, and here is my code:

    app_shell = XtAppInitialize(&app, "Example",
    (XrmOptionDescList) NULL, 0, &argc, argv,
    String *) NULL, (ArgList) NULL, 0);

    But there is a link problem:
    ld32: ERROR 33 : Unresolved text symbol "XtAppInitialize" -- 1st referenced by Debug/main.o.

    Can anyone give me some help?

  2. #2
    Join Date
    May 2005
    Did you link against the X and motif libs? -lMotif and -lX11 or something similar.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. x,xlib, xt, motif or ??
    By nga_tom in forum Linux Programming
    Replies: 10
    Last Post: 12-31-2007, 04:18 PM
  2. MFC, WTL or .NET?
    By microchip in forum C++ Programming
    Replies: 7
    Last Post: 11-07-2005, 03:14 PM
  3. is Motif standard on linux install?
    By FillYourBrain in forum Linux Programming
    Replies: 5
    Last Post: 09-29-2003, 03:11 PM