Forum
    • Categories
    • Register
    • Login

    Invalid use of incomplete type vSIMDType

    Scheduled Pinned Locked Moved Bug Reports
    18 Posts 4 Posters 831 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.
    • Christoph HartC
      Christoph Hart @David Healey
      last edited by

      @d-healey the avx flag?

      David HealeyD 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @Christoph Hart
        last edited by David Healey

        @Christoph-Hart That wasn't changed in the commit. Also looks like that's just a Windows flag.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 0
        • David HealeyD David Healey referenced this topic
        • David HealeyD
          David Healey @Christoph Hart
          last edited by

          @Christoph-Hart Bump bump

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          1 Reply Last reply Reply Quote 0
          • iamlampreyI
            iamlamprey
            last edited by

            just began my linux HISE journey and also getting this error on a clean install 🙂

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @iamlamprey
              last edited by

              @iamlamprey Yeah I'm not sure what's causing it because it works on my fork and I've merged all of Christoph's changes. I need to do a diff and see if I can find the source of the issue but I don't have time at the moment.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              iamlampreyI 1 Reply Last reply Reply Quote 0
              • iamlampreyI
                iamlamprey @David Healey
                last edited by

                @d-healey Clanker found it for me:

                HISE/hi_streaming/hi_streaming/MonolithAudioFormat.cpp

                juce::AudioFormatReader* HlacMonolithInfo::createUserInterfaceReader(int sampleIndex, int channelIndex, int64 realSampleLength)
                {
                	if (isPositiveAndBelow(sampleIndex, sampleInfo.size()))
                	{
                		const auto& info = sampleInfo[sampleIndex];
                
                		const int64 start = info.start;
                
                		// replace this (line 370):
                		const int64 length = jmin<int64>(realSampleLength, info.length);
                
                		// with this:
                		const int64 length = std::min<int64>(realSampleLength, info.length);
                
                		// or this:
                		const int64 length = jmin((int64) realSampleLength, (int64) info.length);
                
                		// rest of function
                	}
                }
                

                @Christoph-Hart Simple fix above, not sure which version is better but the std::min one works for the latest Ubuntu LTS

                David HealeyD 2 Replies Last reply Reply Quote 0
                • David HealeyD
                  David Healey @iamlamprey
                  last edited by

                  @iamlamprey said in Invalid use of incomplete type vSIMDType:

                  Clanker

                  What this?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  iamlampreyI 1 Reply Last reply Reply Quote 0
                  • iamlampreyI
                    iamlamprey @David Healey
                    last edited by

                    @d-healey chatGPT lol

                    1 Reply Last reply Reply Quote 1
                    • David HealeyD
                      David Healey @iamlamprey
                      last edited by

                      @iamlamprey said in Invalid use of incomplete type vSIMDType:

                      Clanker found it for me:

                      I think it's lying to you again. This is the line in my fork and it compiles without issue

                      https://github.com/davidhealey/HISE/blob/development/hi_streaming/hi_streaming/MonolithAudioFormat.cpp#L371

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      iamlampreyI OrvillainO 2 Replies Last reply Reply Quote 0
                      • iamlampreyI
                        iamlamprey @David Healey
                        last edited by

                        @d-healey I'm not sure if it's lying necessarily, more likely there's multiple ways to skin a cat

                        Either way it worked on my end, tested on Ubuntu LTS and the latest Mint

                        1 Reply Last reply Reply Quote 0
                        • OrvillainO
                          Orvillain @David Healey
                          last edited by

                          @d-healey I think this is a Linux compiler thing. On Linux int64_t is defined as long int - whereas Windows and Mac it is defined as long long int.

                          The compiler is throwing a wobbly because of that.

                          I think.

                          Musician - Instrument Designer - Sonic Architect - Creative Product Owner
                          Crafting sound at every level. From strings to signal paths, samples to systems.

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @Orvillain
                            last edited by

                            @Orvillain said in Invalid use of incomplete type vSIMDType:

                            I think this is a Linux compiler thing.

                            Linux user here

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

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

                            29

                            Online

                            2.1k

                            Users

                            13.0k

                            Topics

                            112.4k

                            Posts