HISE Logo Forum
    • Categories
    • Register
    • Login

    Lexical or Preprocessor Issue - "ipp.h" file not found

    Scheduled Pinned Locked Moved General Questions
    22 Posts 5 Posters 1.9k 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.
    • M
      Maichol
      last edited by Maichol

      Hi,

      I'm having troubles building HISE on Mac. This is what I did (I followed @d-healey's tutorial):

      • I installed Catalina because the latest version of Intel IPP (I created a Time Machine Backup with Mojave, just in case);
      • I installed the new version of Xcode (then I tried with the v11.13 and the v10.3.. same problem);
      • I downloaded the SDK files and placed them in the right folder (tools/SDK);
      • I installed the latest version of Intel IPP (not all the Intel oneAPI Base Toolkit, but just the Intel Performance Primitives);
      • I opened Projucer and then the HISE Standalone.jucer project;
      • I changed the OS X Architecture to 64-bit Intel;
      • I clicked "Save Project and Open in IDE" and then "Build for Running".

      Now it's when I got the problem: Lexical or Preprocessor Issue - "ipp.h" file not found

      I read many similar threads on the Forum but unfortunately I didn't find the right solution for me. I thought it wasn't finding the IPP, even if the paths seemed correct, so I tried to move them around with no success (sometimes even with more errors).

      The paths are:

      • Header search paths: /opt/intel/ipp/include
      • Extra library search paths: /opt/intel/ipp/lib

      Thanks in advance to anyone who can help me out! (also thanks @d-healey for the great tutorials, about Kontakt too!)

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

        Build without IPP, it seems the latest version is currently unusable with HISE

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

        M B 2 Replies Last reply Reply Quote 0
        • M
          Maichol @d.healey
          last edited by Maichol

          @d-healey Thanks! I thought that was the problem.

          In the meantime I found an old version of IPP uploaded by @DanH which made my day! Not errore anymore! I hope @DanH will allow me to share the link here in case someone else will have the same problem: https://www.dropbox.com/sh/4gx74wg1jpfnk7r/AACkGmy8SdV-j0qsiw5VFYFza?dl=0

          Y 1 Reply Last reply Reply Quote 1
          • Y
            yall @Maichol
            last edited by

            @Maichol with Catalina you have to move folders from / opt / intel / ipp and it will work.

            M 1 Reply Last reply Reply Quote 0
            • M
              Maichol @yall
              last edited by

              @yall do you mean that the paths should be?:

              • Header search paths: /opt/intel/ipp
              • Extra library search paths: /opt/intel/ipp

              So you're using Catalina, the v12.4 Xcode and the latest IPP?

              1 Reply Last reply Reply Quote 0
              • Y
                yall
                last edited by

                @Maichol I just read that you downloaded the latest version of ipp as a first step. I had encountered the same problem as you at the beginning.
                in fact, when you go to projucer in the export module it seems to me, you have all the paths which correspond to ipp either / opt / intel / ....
                if you check these paths in your mac having downloaded the latest version of IPP, you would not get the same paths. that's why you have to move the folders to / opt / intel .... I'm writing this from memory I don't have my mac handy to check. but try looking at the paths in projucer, then check in mac search if the paths match. older versions of IPP went straight to the right place, but the newer version hides in another folder.

                M 1 Reply Last reply Reply Quote 0
                • Y
                  yall
                  last edited by

                  @Maichol i am using catalina and xcode 11.3 i believe. (I only use mac to export my plugins created under windows which is much faster ^^)
                  I did not manage to compile with xcode 12.2

                  1 Reply Last reply Reply Quote 0
                  • M
                    Maichol @yall
                    last edited by

                    @yall Ok, I think now I get what you mean. The path in my Mac was something like "/opt/intel/2021.1/ipp" (I'm writing this from memory too since I installed the old version of IPP and everything works now) and I tried to change the path in Projucer with this one but it didn't work. Maybe I should have done the opposite like you said, moving the ipp folder directly into the intel folder to match the path of my Mac to the one in Projucer (if I understood right).

                    Anyway, now it's working with the old IPP, do you think it would be better to have the latest version? or it's the same?

                    Thanks for your time!

                    Y d.healeyD 2 Replies Last reply Reply Quote 0
                    • Y
                      yall @Maichol
                      last edited by

                      @Maichol I do not know. I suppose the more recent the better ^^ if you have a 1980 ipp version, the 2019 will necessarily be better ^^

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

                        @Maichol Yes you have to do the opposite and move the folders, leaving the path in Projucer as is. This will get HISE to compile but I think compiling plugins will still fail (certainly does on Windows). Stick with the old version until someone finds a solution.

                        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 @yall
                          last edited by d.healey

                          @yall said in Lexical or Preprocessor Issue - "ipp.h" file not found:

                          if you have a 1980 ipp version, the 2019 will necessarily be better ^^

                          I prefer 1933 King Kong to 2005 King Kong. Newer is not always better :p

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

                          M 1 Reply Last reply Reply Quote 0
                          • Y
                            yall
                            last edited by

                            @d-healey It's true, let's take the example of polar bears, it was better before ^^

                            1 Reply Last reply Reply Quote 2
                            • M
                              Maichol @d.healey
                              last edited by

                              @d-healey said in Lexical or Preprocessor Issue - "ipp.h" file not found:

                              I prefer 1933 King Kong to 2005 King Kong. Newer is not always better :p

                              Good point!ahah

                              Just for the science I tried 2020 IPP with 12.4 Xcode and it doesn't work. So I think I'll stick with this IPP but with an older Xcode since it was working before.

                              1 Reply Last reply Reply Quote 0
                              • B
                                benosterhouse @d.healey
                                last edited by

                                @d-healey
                                Hi David, I'm attempting to build Hise without IPP on Mojave.
                                I just downloaded the scriptnode branch, and without changing anything, the jucer file looks like this:
                                Screen Shot 2021-06-10 at 8.53.52 PM.png

                                USE_IPP=0 looks like what I want.
                                When I try to build in Xcode I get this though:
                                Screen Shot 2021-06-10 at 8.57.47 PM.png

                                Perhaps IPP needs to be turned off somewhere else...
                                I know that in the hi_core there's an IPP option, and I see that it's enabled there actually!
                                Screen Shot 2021-06-10 at 8.59.35 PM.png

                                When I tried disabling IPP here I got the same error messages.
                                I wonder if there may be somewhere else where I need to disable IPP?

                                1 Reply Last reply Reply Quote 0
                                • MikeBM
                                  MikeB
                                  last edited by MikeB

                                  @benosterhouse I also have HISE running on a Mac under Mojave - Took me a while to figure it out :-)

                                  I see you have selected "Xcode (iOS)" in the Projucer - is that intentional?

                                  "One hour of trial and error can save 10 minutes of reading the manual."
                                  "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                  HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                  1 Reply Last reply Reply Quote 0
                                  • MikeBM
                                    MikeB
                                    last edited by MikeB

                                    @benosterhouse Here my Settings - without ipp - Maybe it helps
                                    Mojave 10.14.6
                                    Projucer 5.4.5
                                    Xcode 10.3

                                    Bildschirmfoto 2021-06-11 um 04.16.24.png

                                    Bildschirmfoto 2021-06-11 um 04.16.36.png

                                    Bildschirmfoto 2021-06-11 um 04.16.46.png

                                    Bildschirmfoto 2021-06-11 um 04.17.02.png

                                    "One hour of trial and error can save 10 minutes of reading the manual."
                                    "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                    HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                    1 Reply Last reply Reply Quote 1
                                    • B
                                      benosterhouse
                                      last edited by

                                      No that was not intentional. Thank you, trying this now...

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        benosterhouse
                                        last edited by

                                        Ok, it finished building, and it worked on the first try with those settings!
                                        Thanks again 😃

                                        1 Reply Last reply Reply Quote 1
                                        • MikeBM
                                          MikeB
                                          last edited by MikeB

                                          @benosterhouse You are welcome
                                          I bought your Sospiro Strings last year - very nice
                                          Now Hise - no more Kontakt?

                                          "One hour of trial and error can save 10 minutes of reading the manual."
                                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            benosterhouse
                                            last edited by

                                            Glad to hear it :thumbs_up: I'm still working in Kontakt of course, but am considering the benefits of hise for future projects.

                                            I was thinking of putting out a vst version of Sospiro alongside the kontakt version, and seeing how many people get the kontakt version vs. the vst.

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

                                            12

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts