[x3d-public] What’s John doing? C/C++/C#
John Carlson
yottzumm at gmail.com
Thu Mar 31 20:46:53 PDT 2022
I have not worked on perfecting the XML to C conversion. I don’t even know
if the XML validates.
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.
If you go up a few folders and down, to src/main/data, you will find the
XML source.
https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/abox.x3d
I primarily do external SAI in my tests. So no initialize method, etc.
I tried to find an example with no scripting.
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.
John
On Thu, Mar 31, 2022 at 7:46 PM Joseph D Williams <joedwil at earthlink.net>
wrote:
> Hi John,
>
> That is real nice, but please show me equivalent canonical xml user code
> for this example.
>
Thanks,
>
> Joe
>
>
>
>
>
> *From: *John Carlson <yottzumm at gmail.com>
> *Sent: *Thursday, March 31, 2022 12:54 PM
> *To: *Joseph D Williams <joedwil at earthlink.net>
> *Cc: *X3D Graphics public mailing list <x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] What’s John doing? C/C++/C#
>
>
>
> Here’s one I’ve been trying. There’s at least one problem with
> Concretes.h/Abstracts.h (missing afxtempl.h)
>
>
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/c/net/coderextreme/data/abox.c
>
>
>
>
>
> Thanks a bunch for your help.
>
>
>
> John
>
>
>
> On Thu, Mar 31, 2022 at 2:48 PM Joseph D Williams <joedwil at earthlink.net>
> wrote:
>
> Hi John,
>
> Can you show a listing of the C file to drive the x3dsai example?
>
> Thanks,
>
> Joe
>
>
>
> *From: *John Carlson <yottzumm at gmail.com>
> *Sent: *Wednesday, March 30, 2022 3:10 PM
> *To: *Joseph D Williams <joedwil at earthlink.net>
> *Cc: *X3D Graphics public mailing list <x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] What’s John doing? C/C++/C#
>
>
>
> 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.
>
>
>
> Hmm
>
>
>
> John
>
>
>
> On Wed, Mar 30, 2022 at 5:03 PM John Carlson <yottzumm at gmail.com> wrote:
>
> My guess is I need some kind of c/c++ extension for Visual Studio.
>
>
>
> Hmm!
>
>
>
> On Wed, Mar 30, 2022 at 4:56 PM John Carlson <yottzumm at gmail.com> wrote:
>
> I’ve already tried to find it on my file system.
>
>
>
> John
>
>
>
> On Wed, Mar 30, 2022 at 4:53 PM John Carlson <yottzumm at gmail.com> wrote:
>
> Missing afxtempl.h
>
>
>
> I will Google, I guess.
>
>
>
> Thanks!
>
>
>
> John
>
>
>
> On Wed, Mar 30, 2022 at 4:43 PM Joseph D Williams <joedwil at earthlink.net>
> wrote:
>
> Maybe more for a C group, but what errors?
>
>
>
>
>
>
>
> *From: *John Carlson <yottzumm at gmail.com>
> *Sent: *Wednesday, March 30, 2022 5:58 AM
> *To: *X3D Graphics public mailing list <x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] What’s John doing? C/C++/C#
>
>
>
> I have not been able to compile a C program in VS Code or Visual Studio
> 2022.
>
>
>
> Hmm. Too much pain.
>
>
>
> On Tue, Mar 29, 2022 at 4:23 PM John Carlson <yottzumm at gmail.com> wrote:
>
> 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.
>
>
>
> I’ll probably be stumbling through C# last, unless someone thinks it’s
> more important. Help is desired.
>
>
>
> What’s limiting me at this point is my CTS and of course, I need to
> recover from surgery.
>
>
>
> Note that the Annexes or examples may be dependent on specific libraries,
> either Windows or Unity, last I checked.
>
>
>
> I’ll work towards a report on Friday.
>
>
>
> Command-line or batch compilation hints welcome!
>
>
>
> John
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220331/88624814/attachment-0001.html>
More information about the x3d-public
mailing list