跳转到帖子
登录关注  
墨香年少

2. build duilib's dll

已推荐帖子

1.enter duilib source code folder, the folder looks like this : D:\duilib\include\DuiLib, and the folder's content looks like this:

duilib_folder.png

2.double click DuiLib.vcxproj using Visual Studio 2022 (you can use any version Visual Studio, vs203 or vs2015 or vs2017 or vs2019)

right click project and config it

vs_config.png

click apply or click ok.close config dialog.

3.DO NOT run project, just click Build menu in top menu bar.

4.you will get this message:

1>XUnzip.cpp
1>D:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(1389,5): warning MSB8012: TargetPath(D:\duilib\include\DuiLib\Build\Release\DuiLib.dll) does not match the Linker's OutputFile property value (D:\duilib\include\bin\DuiLib.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>   Creating library ../Lib/DuiLib.lib and object ../Lib/DuiLib.exp
1>DuiLib.vcxproj -> D:\duilib\include\DuiLib\Build\Release\DuiLib.dll
1>Done building project "DuiLib.vcxproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 3:34 AM and took 27.846 seconds ==========

5.the dll generated success, location is : D:\duilib\include\DuiLib\Build\Release\DuiLib.dll

dll_succ.png


目之所及,皆是回忆,心之所想,皆是过往

分享这篇帖子


链接帖子
分享到其他站点

创建帐户或登录来提出意见

你需要成为会员才能提出意见

创建帐户

注册成为会员。只要几个简单步骤!

注册帐户

登录

已有帐户? 请登录。

现在登录
登录关注  

×
×
  • 创建新的...

重要信息

注册必须使用2-8个中文汉字作为账号