Comments (3)
可以,编译失败的情况如果方便也可以提供一下
5>------ Rebuild All started: Project: Demo, Configuration: CRelease x64 ------
5>AudioUtils.cpp
5>BgmListView.cpp
5>ChatWidget.cpp
5>ControlWidget.cpp
5>Dialog.cpp
5>GLWidget.cpp
5>jsoncpp.cpp
5>LApp.cpp
5>LAppAllocator.cpp
5>LAppDefine.cpp
5>LAppDelegate.cpp
5>LAppLive2DManager.cpp
5>LAppModel.cpp
5>LAppPal.cpp
5>LAppTextureManager.cpp
5>LAppView.cpp
5>LAppWavFileHandler.cpp
5>main.cpp
5>moc_chatwidget.cpp
5>moc_controlwidget.cpp
5>moc_glwidget.cpp
5>NetworkUtils.cpp
5>TouchManager.cpp
5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6006: "link.exe" exited with code 1181.
5>LINK : fatal error LNK1181: cannot open input file 'lib\Release\libglew32.lib'
5>Done building project "Demo.vcxproj" -- FAILED.
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========
我猜应该是x64 libglew32.lib这个静态库的问题。
这是我VS链接器Input的配置:
Framework\Release\Framework.lib
glfw\src\Release\glfw3.lib
opengl32.lib
glu32.lib
-NODEFAULTLIB:libcmt.lib
-NODEFAULTLIB:msvcrtd.lib
..\Core\lib\windows\x86_64\143\Live2DCubismCore_MT.lib
lib\Release\libglew32.lib
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
Qt5Widgets.lib
Qt5Core.lib
Qt5Gui.lib
qtmain.lib
Winmm.lib
libssl.lib
libcrypto.lib
qt5multimedia.lib
from live2dmascot.
编译通过啦!感谢大佬!写几个目前踩到的坑:
- LINK : fatal error LNK1181: cannot open input file 'lib\Release\libglew32.lib'
解决:需要把proj_msvc2022_x64_mt\glew\lib\Release中的libglew32.lib放到根目录就能找到了 - unable to start xxx program xxx is not a valid working directory
解决:需要在VS demo property pages中debugging的Working Directory修改成bin/Demo/Release - 编译通过但运行还是报错
解决:将大佬编译好的目录中所有的文件夹和dll复制到bin/Demo/Release里。大力出奇迹!
from live2dmascot.
可以,编译失败的情况如果方便也可以提供一下
from live2dmascot.
Related Issues (19)
- Missing DLL file required for x64 HOT 1
- 自定义语音处理的启用未保存在配置文件中 HOT 2
- 点击"更新模型"按钮后模型的透明效果出现问题 HOT 2
- 关于模型显示完整问题。 HOT 3
- 为什么背景不是透明的呢? HOT 2
- 请问版本兼容性是那些? HOT 17
- 自定义聊天服务器问题 HOT 3
- 高分辨率下页面变形了 HOT 3
- 提示动作文件不存在 HOT 2
- 实时口型同步 HOT 6
- 自动播放得文本无法关闭 HOT 2
- 工具栏选项菜单显示不完全
- 软件正常运行几次之后就会无法打开,重新下载解压才能继续用 HOT 2
- 使用的疑问 HOT 23
- 【求助】关于语音返回 HOT 2
- 功能需求 HOT 4
- 【求助】关于Resources中的声音来源 HOT 2
- 聊天板功能需求 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live2dmascot.