<div dir="ltr">I'm hoping another X3DJSAIL user can confirm this? Thanks!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 17, 2022 at 6:05 PM John W Carlson <<a href="mailto:yottzumm3@users.sourceforge.net">yottzumm3@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><hr>
<p><strong> <a href="https://sourceforge.net/p/x3d/tickets/13/" target="_blank">[tickets:#13]</a> Puzzled about X_ITE (create3000 Library)/X3DJSAIL java compilation. No setUSE or setDEF from PointLight2.java</strong></p>
<p><strong>Status:</strong> pending<br>
<strong>Milestone:</strong> X3D3<br>
<strong>Created:</strong> Tue Jan 18, 2022 12:05 AM UTC by John W Carlson<br>
<strong>Last Updated:</strong> Tue Jan 18, 2022 12:05 AM UTC<br>
<strong>Owner:</strong> John W Carlson</p>
<p>This bug is listed here in reference to X3DSAIL (but I can't see a problem with X3DJSAIL), but it has components related to Holger Seelig's X3D Library and my JavaSerializer.js in X3DJSONLD.</p>
<p><span>[ERROR]</span> C:\Users\john\X3DJSONLD\src\main\java\net\coderextreme\Library\Tests\Components\Lighting\PointLight2.java:<span>[67,42]</span> error: cannot find symbol<br>
symbol: method setDEF(String)<br>
location: class PointLight<br>
<span>[ERROR]</span> C:\Users\john\X3DJSONLD\src\main\java\net\coderextreme\Library\Tests\Components\Lighting\PointLight2.java:<span>[100,36]</span> error: cannot find symbol<br>
symbol: method setUSE(String)<br>
location: class PointLight</p>
<p>Research indicates setUSE on line 1317 and setDEF on line 1254 of PointLight.java (X3DJSAIL), so that's OK.</p>
<p>In my exported Java code, (above and below), line 67 and line 100 look like:</p>
<p>.addValue(new PointLight().setDEF("_2").setGlobal(false).setLocation(new float[] {0f,5f,0f}).setShadowMapSize("2048"))))</p>
<p>and:</p>
<p>.addChild(new PointLight().setUSE("_2"))</p>
<p>??? I will check in the full source code. Here it is: <a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/java/net/coderextreme/Library/Tests/Components/Lighting/PointLight2.java" rel="nofollow" target="_blank">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/java/net/coderextreme/Library/Tests/Components/Lighting/PointLight2.java</a></p>
<p>I am quite puzzled. I haven't tried compiling this outside of a build script. The message came from a <code>npm install</code> postinstall scripts (maven from build.sh) build of X3DJSONLD<br>
I am aware there are other problems with the build which I will attempt to address later.</p>
<hr>
<p>Sent from <a href="http://sourceforge.net" target="_blank">sourceforge.net</a> because you indicated interest in <a href="https://sourceforge.net/p/x3d/tickets/13/" target="_blank">https://sourceforge.net/p/x3d/tickets/13/</a></p>
<p>To unsubscribe from further messages, please visit <a href="https://sourceforge.net/auth/subscriptions/" target="_blank">https://sourceforge.net/auth/subscriptions/</a></p></div> <div>
<div>
</div>
</div></blockquote></div>