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 ...
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to