Re: Including rlib in my own program fails to compile
Bob Doan <[email protected]> Tue, 19 Jul 2005 12:10:42 -0400
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
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ó: > > You need to compile w/ the correct cflags > > > > so include this: `pkg-config --cflags --libs rlib` > > > > - bob > > > > I use CodeForge for development, and I included your suggestion. The results > are the same. The offending line is: > > gpointer private; > > And the message is: > > /usr/include/rlib/rlib.h:740: error: declaration does not declare anything > /usr/include/rlib/rlib.h:740: error: syntax error before `private' > /usr/include/rlib/rlib.h:750: error: syntax error before `private' > > /usr/include/rlib/rlib_input.h:41: error: declaration does not declare > anything > /usr/include/rlib/rlib_input.h:41: error: syntax error before `private' > > My program is a C++ program, but have not had any problems with other > libraries, ie: MySQL C API. > > Thank you. > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click