Konrad, I've tested your patch and was able to compile the sources and run the program.
To compile it I needed to install additional packages (libxml2 was already installed): libglew_dev and libmozjs185-* Then I build and run the x3d-g program with a test file from http://www.instantreality.org/downloads/. I got a bunch of log messages but the resulting .g file is empty - which probably doesn't surprise you because you concentrated on the parser side. What came to my attention: - The usage() still talks about vrml-g. (I'ts usual to use argv[0] for the program name.) - There is a #ifdef _MSC_VER input_file = strBackslash2fore(input_file); #endif in x3d-g.c. Using compiler specific switches is deprecated, although not always avoidable. However, you should use BRL-CAD methods to handle the backslashes in MS Windows file paths. It looks like you are on track :) Regards, Daniel 2015-06-28 20:30 GMT+02:00 Djimeli Konrad <djkonr...@gmail.com>: > I just want to say that FreeWRL code does not beak the BRL-CAD build process > as I was able to rework it so it depends only Libxml2 which is needed for > parsing x3d xml files and so the cmake would check for Libxml2 before trying > to compile the parser. > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > BRL-CAD Developer mailing list > brlcad-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/brlcad-devel > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel