I wrote some little programs which was programmed with Renderman C-binding.
They really works while I built them with Prman 3.9 Libraries.
But today I tried to build them with Prman 10 Libraries, the program didn't work correctly.
In before, it generated an RIB file or display the code.But now it does nothing...
The souce code of one simple program:
_____________________________________________
RtColor cs = {1,0,0};
RiBegin("test.rib");
RiDisplay("test.iff","mayaiff","rgbaz",RI_NULL);
RiFormat((RtInt) 640, (RtInt) 480, -1.0);
RiShadingRate(1.0);
RiProjection("perspective", RI_NULL);
RiRotate(45,1,0,0);
RiWorldBegin();
RiSurface("test","color ss",cs, RI_NULL);
RiPolygon( (RtInt) 4, RI_P, (RtPointer) Square, RI_NULL);
RiWorldEnd();
RiEnd(); /* Clean up */
____________________
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
librib.lib(uuid.o) : error LNK2001: unresolved external symbol __imp__gethostbyname@4
librib.lib(uuid.o) : error LNK2001: unresolved external symbol __imp__gethostname@8
librib.lib(uuid.o) : error LNK2001: unresolved external symbol _Netbios@4
The error message is above.