Hi there, I am new here. I am trying to embed SpiderMonkey in my Visual Studio project.
I was able to successfully build the “JS Shell” and it works fine but when I include it in my Visual Studio project, I get some error regarding “Constant expressions” for some header files like “ColumnNumber.h”, “Span.h”, “jspubtd.h” etc. There are around 64 errors they are all the same for the files. expression must have a constant value
here is how my MozConfig file is set up.
Is there any guide that shows the embedding of SpiderMonkey with Visual Studio Project? I have spent a lot of time searching on YouTube if there are any tutorials but found none that can guide me to embed SpiderMonkey successfully.
I am using the hg for SpiderMonkey and I believe it is the latest one and not ESR 102. I want to try and embed the latest one. I also tried embedding the ESR102 but was not able to build the shell, because of some missing dependency.
I found a git repo that guides to embed the SpiderMonkey, but it is not working for me either.
Any help on the topic is appreciated. Thanks