Re: Including rlib in my own program fails to compile
Alfredo Cole <[email protected]> Tue, 19 Jul 2005 09:49:12 -0600
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Organization | Grupo ACyC |
| Message-ID | <[email protected]> |
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. -- Alfredo J. Cole Grupo ACyC ------------------------------------------------------- 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