[Request]Ini library

Can someone recomend a good .ini file parser library?
Tried this (http://rudeserver.com/config/api.html) but it doesn't compile with g++...
[148 byte] By [gecka] at [2007-11-20 0:59:57]
# 1 Re: [Request]Ini library
Take a look at this ( http://www.dev-archive.com/cpp/data/data-misc/inifiles/article.php/c11811/)
Ejaz at 2007-11-9 13:24:18 >
# 2 Re: [Request]Ini library
maybe anything else?.. or maybe someone can help me to compile "Rude config" (see first post) on g++? I get linker errors "undefined reference to...".
I have included library file, and the header too... Here's the header(I removed comments):

#ifndef INCLUDED_CONFIG_H
#define INCLUDED_CONFIG_H

namespace rude{

namespace config{
class ConfigImpl;
}

class Config{
rude::config::ConfigImpl *d_implementation;

public:

Config();

static const char *version();

void setConfigFile(const char *filepath);

void preserveDeletedData(bool shouldPreserve);

void setCommentCharacter(char commentchar);

void setDelimiter(char kayvaluedelimiter);

bool save();

bool save(const char *filepath);

void clear();

bool load();

bool load(const char *filename);

const char *getError();

int getNumSections() const;

bool setSection(const char *sectionname, bool shouldCreate);

bool setSection(const char *sectionname);

bool deleteSection(const char *sectionname);

int getNumDataMembers() const;

const char *getDataNameAt(int index) const;
bool exists(const char *name) const;

bool getBoolValue(const char *name) const;
int getIntValue(const char *name) const;

double getDoubleValue(const char *name) const;

const char * getStringValue(const char *name) const;

void setBoolValue(const char *name, bool value);

void setDoubleValue(const char *name, double value);

bool deleteData(const char *name);

~Config();

};

} // end namespace rude

#endif

library is called "rudeconfig.lib"

Do you see anything unusual?
Thanks for help.
gecka at 2007-11-9 13:25:18 >
# 3 Re: [Request]Ini library
That header looks fine. What errors are you getting?

Viggy
MrViggy at 2007-11-9 13:26:13 >
# 4 Re: [Request]Ini library
Thanks for your answer Viggy. The errors I get are "undefined reference to rude::Config::load()" and the same error goes for all other functions of this class... It seems that g++ can't load the library file... Also, there are four versions of this library, two of them are for linux, one for Borland compiler and one for VC++. I've tried all of them, I still get the same error.

Edit: Nevermind, I downloaded the source code and compiled it as a rudeconf.a static library file. It seems that g++ cannot load .lib files, or I do it wrong.
gecka at 2007-11-9 13:27:17 >