Joined: Sep 20, 2012
Post Count: 4
Status:
Offline
default.sh3d file not found
Hi, and thank you for your very interesting project !
I have encountered somes issues with the Eclipse run configuration (no j3dcore-ogl-chk in java.library.pat) I have finaly fixed when I write the complete path of the /lib in the VM option : -Djava.ext.dirs=C:/Users/MAF/Documents/SweetHome3D-3.6-src/lib;C:/Users/MAF/Documents/SweetHome3D-3.6-src/lib/windows/i386
But now, I'm stopped by a new problems : "impossible to open the C:/Users/MAF/Documents/SweetHome3D-3.6-src/classes/default.sh3d" ...
France
Joined: Nov 7, 2005
Post Count: 9427
Status:
Offline
Re: default.sh3d file not found
The only place where default.sh3d file is expected, is within Sweet Home 3D Viewer. Do you use that program? Did you read the README.TXT file coming with it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Sep 20, 2012
Post Count: 4
Status:
Offline
Re: default.sh3d file not found
Hi, Thank U for your response !-) Of course I reed the README.TXT ! I have followed the instructions : import the src package into an Eclipse project, then filled the VM arguments with the relative path to the lib & lib/windows/i386. And I try to launch either the 3D applet or the viewer from the run menu but it doesn't works in both case ... What do you mean by "is within Sweet Home 3D" ? From where exactly the program try to load this default file ? (I use a Java 7 JDK under Windows 7 32bits)
France
Joined: Nov 7, 2005
Post Count: 9427
Status:
Offline
Re: default.sh3d file not found
What do you mean by "is within Sweet Home 3D" ?
within "Sweet Home 3D Viewer" applet and nowhere else. It's the file name of the document this applet is trying to open by default. Why are you trying to run the applet from Eclipse?
From where exactly the program try to load this default file ?
It's in ViewerHelper class which is actually used only in Sweet Home 3D Viewer applet.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9427
Status:
Offline
Re: default.sh3d file not found
Because I would like to explore a good example of Java 3D implementation !
Then run com.eteks.sweethome3d.SweetHome3D class from eclipse. It will be easier to follow because applets with Java 3D are more complex to run than applications, as they need a customized class loader to access Java 3D DLLs.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator