HISE Logo Forum
    • Categories
    • Register
    • Login

    Intel Performance Primitives

    Scheduled Pinned Locked Moved General Questions
    36 Posts 2 Posters 861 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.
    • Adam_GA
      Adam_G
      last edited by Adam_G

      now im getting C1083: Cannot open in
      clude file: 'ippcore.h': No such file or directory during the vst compile process

      1 Reply Last reply Reply Quote 0
      • Adam_GA
        Adam_G
        last edited by Adam_G

        pretty sure i need it, im drawing fft and getting some static. should i try an older hise version?

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Adam_G
          last edited by

          @Adam_G said in Intel Performance Primitives:

          should i try an older hise version?

          Only if you're not using anything in your project that is in a more recent version.

          I think it would be better to try to solve the real problem though.

          From what you described above it's possible you have more than one version of IPP on your system, that's likely to cause problems. I'd clear off everything and start fresh with the OneAPI. Also try different options in Projucer, I'm not sure static linking is the option that's needed.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Adam_GA 1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G @d.healey
            last edited by

            @d-healey okay thanks for the guidance ill try it a couple different things

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by

              I've just tried building with the latest oneAPI version and I'm running into the same errors as you...

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by d.healey

                Ok I solved it, looks like Intel moved their paths again or something.

                Add this in Header Search Paths: C:\Program Files (x86)\Intel\oneAPI\ipp\latest\include\ipp
                and this in Extra Library Search Paths: C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                Adam_GA 1 Reply Last reply Reply Quote 0
                • Adam_GA
                  Adam_G @d.healey
                  last edited by Adam_G

                  @d-healey said in Intel Performance Primitives:

                  C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib

                  thanks! that let me compile hise with oneapi default linking but im still getting error C1083: Cannot open include file: 'ipp.h': No such file or directory when i try compiling a vst with ipp :(

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Adam_G
                    last edited by

                    @Adam_G Possible it needs to be added here too, in which case I don't think this is a good solution and I have an idea for another which I'll investigate now

                    61bfa8e2-92f7-41b2-8142-616d39e81440-image.png

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey
                      last edited by d.healey

                      Ok I think I solved it, it's an issue with the IPP integration with VS

                      In Visual Studio:
                      Go to Tools > Options > Intel Compilers and Libraries
                      Next to Intel IPP, change the selected library to Intel Integrated Performance Primitives 2022.1 (or whatever version you have)

                      Let me know if it works...

                      Nope that didn't do it :(

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      Adam_GA 1 Reply Last reply Reply Quote 0
                      • Adam_GA
                        Adam_G @d.healey
                        last edited by Adam_G

                        @d-healey a brain bender! following along ive tried all the above. ive also tried including the paths in the Additional Include Directories in the project properties (Project -> [project name] Properties, under C/C++ | General). but ho change

                        1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey
                          last edited by d.healey

                          @Christoph-Hart @Adam_G I've found the root cause of the issue I think...

                          There are a few places like this in the source code

                          #if IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10
                          #include <ipp/ippcore.h>
                          #include <ipp/ipps.h>
                          #else
                           #include <ippcore.h>
                           #include <ipps.h>
                          #endif
                           #define JUCE_IPP_AVAILABLE 1
                          #endif
                          

                          And the version check is not working. IPP_VERSION_MAJOR has been set correctly to 2022 but the minor version is only 1 so it's going to the else and looking for ippcore.h instead of ipp/ippcore.h

                          If I replace the paths then it "seems" to work.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          Adam_GA 1 Reply Last reply Reply Quote 0
                          • Adam_GA
                            Adam_G @d.healey
                            last edited by

                            @d-healey ahhhh wow that was very impressive detective work! 😦 😁

                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Adam_G
                              last edited by d.healey

                              @Adam_G said in Intel Performance Primitives:

                              wow that was very impressive detective work!

                              I just clicked the error message in visual studio ;)

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              Adam_GA 1 Reply Last reply Reply Quote 0
                              • Adam_GA
                                Adam_G @d.healey
                                last edited by

                                @d-healey im watching a master at work 😂

                                1 Reply Last reply Reply Quote 1
                                • d.healeyD
                                  d.healey
                                  last edited by d.healey

                                  @d-healey said in Intel Performance Primitives:

                                  #if IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10

                                  Looks like this was Christoph's attempt to support newer versions of IPP. @Christoph-Hart Please fix :D

                                  My suggested fix

                                  #if (IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10) || IPP_VERSION_MAJOR >= 2022

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  1 Reply Last reply Reply Quote 0
                                  • Adam_GA
                                    Adam_G
                                    last edited by Adam_G

                                    could you point me where to edit oh wise one @d-healey

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @Adam_G
                                      last edited by d.healey

                                      @Adam_G When building HISE just click each error message and it will jump you to the relevant spots in the source code. There were only 3 I think.

                                      I'll try my suggested fix tomorrow, if Christoph doesn't get there first, and make a pull request.

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      Adam_GA 1 Reply Last reply Reply Quote 0
                                      • Adam_GA
                                        Adam_G @d.healey
                                        last edited by

                                        @d-healey thank you 🙇

                                        1 Reply Last reply Reply Quote 0
                                        • d.healeyD
                                          d.healey
                                          last edited by

                                          Yeah that worked, here's the PR

                                          Libre Wave - Freedom respecting instruments and effects
                                          My Patreon - HISE tutorials
                                          YouTube Channel - Public HISE tutorials

                                          Adam_GA 1 Reply Last reply Reply Quote 1
                                          • Adam_GA
                                            Adam_G @d.healey
                                            last edited by

                                            @d-healey hey do you know if this was ever merged, or how can i download your edit? id really like to get ipp added

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts