> @Sean, @Daniel I would be glad to make some progress with the X3D
> converter. I just tried compiling the X3D code without libxml and I am
> getting the following error

Glad to hear it (that you’re interested in making progress, not the error)!  :)

> In file included from
> brlcad/src/other/freewrl/src/lib/x3d_parser/X3DParser.c:52:0:
> brlcad/misc/tools/xmltools/libxml/include/libxml/parser.h:15:31: fatal
> error: libxml/xmlversion.h: No such file or directory
> #include <libxml/xmlversion.h>
>                               ^
> compilation terminated.
[snip]
> It is not able to find the libxml within the BLR-CAD source. But when
> I install libxml before compiling it, everything works fine. I would
> try to look into it and see what is happening.

That is a header error so freewrl’s x3d_parser code fails when libxml headers 
are not installed and succeeds when they are.  As Cliff noted, libxml is not 
(yet) a dependency of BRL-CAD so freewrl’s cmake logic needs to be changed.  
Actually, the entire freewrl dependency needs rethinking due to the 
aforementioned license issue.

Instead of residing in src/other/freewrl, it should move to 
src/libgcv/plugins/x3d/freewrl and we either need to make libxml a managed 
dependency in src/other (fixing its cmake build) or (for now) simply toggle 
compilation of the x3d plugin when libxml is detected during cmake.

Cheers!
Sean


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to