Open GoogleCodeExporter opened 9 years ago
I've tested it on Mac OS X, but I can't get it to work with GNU make builds.
When I try to create a project using any of the clang/llvm-gcc toolchains I get
an internal error at:
org.eclipse.cdt.managedbuilder.llvm.ui.LlvmIsToolChainSupported.isSupported()
I think it does not work with the internal builder either.
Original comment by ndr...@gmail.com
on 20 Apr 2011 at 7:01
I am fairly sure the reason is same as in issue 38. The development version is
aimed for CDT 8.x.
I have created a temporary solution.
I created a new update site for CDT 7.x supported version. Feel free to test
this plug-in now and if you find any issues please write them down here.
http://petrituononen.com/llvm4eclipsecdt/update_cdt7
Original comment by petri.tuononen@gmail.com
on 21 Apr 2011 at 4:45
Thanks for the quick reply. Unfortunately, with the version from the CDT7
update site I get a java.lang.NullPointerException when I try to change the
toolchain to llvm or when I try to create a fresh project using any of the llvm
toolchains.
Original comment by ndr...@gmail.com
on 21 Apr 2011 at 2:59
Ok, I will look into it tomorrow. Thanks for letting me know. I am sorry that
it doesn't work like it should yet because currently this is mainly a one man
side project. I am trying my best to fix things in a timely manner though but
the 'stable' milestone is around December or so and hopefully integrated as a
part of CDT by then. Just hoping everything goes like planned.
Original comment by petri.tuononen@gmail.com
on 21 Apr 2011 at 3:19
I tested the plug-in successfully on Linux (Ubuntu 10.10) with Eclipse 3.6.2
(Helios) and CDT 7.0.2.
I don't have access to Mac system so all I can think of is that either LLVM
with Clang/LLVM-GCC is not installed correctly or there is something wrong with
plug-in's Mac specific toolchain definition configurations. I can ask another
developer who has a Mac if he would like to test it.
Original comment by petri.tuononen@gmail.com
on 22 Apr 2011 at 4:49
I can take a look
Original comment by markdigitalchips
on 22 Apr 2011 at 5:00
I can create a fresh project with 1.0.2.201104221620 without getting an
exception. However, if I go to the project properties, Tool chain editor,
uncheck 'Display compatible toolchains only', then select LLVM, I get
java.lang.NullPointerException
at org.eclipse.cdt.managedbuilder.internal.tcmodification.ConfigurationModification.getBuilderCompatibilityStatus(ConfigurationModification.java:101)
at org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.showErrorMessage(ToolChainEditTab.java:232)
at org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.updateData(ToolChainEditTab.java:200)
at org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.modifyToolchain(ToolChainEditTab.java:569)
at org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab.access$0(ToolChainEditTab.java:558)
at org.eclipse.cdt.managedbuilder.ui.properties.ToolChainEditTab$1.widgetSelected(ToolChainEditTab.java:111)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
...
Original comment by markdigitalchips
on 22 Apr 2011 at 7:39
That is a known bug. Similar than Issue 1. It would be great to get fixed but I
have no idea what is the reason behind that error. It is probably related to
toolchain compatibility because if you select another toolchain then the LLVM
disappears from the list.
Original comment by petri.tuononen@gmail.com
on 22 Apr 2011 at 8:07
oh btw did you manage to build and run projects?
Original comment by petri.tuononen@gmail.com
on 28 Apr 2011 at 3:14
Original issue reported on code.google.com by
petri.tuononen@gmail.com
on 2 Mar 2011 at 9:11