<div dir="auto">I have not worked on perfecting the XML to C conversion.  I don’t even know if the XML validates.</div><div dir="auto"><br></div><div dir="auto">The point is, I can’t even get past basic compilation in VS Code or Visual Studio, not how much my serializers or XML coding sucks.</div><div dir="auto"><br></div><div dir="auto">If you go up a few folders and down,  to src/main/data, you will find the XML source.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/abox.x3d">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/abox.x3d</a></div><div dir="auto"><br></div><div dir="auto">I primarily do external SAI in my tests.  So no initialize method, etc.</div><div dir="auto"><br></div><div dir="auto">I tried to find an example with no scripting.</div><div dir="auto"><br></div><div dir="auto">I can probably find some examples that do validate, but I don’t feel like that will help with my current goals, which is compilation.</div><br></div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 31, 2022 at 7:46 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-920633714072273288WordSection1"><p class="MsoNormal">Hi John,</p><p class="MsoNormal">That is real nice, but please show me equivalent canonical xml user code for this example. </p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-920633714072273288WordSection1"><p class="MsoNormal" dir="auto"> </p></div></div><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-920633714072273288WordSection1"><p class="MsoNormal">Thanks, </p><p class="MsoNormal">Joe</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Thursday, March 31, 2022 12:54 PM<br><b>To: </b><a href="mailto:joedwil@earthlink.net" target="_blank">Joseph D Williams</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] What’s John doing? C/C++/C#</p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Here’s one I’ve been trying.   There’s at least one problem with Concretes.h/Abstracts.h (missing afxtempl.h)</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal"><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/c/net/coderextreme/data/abox.c" target="_blank">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/c/net/coderextreme/data/abox.c</a></p></div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks a bunch for your help.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">John</p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, Mar 31, 2022 at 2:48 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal" style="margin-left:4.8pt">Hi John, </p><p class="MsoNormal" style="margin-left:4.8pt">Can you show a listing of the  C file to drive the x3dsai example? </p><p class="MsoNormal" style="margin-left:4.8pt">Thanks, </p><p class="MsoNormal" style="margin-left:4.8pt">Joe</p></div></div><div><div><p class="MsoNormal" style="margin-left:4.8pt"> </p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal" style="margin-left:4.8pt"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Wednesday, March 30, 2022 3:10 PM<br><b>To: </b><a href="mailto:joedwil@earthlink.net" target="_blank">Joseph D Williams</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] What’s John doing? C/C++/C#</p></div><p class="MsoNormal" style="margin-left:4.8pt"> </p><div><p class="MsoNormal" style="margin-left:4.8pt">I used to use cl.exe on one of my projects, and it looks like VS Code may be doing something similar.  I may even be able to extract command line parameters from launch.json.</p></div><div><p class="MsoNormal" style="margin-left:4.8pt"> </p></div><div><p class="MsoNormal" style="margin-left:4.8pt">Hmm</p></div><div><p class="MsoNormal" style="margin-left:4.8pt"> </p></div><div><p class="MsoNormal" style="margin-left:4.8pt">John</p></div><div><p class="MsoNormal" style="margin-left:4.8pt"> </p><div><div><p class="MsoNormal" style="margin-left:4.8pt">On Wed, Mar 30, 2022 at 5:03 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><div><p class="MsoNormal" style="margin-left:9.6pt">My guess is I need some kind of c/c++ extension for Visual Studio.</p></div><div><p class="MsoNormal" style="margin-left:9.6pt"> </p></div><div><p class="MsoNormal" style="margin-left:9.6pt">Hmm!</p></div><div><p class="MsoNormal" style="margin-left:9.6pt"> </p><div><div><p class="MsoNormal" style="margin-left:9.6pt">On Wed, Mar 30, 2022 at 4:56 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><div><p class="MsoNormal" style="margin-left:0.2in">I’ve already tried to find it on my file system.</p></div><div><p class="MsoNormal" style="margin-left:0.2in"> </p></div><div><p class="MsoNormal" style="margin-left:0.2in">John</p></div><div><p class="MsoNormal" style="margin-left:0.2in"> </p><div><div><p class="MsoNormal" style="margin-left:0.2in">On Wed, Mar 30, 2022 at 4:53 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><div><p class="MsoNormal" style="margin-left:19.2pt">Missing afxtempl.h</p></div><div><p class="MsoNormal" style="margin-left:19.2pt"> </p></div><div><p class="MsoNormal" style="margin-left:19.2pt">I will Google, I guess.</p></div><div><p class="MsoNormal" style="margin-left:19.2pt"> </p></div><div><p class="MsoNormal" style="margin-left:19.2pt">Thanks!</p></div><div><p class="MsoNormal" style="margin-left:19.2pt"> </p></div><div><p class="MsoNormal" style="margin-left:19.2pt">John</p></div><div><p class="MsoNormal" style="margin-left:19.2pt"> </p></div><div><div><div><p class="MsoNormal" style="margin-left:19.2pt">On Wed, Mar 30, 2022 at 4:43 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal" style="margin-left:24pt">Maybe more for a C group, but what errors?</p></div></div><div><div><p class="MsoNormal" style="margin-left:24pt"> </p><p class="MsoNormal" style="margin-left:24pt"> </p><p class="MsoNormal" style="margin-left:24pt"> </p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal" style="margin-left:24pt"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Wednesday, March 30, 2022 5:58 AM<br><b>To: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] What’s John doing? C/C++/C#</p></div><p class="MsoNormal" style="margin-left:24pt"> </p><div><p class="MsoNormal" style="margin-left:24pt">I have not been able to compile a C program in VS Code or Visual Studio 2022.</p><div><p class="MsoNormal" style="margin-left:24pt"> </p></div><div><p class="MsoNormal" style="margin-left:24pt">Hmm.  Too much pain.</p></div></div><p class="MsoNormal" style="margin-left:24pt"> </p><div><div><p class="MsoNormal" style="margin-left:24pt">On Tue, Mar 29, 2022 at 4:23 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt;border-left-color:rgb(204,204,204)"><p class="MsoNormal" style="margin-left:0.4in">I believe my next step is to configure VS Code with Visual Studio C/C++/C# compilers, proceed to compile Annexes that I have, then after that, continue with examples/serializers.</p><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div><div><p class="MsoNormal" style="margin-left:0.4in">I’ll probably be stumbling through C# last, unless someone thinks it’s more important.   Help is desired.</p></div><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div><div><p class="MsoNormal" style="margin-left:0.4in">What’s limiting me at this point is my CTS and of course, I need to recover from surgery.</p></div><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div><div><p class="MsoNormal" style="margin-left:0.4in">Note that the Annexes or examples may be dependent on specific libraries, either Windows or Unity, last I checked.</p></div><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div><div><p class="MsoNormal" style="margin-left:0.4in">I’ll work towards a report on Friday.</p></div><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div><div><p class="MsoNormal" style="margin-left:0.4in">Command-line or batch compilation hints welcome!</p></div><div><p class="MsoNormal" style="margin-left:0.4in"> </p></div></blockquote></div><p class="MsoNormal" style="margin-left:0.4in">John</p></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div><p class="MsoNormal" style="margin-left:24pt"> </p></div></div></blockquote></div></div><p class="MsoNormal" style="margin-left:4.8pt"> </p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div>