Developing tools for Xgen - XGen.lib missing

Developing tools for Xgen - XGen.lib missing

Anonymous
Not applicable
484 Views
0 Replies
Message 1 of 1

Developing tools for Xgen - XGen.lib missing

Anonymous
Not applicable

Hello Everyone,

I've been trying to develop some things to get my hands on Xgen and ease its workflow. So I thought I would start by writing a command (c++) that converts the primitives to actual nurbs curve. For that, I thought I would use as a starting point the xpd2txt.cpp located in maya install/plug-ins/xgen/devkit/xpdSamples

 

So I've included on top of the basic include directory (maya install/include), the xgen include folder (maya install/plug-ins/xgen/include/xgen), I've added the relative lib folder in the library directories and specified the dependency libAdskXGen.lib .

 

Sadly, I have linker error when using the XpdReader to open my baked primitive.

1>xpdToCurves.obj : error LNK2019: unresolved external symbol "public: static class XpdReader * __cdecl XpdReader::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?open@XpdReader@@SAPEAV1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual class MStatus __cdecl xpdToCurves::doIt(class MArgList const &)"

So I thought I would dig in the few visual studio projects there is concerning xgen, but on most of them it says it can't find the XGen.lib.

 

I've been looking a bit everywhere and I can't find anything that looks like it. It seems the only library we have is the one called "libAdskXGen.lib" (well and another one but unrelated I presume)

 

Has anyone tried something similar? Am I missing something somewhere ?

 

Thank you in advance!

0 Likes
485 Views
0 Replies
Replies (0)