Results 1 to 4 of 4

Thread: String Defs not found

  1. #1

    String Defs not found

    What is required to use the DOM constants such as COLLADA_ELEMENT_... ?
    #include "dom/domConstants.h"
    is included, but the lookup for these always fails in the link,
    though domConstants.cpp was in the lib build.
    I have to use the literal quoted strings from the header file.

    David

  2. #2
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    Yeah, domConstants.h. If you're using the static lib DOM, make sure you're linking in libcollada_dom.lib (or libcollada_dom_d.lib for the debug version). If you're linking to the DLL DOM, make sure you have DOM_DYNAMIC defined (more info here).

  3. #3
    Yep - using the static lib and I have an importer running loading meshes and materials. Trying to add the exporter I fiund nonme of the string defines work.

    David

  4. #4
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    So you have an importer with the string defines working? If so, you can probably figure out what's different with your exporter settings and fix it, right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •