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

无法解析的外部符号SDL_main #1

Closed
Penguin-SAMA opened this issue Feb 14, 2024 · 5 comments
Closed

无法解析的外部符号SDL_main #1

Penguin-SAMA opened this issue Feb 14, 2024 · 5 comments

Comments

@Penguin-SAMA
Copy link

image
你好,可以问问这个怎么解决吗

star-hengxing added a commit that referenced this issue Feb 14, 2024
@star-hengxing
Copy link
Owner

star-hengxing commented Feb 14, 2024

上游包管理仓库引入的问题,再试试

git pull
xrepo update-repo
xmake f -c -y
xmake

@Penguin-SAMA
Copy link
Author

image
奇怪,为啥要求的是v144工具集,现在最新的也才143啊(

@star-hengxing
Copy link
Owner

第一次见这种报错。。感觉是 cmake 对 vs preview 的支持可能不太完善。可以先试试清理全局缓存,然后看一下完整 log

xmake g -c
xmake f -c -y -vD

@Penguin-SAMA
Copy link
Author

还真是preview的问题,我把preview退回到17.9就行了,谢谢大佬~

@star-hengxing
Copy link
Owner

奇怪,为啥要求的是v144工具集,现在最新的也才143啊(

xmake 对此做了 workaround,可以更新到 dev 来使用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants