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

      https://support.microsoft.com/en-us/help/815645/you-receive-a-fatal-error-lnk1181-error-message-when-you-build-a-manag
      I googled it up and VS just can't find the ".lib" file. But this file doesn't exists in the first place.

      When is this file supposed to be created ? At which step?

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

        Oh I see, it's a linker error. The file should be created during the compile process and I expect it will be in the Binaries/Builds/VisualStudio2015 folder. Why VS isn't able to find it, or the file isn't being created I don't know.

        What version of HISE are you using?

        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
          last edited by

          I'm using HISE Version 2.1.0 (Build Version 650)
          Win 10 Pro 64-Bit

          Do you think it's VS 2017?

          I can try and install VS 2015 instead.

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

            @Alex-Paradis I don't think 2015 works for compiling HISE 2.1 projects, I'm pretty sure you have to use v2017. Did you export a 32bit version before you tried 64bit?

            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
              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
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.1k

                                            Posts