HISE Logo Forum
    • Categories
    • Register
    • Login

    Debug works, release fails

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 4 Posters 935 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

      Hey Guys,
      Currently debugging a project built on HISE plugin. After the latest update, the Debug version works, but release fails.
      When I compile a VST with the plugin HISE, I always get the following errors:

      1>c:\program files\hise-master\hi_core\hi_core\MainController.cpp(268): warning C4101: 'errorMessage': unreferenced local variable (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      1>c:\program files\hise-master\hi_modules\effects/fx/Analyser.cpp(411): warning C4244: 'argument': conversion from 'float' to 'int', possible loss of data (compiling source file ..\..\JuceLibraryCode\include_hi_modules.cpp)
      

      does anyone else experience this?

      I've also just installed IPP for the first time to see if that cures any issues, and I started getting a fatal error when I run Code Analysis in VS2017.

      1>..\..\Source\PresetData.cpp(229059): fatal error C1060: compiler is out of heap space
      

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 0
      • resonantR
        resonant
        last edited by resonant

        I had similar issues while migrating from VS2015 to VS2017 before.

        Did you install older Visual Studio versions before? If yes, please be sure that you've deleted all the old components before installing VS2017. It's really important for IPP. When you don't use IPP, old files doesn't important. But when IPP comes in, it causes integration problems. You need to start with a clean setup. My suggestion is;

        • First remove IPP from your computer and reinstall it (IPP 2018 update 1 works for me with VS2017) again. But when you are installing the IPP, make sure that the IPP integrates with your VS2017. You can see that on installation process, the installer says something like "integrating with Visual Studio 2017". If the IPP installer says "couldn't find Visual Studio", you will need uninstall VS2017 and install again too. When uninstalling VS2017, make sure that you removed all of the components and clean your computer from old VS versions.
        • You need to rebuild the latest HISE with IPP yes (with your latest integrated IPP)
        • And then try to recompile your project.

        This procedure worked for me.

        NOT: If you have older visual studio versions, uninstall them too, because it can cause this error too.

        Dan KorneffD 1 Reply Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff @resonant
          last edited by

          @remarkablex
          I installed VS2017 and HISE on a completely new rig.... VST compiled correctly. Although I do get the first 2 errors, the VST loads. FUKK me.... Now to figure out why it's crapping out on my main computer.

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            These "errors" are just warnings that come from sloppy coding, but shouldn't affect the functionality.

            1 Reply Last reply Reply Quote 0
            • staiffS
              staiff
              last edited by

              Yellow lines when compiling = no worry. it will work. just notice that your violin rompler will play trumpet sounds ... ;)

              Red lines = Go out immediatly and call 911 = your computer will explode ASAP :D

              ... or not ... :P

              Excuse me i'm French.

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

              18

              Online

              1.7k

              Users

              11.8k

              Topics

              102.7k

              Posts