Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]windows上安装后闪退 #103

Open
ZnStar opened this issue Oct 20, 2024 · 1 comment
Open

[BUG]windows上安装后闪退 #103

ZnStar opened this issue Oct 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ZnStar
Copy link

ZnStar commented Oct 20, 2024

image

如图生成exe文件后双击闪退是为什么呀?

@ZnStar ZnStar added the bug Something isn't working label Oct 20, 2024
@ZnStar
Copy link
Author

ZnStar commented Oct 21, 2024

解决了,直接下载的编译好的软件里面部分会出现问题,记一下整体流程免得自己也忘了,整体和文档说明一致,具体有一点点差异。
安装顺序:mingw-w64,cmake
在主目录下自己编译
cmake -G "MinGW Makefiles" -B build -S src
cmake --build build --config Release
然后生成的编译好的里面才会含有gpupixel.dll才能正常使用,要用示例demo
cmake -G "MinGW Makefiles" -B examples/build -S examples
cmake --build examples/build --config Release
双击生成的exe可以打开examples里面对应的demo图像,用按键即可控制美颜和程度
A S D F G H - 增加磨皮, 美白, 瘦脸, 大眼, 口红, 腮红等级
Z X C V B N - 减少磨皮, 美白, 瘦脸, 大眼, 口红, 腮红等级
直接切换demo.png图像即可查看其他图像的演示
目前还不会:导出png图像,自定义API调用批量处理图像

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant