Ok. Thanks. I'll try to figure out the buidl options...

On Thursday, February 7, 2019 at 10:13:25 AM UTC+1, Schooner wrote:
>
> Hi Boris,
>
> There is nothing to prevent the use of C++ in userspace components, 
> I do it all the time with Qt.
>
> When we were writing the multicore changes and instantiated components, 
> I originally wrote C++ instantiated components, which worked.
>
> When we re-visited them recently, I could not remember the build and 
> linkage options
> I used and was unable to get them built.  Can't remember the exact details.
> Others tried too with the same result, so maybe something changed in the 
> interim?
>
> C++ for a RT component is at best psuedo C++, because several functions 
> have to be
> declared as static to get the callback references to work
> and you have to use 'extern "C"' to link to rtapi_app_main()' and 
> 'rtapi_app_exit()'.
>
> There would be no compelling reason to use C++ in RT components, but 
> userspace ones allow 
> the full use of GUIs and other useerspace libs and are very useful.
>
> regards
>
> On 07/02/19 08:51, 'Boris Skegin' via Machinekit wrote:
>
> Hallo. 
>
> I remember there wew some plans to let C++ be used for userspace 
> components.
>
> Did I miss any updates on this theme?
>
> Thanks.
>
> Regards,
> boris
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to