Missing SWT [message #1721486] |
Wed, 27 January 2016 18:35 |
Dennis Merritt Messages: 10 Registered: March 2010 |
Junior Member |
|
|
Around 2012 I was successfully building my RCP IDE, maybe with 3.7.1, but when I tried again recently I received errors about missing SWT files. Even though, I'm sure, nothing has changed. So I decided to move to a more current Eclipse and start from there, and am now using 4.5.1.
I get the same errors. There is one each for my three major sub-projects, all similar to this:
The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.swt.graphics.Image. Fix the build path then try building this project
The downloaded release claims to have SWT included, so does anyone know what I need to fix this?
Disclaimer, I'm not the person who developed this RCP project, so I'm a bit naive about what is necessary for it.
Thanks in advance,
--Dennis
[Updated on: Wed, 27 January 2016 18:35] Report message to a moderator
|
|
|
|
Re: Missing SWT [message #1721630 is a reply to message #1721522] |
Thu, 28 January 2016 17:53 |
Dennis Merritt Messages: 10 Registered: March 2010 |
Junior Member |
|
|
This is turning into a travelog. Further digging got me to the manifest issue, and after installing the compatibility software I was able to generate manifest files for the affect projects, and find myself almost back at the beginning again. It seems everything is building OK except for lines of code requiring SWT. For example in one of my Java modules:
MessageDialog.openError(...) is flagged with the error that org.eclipse.swt.widgets.Shell cannot be resolved. It is indirectly referenced for required .class file.
I'll continue to dig, but if anyone has words of wisdom for me...
[Updated on: Thu, 28 January 2016 17:54] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03095 seconds