Pelles C forum

C language => User contributions => Topic started by: frankie on June 05, 2016, 11:26:52 PM

Title: PellesC port of mCtrl Version 0.11.1
Post by: frankie on June 05, 2016, 11:26:52 PM
This is the PellesC port of the controls library mCtrl Version 0.11.1.
It has been a lot of work because the sources are not such friendly. And many technique implemented in this code works for MSVC and GCC, but are not really ANSI compliant.
Don't try to compile with the option /FP:fast, as suggested by the author. The 64 bits version fails (a couple of days of debug) due to compiler bugs.
Sometimes the compilation of single parts fails, always launch a workspace rebuild  before to test the examples (I'm too bothered to investigate now on why the IDE fails).
You'll find 2 workspaces, one for 32bits and the other for 64bits. All binaries will be located in 2 folders, one for 32bits and the other for the 64bits.
You need 7Zip to decompress the project that is uploaded in 2 parts due to forum limitations.
Here the first part.

PS: I forget to add that to compile the library you need the last version of the PHE - PellesC Headers Extension (http://forum.pellesc.de/index.php?topic=6962.msg26375#msg26375)
Title: Re: PellesC port of mCtrl Version 0.11.1
Post by: frankie on June 05, 2016, 11:27:49 PM
Here the second part.
Title: Re: PellesC port of mCtrl Version 0.11.1
Post by: mity on June 10, 2016, 02:18:30 PM
Hello,

I'm the main author of mctrl. So 1st of all, thanks for your interest in it.

In general, changes improving portability to other compilers is welcome in the upstream. If you could create some patches or github pull requests they would be appreciated. Or could you at least summarize what issues you've encountered? Please keep in mind I am not user of PellesC so I'm not aware of any of its specifics or limitations.

Best regards,
Martin
Title: Re: PellesC port of mCtrl Version 0.11.1
Post by: frankie on June 10, 2016, 06:49:15 PM
Hello Martin,
Thanks for your work. It is really valuable.
I'll be honored to be of any help.
Compatibly with the small spare time I have I'll submit some work.
Best regards
Frankie