Win 64-bit Compile - Fatal error cannot open input file "... .lib"
-
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
-
@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 :)
-
@d-healey Yes, if you want. even on mac i take the latest version
-
@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.
-
@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!