Open KenethGreen opened 1 year ago
You could try and setting all of the premake5.lua files and change the staticruntime "on"
to staticruntime "off"
because in a later video we were forced to change all of the lua files in the Hazel repo to staticruntime "off"
because of a single library that just wouldn't work for Cherno back then when it was staticruntime "on"
I can't find anything else without a repo to compare the code with... sorry.
Thank you so much. I'll try it.
---- Replied Message ---- | From | @.> | | Date | 05/11/2023 01:06 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [TheCherno/Hazel] fatal error LNK1127: library is corrupt (Issue #623) |
You could try and setting all of the premake5.lua files and change the staticruntime "on" to staticruntime "off" because in a later video we are forced to change all of the lua files in the Hazel repo to staticruntime "off" because of a single library that just wouldn't work for Cherno back then when it was staticruntime "on" I can't find anything else without a repo to compare the code with... sorry.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
buddy,are you fixed this problem?
Got fatal error
I had an error when I changed the project Hazel configuration type from a dynamic library to a static library. Here is my error:
I am sure that I did the same thing following the video called Static Libraries and the ZERO Warnings Game Engine series. It`s the 26th video. I mean I coded the premake5.lua files like what this video did.
Things I need to say
Before I got this error, I got some warnings saying:
I don't know if this has anything to do with the error LNK1127.
My trying to fix it
1, I updated my Windows SDK from 10.0.22000.0 to 10.0.22621.0. 2, I reconfirmed the project ImGui history version
3, I re-coded 4 files 'premake5.lua' following the video.
My question
My Configuration
Here is my 4 premake5.lua code
premake5.lua of Hazel
premake5.lua of GLFW
premake5.lua of Glad
premake5.lua of ImGui
Here is my Email address: gjs5502998@163.com Thank you so much if anyone can help.