-
Notifications
You must be signed in to change notification settings - Fork 933
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
make process error... #24
Comments
What platform are you building on? If MacOS it might be because nproc is not defined in MacOS, and maybe try the fixes discussed in #2 |
It's MacOS.
lanctot <notifications@github.com> 于2019年9月4日周三 上午7:50写道:
… What platform are you building on?
If MacOS it might be because nproc is not defined in MacOS, and maybe try
the fixes discussed in #2
<#2>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMFNUHFN753XXP2J327IJR3QH3Z5RANCNFSM4ITEZHFQ>
.
|
Did you try read the discussion in the link I posted to fix the issue with nproc not being defined on MacOS? |
Sorry, re-open it for help. thanks~ |
Did you look at the link I posted in my first reply? nproc is not defined in MacOS. Can you try:
|
When I try:
Some error occurs:
#if defined(APPLE) && (TARGET_OS_IPHONE || TARGET_OS_IPHONE_SIMULATOR) |
I see. Unfortunately we are unable to officially support MacOS at the moment, but maybe someone else will have the same issue and post a fix. Meanwhile, I suggest you take a look at the following pull request which has some fixes for MacOS and links to several comments on building in MacOS: #6 |
OK. Thanks a lot~ |
Hi. Thanks for your report. I merged #6 which was suggesting a Fix to build on MacOS. Can you check if it works for you? If not, I would encourage you to send a contribution, as no developer is using Mac (so we it is low priority for DeepMind developers). I will mark the bug as fixed, assuming the PR was enough, given 2 persons build on macOS, but feel free to reopen with the new kind of errors you have. |
It's OK now. Thanks~ |
When I use "make -j$(nproc)" to make, some errors display as the follows:
In file included from /Users/user/documents/deeplearning/open_spiel/open_spiel/abseil-cpp/absl/random/internal/randen_slow.cc:21:
/Users/user/documents/deeplearning/open_spiel/open_spiel/abseil-cpp/absl/random/internal/platform.h:165:48: error:
'TARGET_OS_IPHONE_SIMULATOR' is not defined, evaluates to 0 [-Werror,-Wundef]
#if defined(APPLE) && (TARGET_OS_IPHONE || TARGET_OS_IPHONE_SIMULATOR)
[ 8%] Built target absl_leak_check_disable
In file included from /Users/user/documents/deeplearning/open_spiel/open_spiel/abseil-cpp/absl/random/internal/randen_hwaes.cc:26:
/Users/user/documents/deeplearning/open_spiel/open_spiel/abseil-cpp/absl/random/internal/platform.h:165:48: error:
'TARGET_OS_IPHONE_SIMULATOR' is not defined, evaluates to 0 [-Werror,-Wundef]
#if defined(APPLE) && (TARGET_OS_IPHONE || TARGET_OS_IPHONE_SIMULATOR)
...
Please give some help. Thanks a lot.
The text was updated successfully, but these errors were encountered: