So I'm gonna take a look at the native calling functionality of parrot
to see about access to an XML parser.
Taking a look at the pxs example (is this the right place to be
looking?), and I'm having problems compiling PQt.C per it's own
instructions. After getting the qt headers installed, the following has
problems all across the map.
My command:
g++ -fPIC -I/usr/include/qt3 -I../../include -L$QTDIR -c PQt.C -lqt
produces:
In file included from ../../include/parrot/global_setup.h:18,
from ../../include/parrot/parrot.h:198,
from ../../include/parrot/pxs.h:14,
from PQt.C:15:
../../include/parrot/interpreter.h:34: conflicting types for `typedef struct
Parrot_Interp*Parrot_Interp'
../../include/parrot/interpreter.h:32: previous declaration as `struct
Parrot_Interp'
In file included from ../../include/parrot/interpreter.h:46,
from ../../include/parrot/global_setup.h:18,
from ../../include/parrot/parrot.h:198,
from ../../include/parrot/pxs.h:14,
from PQt.C:15:
../../include/parrot/warnings.h:27: conflicting types for `struct
Parrot_Interp
'
../../include/parrot/interpreter.h:34: previous declaration as `typedef
struct
Parrot_Interp*Parrot_Interp'
In file included from ../../include/parrot/parrot.h:201,
from ../../include/parrot/pxs.h:14,
from PQt.C:15:
../../include/parrot/datatypes.h:117: syntax error before `typename'
In file included from PQt.C:15:
../../include/parrot/pxs.h:17: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:17: syntax error before `)' token
../../include/parrot/pxs.h:17: variable or field `PXS_reti' declared void
../../include/parrot/pxs.h:17: initializer list being treated as compound
expression
../../include/parrot/pxs.h:18: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:18: syntax error before `)' token
../../include/parrot/pxs.h:18: variable or field `PXS_retn' declared void
../../include/parrot/pxs.h:18: initializer list being treated as compound
expression
../../include/parrot/pxs.h:19: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:19: syntax error before `*' token
../../include/parrot/pxs.h:20: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:20: syntax error before `*' token
../../include/parrot/pxs.h:21: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:22: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:23: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:24: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:25: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:26: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:26: syntax error before `*' token
../../include/parrot/pxs.h:27: `parrot_interp_t' was not declared in
this scope
../../include/parrot/pxs.h:27: syntax error before `char'
PQt.C:25: `parrot_interp_t' was not declared in this scope
PQt.C:25: syntax error before `,' token
PQt.C: In function `void QApplication_new(...)':
PQt.C:32: `interp' undeclared (first use this function)
PQt.C:32: (Each undeclared identifier is reported only once for each
function
it appears in.)
PQt.C: At global scope:
PQt.C:36: syntax error before `,' token
PQt.C: In function `void QApplication_exec(...)':
PQt.C:37: `object' undeclared (first use this function)
PQt.C: At global scope:
PQt.C:40: syntax error before `,' token
PQt.C: In function `void QApplication_setMainWidget(...)':
PQt.C:41: `PXS_shiftp' cannot be used as a function
PQt.C: At global scope:
PQt.C:50: syntax error before `,' token
PQt.C: In function `void QLabel_new(...)':
PQt.C:51: `PXS_shiftcs' cannot be used as a function
PQt.C: At global scope:
PQt.C:57: syntax error before `,' token
PQt.C:61: syntax error before `,' token
PQt.C: In function `void QLabel_resize(...)':
PQt.C:62: `PXS_shifti' cannot be used as a function
PQt.C:63: `PXS_shifti' cannot be used as a function
Could somebody give me any 1 or more of the following? ;-)
1) compilation tips for PQt.C
2) alternate pxs examples
3) docs for pxs
4) a swift kick in the pants saying: don't do A, do B
-Tupshin
- Re: pxs help Tupshin Harper
- Re: pxs help Leopold Toetsch
- Re: pxs help Tupshin Harper
- RE: pxs help Brent Dax
- Re: pxs help Melvin Smith