Unresolved External

Hello!
I've got some strange problem: there is a function in cpp file

GLMmodel*
glmReadOBJ(char* filename)
{
...
}

and it's defined in header as this:

GLMmodel*
glmReadOBJ(char* filename);

I call it from other function in other cpp file in the same project like this:

GLMmodel* model = glmReadOBJ("file.ext");

but get unresolved external.

Can't figure out what is wrong.
Any king of help is appreciated :)
Got this both in code::blocks+MinGW and MSVC Express Edition 2008.
Got the problem solved: the function implementation was in .c file, not in .cpp. Change of extension solved that all.

Thanks to anyone who've read this :)
Topic archived. No new replies allowed.