using iniparser.h
Jack Mc Lauren
jack.mclauren at yahoo.com
Thu Dec 27 07:36:44 UTC 2012
Hi guys
Take a look to the code below :
#include <iostream>
#include <string.h>
#include <iniparser.h>
#include <dictionary.h>
using namespace std;
int main()
{
dictionary *dict = new dictionary;
dirent *dir = new dirent;
char *c;
dict = iniparser_load("/tmp/test.ini");
c = iniparser_getstring(dict,"s","w");
cin.get();
return 0;
}
I have this error :
***main.cpp:17: undefined reference to `iniparser_load'
***/main.cpp:18: undefined reference to `iniparser_getstring'
any suggestions ?
Thanks in advance ...
More information about the freebsd-questions
mailing list