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

compile environment #432

Open
zhaojw92518 opened this issue Feb 5, 2022 · 9 comments
Open

compile environment #432

zhaojw92518 opened this issue Feb 5, 2022 · 9 comments

Comments

@zhaojw92518
Copy link

which version of visual studio can build the project? I try 2012 2013 2019. All failed. The error log seem to be about c++ 11.

@mercury233
Copy link
Collaborator

@zhaojw92518
Copy link
Author

zhaojw92518 commented Feb 6, 2022 via email

@zhaojw92518
Copy link
Author

zhaojw92518 commented Feb 6, 2022 via email

@mercury233
Copy link
Collaborator

premake4 和 cmake 现在都没有人维护了,可以试试premake5
https://github.com/mercury233/ygopro/wiki/windows%E7%BC%96%E8%AF%91

@zhaojw92518
Copy link
Author

zhaojw92518 commented Feb 6, 2022 via email

@Mitsudori
Copy link

premake4 和 cmake 现在都没有人维护了,可以试试premake5 https://github.com/mercury233/ygopro/wiki/windows%E7%BC%96%E8%AF%91

For some reason, when i try to run premake5 in the ygopro root folder, return a thing like:
Error: /usr/bin/lua:1: unexpected symbol near '<\127>'
Since i'm on linux.

@mercury233
Copy link
Collaborator

For some reason, when i try to run premake5 in the ygopro root folder, return a thing like: Error: /usr/bin/lua:1: unexpected symbol near '<\127>' Since i'm on linux.

Are you using the premake utility?

@Mitsudori
Copy link

Are you using the premake utility?

Yes i am, i have it compiled in my machine.
premake5 (Premake Build Script Generator) 5.0.0-beta2

@mercury233
Copy link
Collaborator

Yes i am, i have it compiled in my machine. premake5 (Premake Build Script Generator) 5.0.0-beta2

Maybe you can try to add /. to the path of include part in the premake5.lua , like
https://github.com/Fluorohydride/ygopro/blob/master/gframe/premake5.lua#L2

and be sure to follow https://github.com/Fluorohydride/ygopro/wiki/Building-on-Ubuntu generally

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

3 participants