Mac OS X [message #1413827] |
Fri, 29 August 2014 10:11  |
Eclipse User |
|
|
|
Hi Folks -
I wanted to try out eTrice on mac os x with GCC from the Xcode kit. I have installed the package into Kepler and the code generation step for the demos works fine. However the build fails due to missing "windows.h" header. Should I be using the POSIX build configuration?
Thanks
Paul
|
|
|
|
|
Re: Mac OS X [message #1415223 is a reply to message #1414906] |
Tue, 02 September 2014 06:50   |
Eclipse User |
|
|
|
Hi Paul,
the error messages all refer to diagrams where we previously used absolute paths.
But as soon as you open these diagrams the error is auto-fixed.
And in any case this doesn't pose problems for the code generation.
So please just ignore these errors.
-Henrik
Am 01.09.2014 um 17:19 schrieb Paul W:
> Hi Thomas -
> Thanks for the reply.
>
> I am going through the steps to start the tutorial documents. I have Eclipse Kepler Service Release 2 with the modelling tools
> build, along with CDT, and eTrice 0.4. I also have gcc, gdb, etc as a compiler on my OS X from the Xcode.
> The first problem I encounter are three errors messages after I create the library projects for the C tutorial, with the C
> runtime, modellib, eTrice C tutorials, and eTrice Trafficlight for Tutorials.
> The errors are below. All relate to "unresolved proxy" and to Graphiti.
> Any help would be appreciated.
>
> Paul
>
> ----------------------------------------------
> Description Resource Path Location Type
> The feature 'businessObjects' of
> mailto:'org.eclipse.graphiti.mm.pictograms.impl.PictogramLinkImpl@7e0ee3b0{platform:/resource/org.eclipse.etrice.modellib.c/model/diagrams/room.basic.service.timing.ATimingService.structure#//@children.0/@children.0/@link}'
> contains an unresolved proxy
> mailto:'org.eclipse.emf.ecore.impl.EObjectImpl@41d34d3{platform:/resource/org.eclipse.etrice.modellib.c/model/TimingService.room#SPPRef:ATimingService$timer}'
> room.basic.service.timing.ATimingService.structure /org.eclipse.etrice.modellib.c/model/diagrams line: 0
> /org.eclipse.etrice.modellib.c/model/diagrams/room.basic.service.timing.ATimingService.structure Xtext Check (fast)
>
> The feature 'businessObjects' of
> mailto:'org.eclipse.graphiti.mm.pictograms.impl.PictogramLinkImpl@3683d435{platform:/resource/org.eclipse.etrice.tutorials.c/model/SetupTest/diagrams/SetupTest_Model.SubSysClass1.structure#//@children.0/@children.1/@children.1/@link}'
> contains an unresolved proxy
> mailto:'org.eclipse.emf.ecore.impl.EObjectImpl@4e11295{file:/C:/entw/projekte/eTrice/repositories/FlatWorld/org.eclipse.etrice.modellib.c/model/TimingService.room#SPPRef:ATimingService$timer}'
> SetupTest_Model.SubSysClass1.structure /org.eclipse.etrice.tutorials.c/model/SetupTest/diagrams line: 0
> /org.eclipse.etrice.tutorials.c/model/SetupTest/diagrams/SetupTest_Model.SubSysClass1.structure Xtext Check (fast)
>
> The feature 'businessObjects' of
> mailto:'org.eclipse.graphiti.mm.pictograms.impl.PictogramLinkImpl@280727a6{platform:/resource/org.eclipse.etrice.tutorials.c/model/PingPong/diagrams/PingPong_Model.SubSysClass1.structure#//@children.0/@children.1/@children.1/@link}'
> contains an unresolved proxy
> mailto:'org.eclipse.emf.ecore.impl.EObjectImpl@2adddb77{file:/C:/entw/projekte/eTrice/repositories/FlatWorld/org.eclipse.etrice.modellib.c/model/TimingService.room#SPPRef:ATimingService$timer}'
> PingPong_Model.SubSysClass1.structure /org.eclipse.etrice.tutorials.c/model/PingPong/diagrams line: 0
> /org.eclipse.etrice.tutorials.c/model/PingPong/diagrams/PingPong_Model.SubSysClass1.structure Xtext
|
|
|
|
|
|
|
Re: Mac OS X [message #1418172 is a reply to message #1415784] |
Sat, 06 September 2014 13:05  |
Eclipse User |
|
|
|
Hi Paul,
in the project properties go to C/C++ Build > Settings > Binary Parsers and select "PE Windows Parser".
Then the binary will be detected.
An alternative is to create a C/C++ launch configuration manually and enter the path to the executable.
I will add this hint to our documentation and a launch configuration to the example project.
Thanks for the feed back.
Regards,
Henrik
Am 03.09.2014 um 17:50 schrieb Paul W:
> I have switched over to Windows with MinGW and tried again.
>
> With this environment I am able to get the runtime.c and modellib.c projects to compile OK. However, I can't get the tutorials to
> execute. I have compiled as MinGWDebug configuration.
>
> However there is no "Binaries" folder as indicated in the tutorial documentation. But there is a
> org.eclipse.etrice.tutorials.c.exe file in the MinGWDebug folder. However there is no Run configuration available for this exe so
> I can't run it as a local c/c++ application.
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03972 seconds