Update failed - LINK : fatal error LNK1104: cannot open file 'funchook.lib'
Before reporting your issue
- [x] I have confirmed that this issue does not happen when ExplorerPatcher is not installed
- [ ] I do not have "register as shell extension" enabled
- [x] I have tried my best to check existing issues
Repro ExplorerPatcher versions
22621.4317.61.1
Repro Windows Versions
Windows 11 24H2 26100.4061 x64
3rd party tweak software installed
Not that I know of - not regarding UI. Only some mouse acceleration and APO equalizer.
Describe the bug
- OS starts, ExplorerPatcher update notification prompts. I stop my AV (that would prevent the update completely if enabled) and click on Update.
- Console tab opens, executing the update and providing information.
- I eat a banana and watch.
Expected outcome
Something like "Update complete".
Actual outcome
There's an error first when building ExplorerPatcher.vcxproj: LINK : fatal error LNK1104: cannot open file 'funchook.lib' [C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make\repo \ExplorerPatcher\ExplorerPatcher.vcxproj]
And then later on the log ends with: "C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make\repo\ExplorerPatcher.sln" (clean;Build target) (1) -> "C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make\repo\ExplorerPatcher\ExplorerPatcher.vcxproj.metaproj" (default target) (14:3) -> "C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make\repo\ExplorerPatcher\ExplorerPatcher.vcxproj" (default target) ( 15:3) -> (Link target) -> LINK : fatal error LNK1104: cannot open file 'funchook.lib' [C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make\re po\ExplorerPatcher\ExplorerPatcher.vcxproj]
There are some warnings along the way that export of symbol should be private, not sure if related.
Additional info
Crash Dumps
No response
Media
No response
Did you also stop windows defender?
The same issue. I stopped windows defender but it didn't help.
Add the exclusions to your antivirus: https://github.com/valinet/ExplorerPatcher/releases
Your antivirus will interfere with EP after it is installed.
oh you're trying to build it. Go into C:\Users\Adam\AppData\Roaming\ExplorerPatcher\ep_make, and do a search for the file funchook.lib.
So i just press "Update program and restart File explorer" And get PS console and see for download repo and build it.
There is no funchook.lib but sources
I've added exclusions to windows defender before and checked it now. It's ok. I stopped defender before update. No result.
Oh, my bad. Now found checked "build locally before install". Unchecked and updated ok
Oh ok. You didn't realize you were trying to build before install. Glad you got it working now.
Please close this then.
Thanks for the help. I did not open it :) It was @AideeAmei
Oh, my bad. Now found checked "build locally before install". Unchecked and updated ok
Thanks! I made the same mistake!
I don't think this option works anymore due to the sources for the taskbar and windows 10 start menu not being included.
Interesting. I didn't know about this option. Is it checked by default? I confirm it works without the build.
It should not be checked by default.