Compile mental ray shader using Dev C++ problem


#1

Hi, everyone

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

:sad:
Tyic


#2

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.