HISE Logo Forum
    • Categories
    • Register
    • Login

    Win 64-bit Compile - Fatal error cannot open input file "... .lib"

    Scheduled Pinned Locked Moved Bug Reports
    25 Posts 5 Posters 2.0k 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.
    • Alex ParadisA
      Alex Paradis
      last edited by

      Just tried exporting a 32-bit version and it doesn't create any ".lib" file.

      I also these errors while compiling (any versions):

        c:\users\jera\documents\github\hise-master\hi_dsp\processor.h(968): note: see declaration of 'hise::Processor::id' (c
        ompiling source file ..\..\JuceLibraryCode\include_hi_core.cpp)
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(6): error C2039:
       'impulses': is not a member of 'PresetData' [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_
      10\Binaries\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
        c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\presetdata.h(6): note: se
        e declaration of 'PresetData'
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(6): error C2065:
       'impulses': undeclared identifier [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_10\Binarie
      s\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(6): error C2039:
       'impulsesSize': is not a member of 'PresetData' [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019
      _09_10\Binaries\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
        c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\presetdata.h(6): note: se
        e declaration of 'PresetData'
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(6): error C2065:
       'impulsesSize': undeclared identifier [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_10\Bin
      aries\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(7): error C2039:
       'images': is not a member of 'PresetData' [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_10
      \Binaries\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
        c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\presetdata.h(6): note: se
        e declaration of 'PresetData'
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(7): error C2065:
       'images': undeclared identifier [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_10\Binaries\
      Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(7): error C2039:
       'imagesSize': is not a member of 'PresetData' [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_0
      9_10\Binaries\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
        c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\presetdata.h(6): note: se
        e declaration of 'PresetData'
      c:\users\jera\documents\mntra_dev\3_master\freebie_master_export_2019_09_10\binaries\source\plugin.cpp(7): error C2065:
       'imagesSize': undeclared identifier [C:\Users\Jera\Documents\MNTRA_DEV\3_MASTER\FREEBIE_MASTER_EXPORT_2019_09_10\Binar
      ies\Builds\VisualStudio2017\EXPORT_FREEBIE_APP_2_1_App.vcxproj]
      

      Nowhere in the code it talks about the ".lib" file though.

      Lastly: Is there also a difference in using HISE x64 Debug of Release version?

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

        Yes there is a difference between debug and release. Mainly that debug doesn't include any linker optimization and is intended for debugging when developing HISE.

        Nowhere in the code it talks about the ".lib" file though.

        What code are you referring to?

        Have you managed to sucesfully compile any version (32bit or 64bit) of any HISE project?

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

        Alex ParadisA 1 Reply Last reply Reply Quote 0
        • Alex ParadisA
          Alex Paradis
          last edited by

          Nowhere in the code it talks about the ".lib" file though.

          What code are you referring to?

          Sorry about the typo. I was referring to the "code" shown in the console (cmd.exe) while compiling.

          Have you managed to sucesfully compile any version (32bit or 64bit) of any HISE project?

          Only on MacOSx for now. A few weeks ago, I had a weird error though with the sample Maps but now it is gone with the last version of the project.

          The project I am trying to export on Win was build on a Mac OS X though. Could it be a bad translation error between the two different computers? Do I have to build an Project from Scratch on Windows?

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

            Could it be a bad translation error between the two different computers? Do I have to build an Project from Scratch on Windows?

            No it should be exactly the same on both systems.

            I'm not sure what the problem is, hopefully someone more knowledgable with building on Windows will chime in to help.

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

            1 Reply Last reply Reply Quote 0
            • Alex ParadisA
              Alex Paradis @d.healey
              last edited by

              Have you managed to sucesfully compile any version (32bit or 64bit) of any HISE project?

              No, I haven't be able to succesfully compile on Windows for now (32 or 64).

              I have access to another PC this afternoon, I'll test it out.

              1 Reply Last reply Reply Quote 0
              • Alex ParadisA
                Alex Paradis
                last edited by

                I just tested on a new PC, and still de ".lib" file is not created.

                Is it because Win 10 is blocking HISE from creating a new file in the Directory?

                Does anyone else has seen that error?
                Is there a workaround on Windows for this?

                @Christoph-Hart Have you ever had that kind of weird error where the ".lib" in the binaries folder was not created on Win10?

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

                  error C2039: 'impulses': is not a member of 'PresetData' 
                  

                  That's your problem right here (and the .lib file not being created is just a consequence of the compilation error).

                  It seems that the pool files have not been exported correctly. Use this:

                  Link Preview Image
                  HISE | Docs

                  favicon

                  (docs.hise.audio)

                  then make sure that this:

                  Link Preview Image
                  HISE | Docs

                  favicon

                  (docs.hise.audio)

                  is enabled for the future (the default is on, but it might be possible that it isn't if you come from an older version of HISE.

                  Alex ParadisA 1 Reply Last reply Reply Quote 1
                  • Alex ParadisA
                    Alex Paradis @Christoph Hart
                    last edited by Alex Paradis

                    @Christoph-Hart

                    It's working!

                    Thanks so much for the help. I was able to export a 64-bit VST3 on Windows, and I will surely test the other ones later.

                    1 Reply Last reply Reply Quote 1
                    • S
                      Sawer
                      last edited by

                      7CD6E1EE-8DCF-4561-A587-37BDF7ECCD21.jpeg

                      Hi everyone, since this thread is already here, I want to build my project on windows and I’m having this issue stated on the image attached.. have I done something wrong, what’s missing? Thanks! (I’ve already installed ipp, and I’m using virtubox on my Mac to run windows)

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

                        @nesta99 It's telling you it can't find ipp.h, so something is wrong with you IPP setup. Which version of IPP are you using?

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

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sawer @d.healey
                          last edited by

                          @d-healey It’s Ipp 2021 please

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

                            @nesta99 There's ya problem. Use the 2020 version instead - https://www.dropbox.com/sh/zxo16aoyczy0vhx/AABd2fgK56vB2gWD2WsIw8oEa?dl=0

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

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Sawer @d.healey
                              last edited by

                              @d-healey thanks a lot. Will do that

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

                                @nesta99 if you compile the latest version of scriptnode or even the old ones. take S2017 and see which extension of vosual studio to install. in addition, the latest ipp version works fine.for ipp, download the offline installer which allows you to install all the features of ipp

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

                                  @yall said in Win 64-bit Compile - Fatal error cannot open input file "... .lib":

                                  @nesta99 if you compile the latest version of scriptnode or even the old ones. take S2017 and see which extension of vosual studio to install. in addition, the latest ipp version works fine.for ipp, download the offline installer which allows you to install all the features of ipp

                                  You need to make a tutorial, you're the only person who has managed to get it working :)

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

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    yall @d.healey
                                    last edited by

                                    @d-healey Yes, if you want. even on mac i take the latest version

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

                                      @d-healey I just saw that he was using virtual box to emulate windows. indeed I had tried this method on my macbook pro it did not work. with the ipp2020 version. but on windows asus the ipp 2021 works. I bought a new pc 2 months ago. and I have the api box I don't know too much about the intel site. and visual studio 2017. if you want a video I can sincerely do it for you but I didn’t have a complicated step.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sawer @yall
                                        last edited by

                                        @yall That would be great man. Having issues on deleting ipp, there are so many files with the name ipp. I Dont want to mess up with ipp in hise... probably deleting everything and starting from scratch. Anyway a video tutorial could be soooo helpful man!

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

                                          @nesta99 i would do it next week on another pc i have. my procedure was like the rest. i went to the intel ipp site. I downloaded the toolbox offline, I installed all the components. then i downloaded visual studio. I launched a first compilation which failed because I had not installed the visual studio module (when you get an error it will tell you to download the modul x3737838388 for example). once you know the right module you go back to the visual studio installation and check the box corresponding to the module. then you relaunch your compilation and it works. concerning ipp I have the latest version because I downloaded it a few weeks ago

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

                                          21

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          103.1k

                                          Posts