[flext] Building Flext on Windows... anyone got it working?
Jamie Bullock
jamie at jamiebullock.com
Thu May 11 00:03:14 CEST 2017
Thanks Thomas for the quick reply.
Compiling with MSYS, I get a bit further, but it fails with:
g++ -c -O3 -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD -D_WIN32_WINNT=0x500 -I pd-msvc/release-single -I"/c/Program Files (x86)/Pd"\src -I"/c/Program Files (x86)/Pd"/src -I"/c/Program Files (x86)/Pd"/include -I"/c/Program Files (x86)/Pd"/include/pd -I"/c/Program Files (x86)/Pd"\flext\source\lockfree source/fltimer.cpp -o pd-msvc/release-single/fltimer.opp
source/fltimer.cpp: In function 'double getstarttime()':
source/fltimer.cpp:51:41: error: 'TimerVars' is not a template
if(QueryPerformanceFrequency(&frq)) TimerVars<>::perffrq = (double)frq.QuadPart;
^
source/fltimer.cpp:51:62: error: qualified-id in declaration before '=' token
if(QueryPerformanceFrequency(&frq)) TimerVars<>::perffrq = (double)frq.QuadPart;
^
source/fltimer.cpp: In static member function 'static double flext_single::GetOSTime()':
source/fltimer.cpp:64:8: error: 'perffrq' was not declared in this scope
if(perffrq && QueryPerformanceCounter(&cnt))
^
source/fltimer.cpp:65:27: error: 'TimerVars' is not a template
tm = cnt.QuadPart/TimerVars<>::perffrq;
^
source/fltimer.cpp: In static member function 'static void flext_single::Sleep(double)':
source/fltimer.cpp:109:8: error: 'perffrq' was not declared in this scope
if(perffrq && QueryPerformanceCounter(&cnt)) {
^
make[1]: *** [pd-msvc/release-single/fltimer.opp] Error 1
make[1]: Leaving directory `/c/flext'
make: *** [build-release-single] Error 2
Any ideas?
> On 10 May 2017, at 22:29, Thomas Grill <gr at grrrr.org> wrote:
>
> Hi Jamie,
> i suggest to use a linux-like environment such as mingw, also providing gcc and other tools.
> I am pretty sure that the Visual Studio or whatever it is called these days has changed enough to be incompatible with the project files that some objects provide.
> best, Thomas
>
> --
> Thomas Grill
> http://grrrr.org
>
>
>
>> Am 10.05.2017 um 23:25 schrieb Jamie Bullock <jamie at jamiebullock.com>:
>>
>>
>> Hi list,
>>
>> I asked about this a few years ago and didn’t manage to get Flext building on Windows, and now I’m trying again…
>>
>> My first approach is to use nmake and the command line. This fails immediately compiling flbase with:
>>
>>> c:\flext\source\flstdc.h(24): fatal error C1083: Cannot open include file: 'cmath': No such file or directory
>>
>> Has anyone managed to compile Flext on Windows in recent years? If so, what’s the best approach? What extra steps are needed?
>>
>>
>> Jamie
>>
>> _______________________________________________
>> http://grrrr.org/ext/flext
>>
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20170510/27d90cd1/attachment.html>
More information about the flext
mailing list