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

Compiling on OSX 11.5.1 #13

Open
alexander-pick opened this issue Jul 29, 2021 · 4 comments
Open

Compiling on OSX 11.5.1 #13

alexander-pick opened this issue Jul 29, 2021 · 4 comments

Comments

@alexander-pick
Copy link
Contributor

alexander-pick commented Jul 29, 2021

I tried to compile JTDX on the latest OSX version with latest XCode and had troubles to do so. It only worked after changing the -std=c++ version to 17 in the CMakeList and regenerate the project. With lower C++ versions on OSX, error like this one (and similar) occure.

no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if

That these macros don't work with certain C++ version on OSX is a known problem which pops up once a while in projects.

To compile with C++17 only a minior tweak is needed, I will send it in a pull request in a few.

@alexander-pick
Copy link
Contributor Author

#14

@jtdx-project
Copy link
Owner

Hmm I have also Big Sur 11.5.1 and xcode 12.5.1 and don't have any issues. Something more is different with mine and Your installations. Anyway will postpone this merge until I will see similar problems, this may break building on older mac os systems.

@alexander-pick
Copy link
Contributor Author

Mine is a rather fresh install which I set up as a build VM, are your command line tools the latest / updated to latest too? Yes leaving the pull open is most likely the best idea.

@jtdx-project
Copy link
Owner

I use native comp with Big Sur, Command line tools used is MacOSX11.3.sdk. Have no idea what is different with VM.

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