Win 64-bit Compile - Fatal error cannot open input file "... .lib"
-
Hi,
I am trying to compile my Hise project on Win 64 and I have this Fatal error appearing with any type of exports:
2>LINK : fatal error LNK1181: cannot open input file 'EXPORT_FREEBIE_APP_2_1 x64.lib'
I don't see any ".lib" file in the folder too, looks like it isn't properly created at the end.
Did someone have the same error?
How many space does the file need in the disk?Specs:
Win 10 Pro 64-Bit
VS Studio 2017 Community Edition -
That's a VS studio error. Try googling it.
-
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?
-
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?
-
I'm using HISE Version 2.1.0 (Build Version 650)
Win 10 Pro 64-BitDo you think it's VS 2017?
I can try and install VS 2015 instead.
-
@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?
-
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?
-
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?
-
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?
-
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.
-
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.
-
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?
-
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:
then make sure that this:
https://docs.hise.audio/working-with-hise/settings/development.html#rebuild-pool-files
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.
-
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.
-
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)
-
@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?
-
@d-healey It’s Ipp 2021 please
-
@nesta99 There's ya problem. Use the 2020 version instead - https://www.dropbox.com/sh/zxo16aoyczy0vhx/AABd2fgK56vB2gWD2WsIw8oEa?dl=0
-
@d-healey thanks a lot. Will do that
-
@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