FrameLib_lookup needs AVX

Issue #48 resolved
Owen Green created an issue

To use FrameLib_Lookup in a C++ object (e.g. making a new block that aggregates other FL objects), you need to enable AVX in the build settings for that target, else there are compiler errors about missing types.

Apparently, lookup should be made to work properly in the absence of AVX, and Alex asked me to file a report, so here it is.

Comments (6)

  1. Alex Harker repo owner

    Owen, can you double-check that this is now fixed so I can close this - it seems OK at this end, but I'd appreciate someone checking somewhere else.

  2. Owen Green reporter

    It builds if I turn AVX off in the fl.lookup~ target, so I guess that's a good sign. I'll try and merge in with my branch that has all the objects in a static lib and check that later.

  3. Owen Green reporter

    Ok, if I disable AVX for the all-the-objects-in-one-static-library-target then I now get a burp in FrameLib_Convolution_Tools.h

    /Users/owen/FrameLib/FrameLib_Objects/Spectral/FrameLib_Convolution_Tools.h:160:33: No matching constructor for initialization of 'SIMDType<double, 4>'
    /Users/owen/FrameLib/FrameLib_Objects/Spectral/FrameLib_Convolution_Tools.h:196:9: No matching member function for call to 'binaryOp'
    /Users/owen/FrameLib/FrameLib_Objects/Spectral/FrameLib_Convolution_Tools.h:196:9: No matching member function for call to 'binaryOp'
    
  4. Log in to comment