jeppeter / nsduilib Goto Github PK
View Code? Open in Web Editor NEWduilib plugin for nsis
duilib plugin for nsis
1. 直接双击makeall.bat 2. 在build\nsduilib\Release\nsduilib.dll就是生成的dll的文件 3. example\360Safe目录下的程序即为实例程序(360SafeSetup.exe安装包安装后的程序); 4. example\setup res是安装包(360SafeSetup.exe)的资源; 5. example目录下basehelp.nsh nsduilib.nsh format.nsh valid.nsh algo.nsh 是公用脚本。 或者 1. 直接双击makedll.bat 2. 在build\nsduilib\Release\nsduilib.dll就生成dll文件 依赖条件: visual studio 2013或更新的版本 (已经支持visual studio 2017) nsis 3.0.2 或更新的版本 git 2.0 或更新的版本 本软件最初由 TBCIA团队出品 联系方式:[email protected](阿牛) (qq:153139715) 后经jeppeter修正 联系方式: [email protected] 历史记录: 2024.7.26 这里增加了一个编译选项NSDUILIB_UNICODE_STRING 在文件plugin.c 中,这里如果是 NSDUILIB_UNICODE_STRING== 1表示支持3.08版本以后的,而NSDUILIB_UNICODE_STRING == 0 表示支持3.08版本以前的,在plugins目录下nsduilibw.dll表示是支持3.08版本以后的 nsduiliba.dll表示3.08版本以前的 2017.11.16 增加了处理shortname变成longname的模式,参见InitTBCIASkinEngine 2019.12.26 对程序去除了cmake的依赖,使用cl.exe link.exe来直接编译
1、指定makedll.bat文件后报错
C:\Users\Lenovo\nsduilib-master>makedll.bat
C:\Users\Lenovo\nsduilib-master>cscript //Nologo runmake.vbs makefile.win example\plugin\nsduilib.dll
basedir (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community) nmake (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.exe)
runcon [call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_x86
cscript.exe //Nologo "C:\Users\Lenovo\nsduilib-master\runmake.vbs" --novc --vcmode amd64_x86 "makefile.win" "example\plugin\nsduilib.dll"]
cmd ["C:\Users\Lenovo\AppData\Local\Temp\radB59FC.bat"]
run command ("C:\Users\Lenovo\AppData\Local\Temp\radB59FC.bat") error (2)
2、我尝试使用error的这个命令运行
C:\Users\Lenovo\nsduilib-master>C:\Users\Lenovo\AppData\Local\Temp\radB59FC.bat
C:\Users\Lenovo\nsduilib-master>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_x86
** Visual Studio 2017 Developer Command Prompt v15.9.60
** Copyright (c) 2017 Microsoft Corporation
[vcvarsall.bat] Environment initialized for: 'x64_x86'
basedir (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community) nmake (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.exe)
cmd["C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.exe" /f "makefile.win" "example\plugin\nsduilib.dll"]
run command ("C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.exe" /f "makefile.win" "example\plugin\nsduilib.dll") error (2)
3、然后我再尝试使用最后报错的这条命令
C:\Users\Lenovo\nsduilib-master>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.exe" /f "makefile.win" "example\plugin\nsduilib.dll"
LINK : fatal error LNK1181: 无法打开输入文件“Files.obj”
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x86\link.exe"”: 返回代码“0x49d”
Stop.
NMAKE : fatal error U1077: “pushd”: 返回代码“0x2”
Stop.
希望针对这个问题可以得到你的帮助
如题,编译不通过
VS2013
#include <win_output_debug.h>
#include <win_uniansi.h>
#include <win_window.h>
这几个都找不到
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.