[flext] Problem building flext on Win10 for Max8

Thomas Grill gr at grrrr.org
Fri Jul 5 22:30:10 CEST 2019


Hi Ico,
flext is still working very well, at least for me. The inline assembly is optional for supported platforms.
It must be said that Microsoft's take on C++ compilers has always been "special" and since i don't use Windows i can't support those specialities.
I usually compile Windows externals with well-behaved MinGW under linux.

Totally unrelated but maybe of interest: A while ago the FLEXT_INLINE define has been introduced which allows to compile externals with flext inline only, that is, no linking to object files is needed.

best, Thomas


> Am 05.07.2019 um 00:58 schrieb Ivica Bukvic <ico at vt.edu>:
> 
> It also seems to me that the 64bit support is not yet there because it uses 32-bit only assembly code. Is the flext still supported and maintained?
> 
> Best,
> 
> Ico
> 
> --
> Ivica Ico Bukvic, D.M.A.
> Director, Creativity + Innovation
> Institute for Creativity, Arts, and Technology
> 
> Virginia Tech
> Creative Technologies in Music
> School of Performing Arts – 0141
> Blacksburg, VA 24061
> (540) 231-6139
> ico at vt.edu
> 
> www.icat.vt.edu
> www.performingarts.vt.edu
> l2ork.icat.vt.edu
> ico.bukvic.net
> 
> On Thu, Jul 4, 2019, 16:10 Thomas Grill <gr at grrrr.org> wrote:
> Hi Ico,
> could you try the following patch to the git version related to the flsupport.h file:
> 
> 
> diff --git a/source/flsupport.h b/source/flsupport.h
> index 4e514bd..5fced78 100644
> --- a/source/flsupport.h
> +++ b/source/flsupport.h
> @@ -113,7 +113,11 @@ public:
>      //! @}  FLEXT_S_MEMORY
>  };
> 
> -#ifndef FLEXT_USE_CMEM
> +#ifdef FLEXT_USE_CMEM
> +#define NEWTHROW
> +#define DELTHROW
> +#else
> +
>  /************************************************************************/
>  // MFC doesn't like global overloading of allocators
>  // anyway, who likes MFC
> 
> 
> 
> 
> 
> > Am 04.07.2019 um 08:02 schrieb Ivica Ico Bukvic <ico at vt.edu>:
> >
> > Thomas et al.,
> >
> > I am trying to build the flext on the latest Win10 64bit and when using Visual Studio 2017 with the 10.0.16299.0 Windows SDK and Max's 8.0.3 (latest) SDK it comes with, I get the following errors:
> >
> > Severity    Code    Description    Project    File    Line Suppression State
> > Error (active)    E0130    expected a '{'    flext C:\Users\ico\Desktop\munger1~\flext\source\flsupport.cpp    261
> > Error (active)    E0130    expected a '{'    flext C:\Users\ico\Desktop\munger1~\flext\source\flsupport.cpp    265
> > Error (active)    E0130    expected a '{'    flext C:\Users\ico\Desktop\munger1~\flext\source\flsupport.cpp    271
> > Error (active)    E0130    expected a '{'    flext C:\Users\ico\Desktop\munger1~\flext\source\flsupport.cpp    275
> > Error    C3646    'NEWTHROW': unknown override specifier flext c:\users\ico\desktop\munger1~\flext\source\flsupport.cpp    262
> > Error    C3646    'DELTHROW': unknown override specifier flext c:\users\ico\desktop\munger1~\flext\source\flsupport.cpp    266
> > Error    C3646    'NEWTHROW': unknown override specifier flext c:\users\ico\desktop\munger1~\flext\source\flsupport.cpp    272
> > Error    C3646    'DELTHROW': unknown override specifier flext c:\users\ico\desktop\munger1~\flext\source\flsupport.cpp    276
> >
> > Any ideas how to solve this?
> >
> > Best,
> >
> > Ico
> >
> > --
> > Ivica Ico Bukvic, D.M.A.
> > Director, Creativity + Innovation
> > Institute for Creativity, Arts, and Technology
> >
> > Virginia Tech
> > Creative Technologies in Music
> > School of Performing Arts – 0141
> > Blacksburg, VA 24061
> > (540) 231-6139
> > ico at vt.edu
> >
> > www.icat.vt.edu
> > www.performingarts.vt.edu
> > l2ork.icat.vt.edu
> > ico.bukvic.net
> >
> 
> --
> Thomas Grill
> http://grrrr.org
> 
> 

--
Thomas Grill
http://grrrr.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://grrrr.org/pipermail/flext/attachments/20190705/01edd1d2/attachment.sig>


More information about the flext mailing list