Hello,
I've a problem:
I wanted to make a library and use it in a program but I just got this error-messages:
POLINK: error: Unresolved external symbol '_test'.
POLINK: fatal error: 1 unresolved external(s).
This are the files:
The Header:
#ifndef TEST_H
#define TEST_H
#include <stdio.h>
int test(void);
#endif
The lib:
#include <test.h>
int test(void)
{
printf("Test\n");
return 0;
}
and at last the file which should use the lib:
#include <test.h>
#pragma comment (lib, "test.lib");
int main ()
{
test();
return 0;
}
The header and the lib are in the right folders.
The pathes to the folders (in (the) project options) are also set right.
Maybe you can help me,
Thank You