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

a compile problem #113

Closed
guozhr opened this issue Feb 28, 2023 · 6 comments
Closed

a compile problem #113

guozhr opened this issue Feb 28, 2023 · 6 comments

Comments

@guozhr
Copy link

guozhr commented Feb 28, 2023

anki-3d-engine/ThirdParty/ImGui/../../AnKi/Util/Array.h:201:29: error: ‘is_same_v’ is not a member of ‘std’
-> Array<std::enable_if_t<(std::is_same_v<TFirst, TRest> && ...), TFirst>, 1 + sizeof...(TRest)>;

when i do make, this problem come out,
my gcc version is 12.2
and i try to add cmake . -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_EXTENSIONS=OFF

how to fix it, very anxious !

@godlikepanos
Copy link
Owner

Hi,

Why do you build with -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_EXTENSIONS=OFF? I've never used these flags.

@guozhr
Copy link
Author

guozhr commented Mar 1, 2023

fixed, need to use higher version gcc

@guozhr
Copy link
Author

guozhr commented Mar 1, 2023

but now i have another problem: complie to 92%, it stop and have nothing message come out, looks finished!

@guozhr
Copy link
Author

guozhr commented Mar 1, 2023

i built an android sample apk, install on my phone, it run and crash

@godlikepanos
Copy link
Owner

Can you check the logcat to find if there is an error somewhere? AnKi prints messages in logcat. Search for AnKi

@godlikepanos
Copy link
Owner

No more info, closing

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