HISE Logo Forum
    • Categories
    • Register
    • Login

    'snex::Types::SpanOperators<float *>::assign' is not a valid template type argument for parameter '_Ty2'

    Scheduled Pinned Locked Moved Bug Reports
    8 Posts 4 Posters 438 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dan KorneffD
      Dan Korneff
      last edited by

      I'm getting some errors when trying to compile the latest commit. Not sure if it's HISE or the new update from VS2022 :/

      @Christoph-Hart

      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,23): error C2923: 'std::is_same': 'snex::Types::SpanOperators<float *>::assign' is not a valid template type argument for parameter '_Ty2'
      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,57): error C2275: 'snex::Types::SpanOperators<float *>::assign': expected an expression instead of a type
      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2641: cannot deduce template arguments for 'std::is_same'
      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2783: 'std::is_same<_Ty1,_Ty2> std::is_same(void)': could not deduce template argument for '_Ty1'
      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2783: 'std::is_same<_Ty1,_Ty2> std::is_same(void)': could not deduce template argument for '_Ty2'
      1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2780: 'std::is_same<_Ty1,_Ty2> std::is_same(std::is_same<_Ty1,_Ty2>)': expects 1 arguments - 0 provided
      

      Dan Korneff - Producer / Mixer / Audio Nerd

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Dan Korneff
        last edited by

        @Dan-Korneff HISE builds fine here. Which VS are you using?

        Dan KorneffD 2 Replies Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @Christoph Hart
          last edited by

          @Christoph-Hart latest update of VS2022

          Dan Korneff - Producer / Mixer / Audio Nerd

          1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @Christoph Hart
            last edited by

            @Christoph-Hart Here's the VS details:

            Microsoft Visual Studio Community 2022
            Version 17.10.0
            VisualStudio.17.Release/17.10.0+34916.146
            Microsoft .NET Framework
            Version 4.8.09032

            Installed Version: Community

            Visual C++ 2022 00482-90000-00000-AA042
            Microsoft Visual C++ 2022

            ASP.NET and Web Tools 17.10.338.1105
            ASP.NET and Web Tools

            Azure App Service Tools v3.0.0 17.10.338.1105
            Azure App Service Tools v3.0.0

            C# Tools 4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
            C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

            GitHub Copilot 0.2.889.30432
            GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

            Intel Libraries for oneAPI Package ID: w_oneAPI_2022.2.1.14974
            Intel Libraries for oneAPI – toolkit version: 2022.3.1, extension version 22.0.0.17, Package ID: w_oneAPI_2022.2.1.14974, Copyright © 2019-2022 Intel Corporation. All rights reserved.

            • Other names and brands may be claimed as the property of others.

            Microsoft JVM Debugger 1.0
            Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

            NuGet Package Manager 6.10.0
            NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

            PACE Fusion 1.0
            PACE Fusion for Visual Studio

            Test Adapter for Boost.Test 1.0
            Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.

            Test Adapter for Google Test 1.0
            Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

            TypeScript Tools 17.0.30327.2001
            TypeScript Tools for Microsoft Visual Studio

            Visual Basic Tools 4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
            Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

            Visual F# Tools 17.10.0-beta.24228.1+dd749058c91585e9b5dae62b0f8df892429ee28f
            Microsoft Visual F# Tools

            Visual Studio IntelliCode 2.2
            AI-assisted development for Visual Studio.

            Dan Korneff - Producer / Mixer / Audio Nerd

            O 1 Reply Last reply Reply Quote 0
            • O
              Orvillain @Dan Korneff
              last edited by

              @Dan-Korneff

              I've compiled the latest develop commit here.

              K 1 Reply Last reply Reply Quote 0
              • K
                kameron @Orvillain
                last edited by

                @Orvillain what version of Visual Studio are you using? I just updated to the latest VS2022 and I am getting the same errors

                Christoph HartC O 2 Replies Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @kameron
                  last edited by

                  yup it was indeed the latest VS Studio update that caused this compilation error. Should be fixed now.

                  1 Reply Last reply Reply Quote 2
                  • O
                    Orvillain @kameron
                    last edited by

                    @kameron Not the latest as it turns out :beaming_face_with_smiling_eyes:

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    46

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.8k

                    Posts