paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] paragui and debian


From: Stefan Gromoll
Subject: [paragui-users] paragui and debian
Date: Mon, 5 Jan 2004 08:22:40 -0500 (EST)


Hello all-

Can anyone explain to me how to build a simple test program under debian
using paragui?  I've installed the packages (libparagui1.0,
libparagui1.0-dev, paragui-themes), but when I try to build the simple
tutorial program:

#include "pgapplication.h"
                                                                                
int main(int argc, char* argv[])
{
    PG_Application app;
    app.SetEmergencyQuit(true);
    app.LoadTheme("default");
    app.InitScreen(640, 480, 0, SDL_SWSURFACE);
    app.Run();
    return 0;
}

I get the following link errors:

~/test/paragui> g++ `paragui-config --libs --cflags` tut1.cpp

/tmp/ccDuswdd.o(.text+0x18): In function `main':
: undefined reference to `PG_Application::PG_Application[in-charge]()'
/tmp/ccDuswdd.o(.text+0x2b): In function `main':
: undefined reference to `PG_Application::SetEmergencyQuit(bool)'
/tmp/ccDuswdd.o(.text+0x4e): In function `main':
: undefined reference to `PG_Application::LoadTheme(char const*, bool, 
char const*)'
/tmp/ccDuswdd.o(.text+0x79): In function `main':
: undefined reference to `PG_Application::InitScreen(int, int, int, 
unsigned)'
/tmp/ccDuswdd.o(.text+0x8c): In function `main':
: undefined reference to `PG_Application::Run(bool)'
/tmp/ccDuswdd.o(.text+0x97): In function `main':
: undefined reference to `PG_Application::~PG_Application [in-charge]()'
/tmp/ccDuswdd.o(.text+0xb1): In function `main':
: undefined reference to `PG_Application::~PG_Application [in-charge]()'
collect2: ld returned 1 exit status

where para-config --libs --cflags returns:
-L/usr/lib -lparagui -L/usr/lib -lSDL -lpthread -lz -lexpat -lfreetype -lz 
-lstdc++
-I/usr/include/paragui -I/usr/include/freetype2 -I/usr/include/SDL 
-D_REENTRANT


I've looked in the debian doc directories, on google, and at the available
paragui sites (paragui.org and the original page seem to not be really
working...), but havent found a clue.  Can anyone help me out?

thanks very much-

                -stefan


-- 
http://stefan.gromoll.org (currently down...)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]