[flext] Problem building flext on Win10 for Max8

Jamie Bullock jamie at jamiebullock.com
Sun Jul 7 21:28:40 CEST 2019


Hi Ico,

I have been successfully building flext 64-bit on Windows with Visual Studio using my fork: https://github.com/jamiebullock/flext/commits/master <https://github.com/jamiebullock/flext/commits/master>

As you can see I’ve made some changes to support 64-bit, but at present I haven’t tried building on a clean system and haven’t fully checked I haven’t broken anything (although everything seems OK so far!)

You are welcome to use my fork, but YMMV. Let me know any issues if you do use it. Can’t guarantee how quickly I could fix anything, but my plan is to submit a PR to Thomas’s upstream code at some point.

Cheers,

Jamie



> On 5 Jul 2019, at 21:30, Thomas Grill <gr at grrrr.org> wrote:
> 
> 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 <mailto: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 <mailto:ico at vt.edu>
>> 
>> www.icat.vt.edu <http://www.icat.vt.edu/>
>> www.performingarts.vt.edu <http://www.performingarts.vt.edu/>
>> l2ork.icat.vt.edu <http://l2ork.icat.vt.edu/>
>> ico.bukvic.net <http://ico.bukvic.net/>
>> 
>> On Thu, Jul 4, 2019, 16:10 Thomas Grill <gr at grrrr.org <mailto: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 <http://grrrr.org/>
> 
> 
> _______________________________________________
> https://grrrr.org/ext/flext <https://grrrr.org/ext/flext>
> 
> flext mailing list
> flext at grrrr.org <mailto:flext at grrrr.org>
> https://grrrr.org/cgi-bin/mailman/listinfo/flext <https://grrrr.org/cgi-bin/mailman/listinfo/flext>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20190707/cf34a49b/attachment-0001.html>


More information about the flext mailing list