[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 21 Oct 2002 08:30:46 +0000
I find no problem in linking the prolog and C++. When we need to define the
library and include it on the compile code like this:
gplc --c-compiler g++ -L '-lstdc++' test.pl pred1.cpp pred2.cpp
But now I cant do that since I must use the compile code to compile the C++
objects as well.
g++ -I$QTDIR/include Football.cpp Interface.cpp moc_Football.cpp
to compile my program. It runs well (only GUI look and simple function).
And I use:
to run the program.
Now I need to use a kind of 2 libraries, one for prolog and another one is
for my objects. How do we do this?
All libraries definition for my C++ objects are under Qt Designer library
when I define -I$QTDIR and -l$QTDIR.
Any tips or alternative compile command to do this? Or perhaps somebody was
having the same problem with me and know how to solve this?
Get a speedy connection with MSN Broadband. Join now!
|[Prev in Thread]
||[Next in Thread]|
- 2 libraries,
eric pramudya <=