Announcement

Collapse
No announcement yet.

Starting to program with VraySDK

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Starting to program with VraySDK

    Hello there people,

    So, i love to get my hands on the SDK and try to make some shaders.
    I currenty are foloowing a c++ cource. so i'm not very good in c++ yet.

    My first project would be building a sample project that is found in the samples directory of vray.
    I choose vrayblinnmtl as project to build.
    Using visual studio 2005, i load the project file and i get a message that i needs to be converted. that is okey i think.

    Second i adjust all the include and linker directory for the maxSDK and vray lib file.
    Currently i have set the max include to 2008SDK.

    Now i'm trying to build the sample.
    it says, vray60.dll cannot be found.
    My quess is that this is in older file, cause in the lib directory there is a vray90.dll.

    So i try to adjust the input files needed to build to 90 insead of 60 files.
    This has some impact, cause it's tries to build.
    But i got a couple of warning (double to float conversion). thats okey for now.
    But the things i don't get are the following errors:

    mtlshade.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall VUtils::VRenderMtl::shade(class Sha .............

    1>vrayblinnmtl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl Pb2TemplateGen..............

    1>vrayblinnmtl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static struct D........................

    So perhaps one of you guys has an idea on this ?

    Cheers
    My Homepage : http://www.pixelstudio.nl

  • #2
    I think you may also need to add vrender90.lib to the list of library files for the project.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      whoehoe that was it, okey thank you

      I hope that i can build a simple material/shader. when i succeed i will write how i did it.
      My Homepage : http://www.pixelstudio.nl

      Comment

      Working...
      X