无忧启动论坛

标题: 请懂编译的大佬帮编译一下7zip Darkmode新版本 [打印本页]

作者: a20120227    时间: 2024-5-4 14:01
标题: 请懂编译的大佬帮编译一下7zip Darkmode新版本
本帖最后由 a20120227 于 2024-5-4 14:16 编辑


How To Compile[color=var(--darkreader-text--fgColor-accent, var(--darkreader-text--color-accent-fg))]
Download 7zip Source code [color=var(--darkreader-text--fgColor-accent, var(--darkreader-text--color-accent-fg))]https://sourceforge.net/projects/sevenzip/
I used 7zip 19 version. But I only changed some of the UI codes. I think it's possible that one can use my files to compile newer versions.
use Nukem9's [color=var(--darkreader-text--fgColor-accent, var(--darkreader-text--color-accent-fg))]https://github.com/Nukem9/detours Project to compile detours.lib with compiler setting /Gr
and copy detours.lib to CPP\7zip\Bundles\Fm
copy my files to the 7zip source folder, replace the old files, and compile.
Read this first. [color=var(--darkreader-text--fgColor-accent, var(--darkreader-text--color-accent-fg))]http://www.ski-epic.com/2012_compiling_7zip_on_windows_with_visual_studio_10/index.html
turns out it uses nmake to compile
open "Developer Command Prompt for VS 2017"
[backcolor=var(--darkreader-bg--bgColor-muted, var(--darkreader-bg--color-canvas-subtle))]cd C:\my7zip\CPP\7zip\Bundles\Fmnmake

compiled file is in
[backcolor=var(--darkreader-bg--bgColor-muted, var(--darkreader-bg--color-canvas-subtle))]C:\my7zip\CPP\7zip\Bundles\Fm\O\7FM.exe

///////////////// Change ///////////////////////////[color=var(--darkreader-text--fgColor-accent, var(--darkreader-text--color-accent-fg))]
edited
[backcolor=var(--darkreader-bg--bgColor-muted, var(--darkreader-bg--color-canvas-subtle))]CPP\7zip\UI\FileManager\FM.cpp, Cpp\Build.mak, CPP\7zip\UI\FileManager\FM.makCPP\7zip\UI\FileManager\StdAfx.h        #define _WIN32_WINNT 0x0600        CPP\7zip\UI\FileManager\Panel.cpp        CMyListView::OnMessage        Panel.h        add header files

Added IatHook.h, DarkMode.h,IatHook.cpp, Darkmode.cpp, Detours.h, EditorUIDarkMode.h, EditorUIDarkMode.cpp (Many files come from links I mentioned, but I edited many contents.)

(来自https://github.com/huanrenfeng/7zipDarkmode


作者: guong    时间: 2024-5-4 14:22
帮顶一下
作者: maisifu    时间: 2024-5-4 14:39
期待大神出现。。。
作者: reninhouse    时间: 2024-5-4 14:54
等大神来解决
作者: zhanxue    时间: 2024-5-4 15:16
帮顶上去,坐等大神出手
作者: 语之男    时间: 2024-5-4 16:57
这个和7zip有啥区别
作者: ddzyhhh    时间: 2024-5-4 18:12
7zip v21.07 值得你追吗?




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3