From: Bob D. <bd...@si...> - 2005-07-19 16:10:53
|
Try it like this: pkg-config --cflags --libs rlib glib-2.0 On Tue, 2005-07-19 at 09:49 -0600, Alfredo Cole wrote: > El Martes, 19 de Julio de 2005 08:33, Bob Doan escribi=C3=B3: > > You need to compile w/ the correct cflags > > > > so include this: `pkg-config --cflags --libs rlib` > > > > - bob > > >=20 > I use CodeForge for development, and I included your suggestion. The re= sults=20 > are the same. The offending line is: >=20 > gpointer private; >=20 > And the message is: >=20 > /usr/include/rlib/rlib.h:740: error: declaration does not declare anyth= ing > /usr/include/rlib/rlib.h:740: error: syntax error before `private' > /usr/include/rlib/rlib.h:750: error: syntax error before `private' >=20 > /usr/include/rlib/rlib_input.h:41: error: declaration does not declare=20 > anything > /usr/include/rlib/rlib_input.h:41: error: syntax error before `private' >=20 > My program is a C++ program, but have not had any problems with other=20 > libraries, ie: MySQL C API. >=20 > Thank you. >=20 |