Hi! I'm very excited about the potential for this project. Unfortunately, I haven't been able to use it. It launches fine, but whenever I try to start a new drawing, the program dies, leaving the following output in the console:
[Fatal Error] Archimedes:1:1: Content is not allowed in prolog.
Exception in thread "Thread-13" org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:650)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:328)
at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:1303)
at org.eclipse.swt.graphics.GC.carbon_new(GC.java:163)
at org.eclipse.swt.widgets.Control.drawWidget(Control.java:655)
at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:995)
at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:349)
at org.eclipse.swt.widgets.Display.controlProc(Display.java:833)
... Then a bunch more thread exceptions, concluding with:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Applications/Archimedes/libgl-0500.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.eclipse.opengl.GL.<clinit>(GL.java:15)
at com.tarantulus.archimedes.gui.opengl.OpenGLWrapper.resize(Unknown Source)
at com.tarantulus.archimedes.gui.opengl.OpenGLWrapper.setCurrentCanvas(Unknown Source)
at com.tarantulus.archimedes.gui.swt.ProjectViewer.createCanvas(Unknown Source)
at com.tarantulus.archimedes.gui.swt.ProjectViewer.addTab(Unknown Source)
at com.tarantulus.archimedes.gui.swt.Window$10.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1267)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3295)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2928)
at com.tarantulus.archimedes.gui.swt.Window.main(Unknown Source)
Anybody know how to fix this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Nathan,
We've realized this problem not long ago.
It seems the SWT libs we are distributing are not stable with Mac OS X. If you want to try to solve the problem by yourself, try look at http://www.eclipse.org/swt
Any version of SWT for Mac OS X later or equal than 3.2 should do.
I'll try to update the libraries for the next release. The problem is I don't have a Mac OS X to test it.
If you try something, please warn me about it.
Sorry about this.
Hugo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Nathan,
well, we have absolutly no tester on Mac OS X so far (which is one of the reasons we didn't caught this problem earlier) so you are very welcome to test every version you can. :) Please feel free to make any question either here or in the user mailing list.
I've read the Aol forum discussion and added a comment to keep things clear about at what lvl we are. :) I don't want disapointed users so soon!
I've inscribed myself in the java-dev for mac list and I'll ask a few things there once I give newer versions of SWT a try. For now I hope I'll manage to buy my own Duo Core Mac which would mean I could have all O.S. to test! :)
Please remember to send me your results about the SWT versions. By the way, to replace the SWT version of your Archimedes, just download the swt file for OS X and extract *.{jnilib, jar} to Archimedes' home.
Friendly,
Hugo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the latest versions of SWT (both stable and unstable, on both Intel and PowerPC macs), and unzipped them into the Archimedes directory, as you suggested. Unfortunately, it didn't seem to change anything. Hopefully you'll find somebody on the Java-dev list who will be able to go through your source code and spot the issue. I'm seriously eager to give Archimedes a try! :-)
I'm not expecting Archimedes to be useful for architecture yet, but if you're looking for architects to give feedback on its design, I would be happy to do so. I'm an architect who has used many (perhaps most) different CAD programs, and has also studied quite a bit about human interface design. Most CAD programs, in addition to being very expensive and very far-removed from the actual architects who use them -- are also not designed very well, in my opinion. They're far too complicated, yet often not extensible enough.
One piece of software which I feel really *does* do a good job with both its interface and its backend, however, is Sketchup. A full-featured CAD program would need to do some things differently, but there are a number of Sketchup-like features that I would like to see implemented in a CAD program. Its "components" system, for example, is *vastly* easier than, and superior to, the traditional CAD symbol library techniques. Taking it further, if "components" could be given "stretch line" capabalities similar to QCad blocks, that would be a tremendously powerful feature. I've got some ideas about how this could work, interface-wise, and many other notions as well. Most of them are much less ambitious, fortunately.
Anyhow, if I can get Archimedes working on any of my computers, I'll try it out and let you know what I think. Any time you need me to try out some code of yours -- or if there's any other ways I can assist with tracking down the SWT problems -- please let me know.
Thanks,
Nathan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I'm very excited about the potential for this project. Unfortunately, I haven't been able to use it. It launches fine, but whenever I try to start a new drawing, the program dies, leaving the following output in the console:
[Fatal Error] Archimedes:1:1: Content is not allowed in prolog.
Exception in thread "Thread-13" org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:650)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:328)
at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:1303)
at org.eclipse.swt.graphics.GC.carbon_new(GC.java:163)
at org.eclipse.swt.widgets.Control.drawWidget(Control.java:655)
at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:995)
at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:349)
at org.eclipse.swt.widgets.Display.controlProc(Display.java:833)
... Then a bunch more thread exceptions, concluding with:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Applications/Archimedes/libgl-0500.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.eclipse.opengl.GL.<clinit>(GL.java:15)
at com.tarantulus.archimedes.gui.opengl.OpenGLWrapper.resize(Unknown Source)
at com.tarantulus.archimedes.gui.opengl.OpenGLWrapper.setCurrentCanvas(Unknown Source)
at com.tarantulus.archimedes.gui.swt.ProjectViewer.createCanvas(Unknown Source)
at com.tarantulus.archimedes.gui.swt.ProjectViewer.addTab(Unknown Source)
at com.tarantulus.archimedes.gui.swt.Window$10.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1267)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3295)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2928)
at com.tarantulus.archimedes.gui.swt.Window.main(Unknown Source)
Anybody know how to fix this?
Hi Nathan,
We've realized this problem not long ago.
It seems the SWT libs we are distributing are not stable with Mac OS X. If you want to try to solve the problem by yourself, try look at http://www.eclipse.org/swt
Any version of SWT for Mac OS X later or equal than 3.2 should do.
I'll try to update the libraries for the next release. The problem is I don't have a Mac OS X to test it.
If you try something, please warn me about it.
Sorry about this.
Hugo
Hi Hugo,
I'll give that a try and let you know how it works. I am happy to volunteer to do any OS X testing that you need.
Also, there's been some discussion of Archimedes over at the Art of Illusion forum:
http://sourceforge.net/forum/forum.php?thread_id=1604481&forum_id=47782
In particular, the developer of AoI recommended that you post about the problem on Apple's java-dev mailing list:
http://lists.apple.com/mailman/listinfo/java-dev
Best,
Nathan.
Hi Nathan,
well, we have absolutly no tester on Mac OS X so far (which is one of the reasons we didn't caught this problem earlier) so you are very welcome to test every version you can. :) Please feel free to make any question either here or in the user mailing list.
I've read the Aol forum discussion and added a comment to keep things clear about at what lvl we are. :) I don't want disapointed users so soon!
I've inscribed myself in the java-dev for mac list and I'll ask a few things there once I give newer versions of SWT a try. For now I hope I'll manage to buy my own Duo Core Mac which would mean I could have all O.S. to test! :)
Please remember to send me your results about the SWT versions. By the way, to replace the SWT version of your Archimedes, just download the swt file for OS X and extract *.{jnilib, jar} to Archimedes' home.
Friendly,
Hugo
Hi Hugo,
I downloaded the latest versions of SWT (both stable and unstable, on both Intel and PowerPC macs), and unzipped them into the Archimedes directory, as you suggested. Unfortunately, it didn't seem to change anything. Hopefully you'll find somebody on the Java-dev list who will be able to go through your source code and spot the issue. I'm seriously eager to give Archimedes a try! :-)
I'm not expecting Archimedes to be useful for architecture yet, but if you're looking for architects to give feedback on its design, I would be happy to do so. I'm an architect who has used many (perhaps most) different CAD programs, and has also studied quite a bit about human interface design. Most CAD programs, in addition to being very expensive and very far-removed from the actual architects who use them -- are also not designed very well, in my opinion. They're far too complicated, yet often not extensible enough.
One piece of software which I feel really *does* do a good job with both its interface and its backend, however, is Sketchup. A full-featured CAD program would need to do some things differently, but there are a number of Sketchup-like features that I would like to see implemented in a CAD program. Its "components" system, for example, is *vastly* easier than, and superior to, the traditional CAD symbol library techniques. Taking it further, if "components" could be given "stretch line" capabalities similar to QCad blocks, that would be a tremendously powerful feature. I've got some ideas about how this could work, interface-wise, and many other notions as well. Most of them are much less ambitious, fortunately.
Anyhow, if I can get Archimedes working on any of my computers, I'll try it out and let you know what I think. Any time you need me to try out some code of yours -- or if there's any other ways I can assist with tracking down the SWT problems -- please let me know.
Thanks,
Nathan.