I tried to compile a simple mental ray shader using Dev C++ 4, no compile problem found but the Linker always give me an error message like : undefined reference to `mi_sample_light` etc.
I had link all the .h files needed but it still got this problem...?? what's wrong with that?
Even I tried to compile the sample shader like baselambert.c and it still got this error, can anyone help me??
Thanks in advance