-
Notifications
You must be signed in to change notification settings - Fork 109
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
Fail to build on macOS 11.6 xcode 13.0 all requirement fulfilled #70
Comments
@EGYPHARAOH looks Apple changed signature of If it will not help need to change declaration in pid_t waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid); Additionally including of |
I'm having an issue building on macOS too. My machine has an M1 processor so I don't know if that's the issue: dotnet-install: Temporary zip file /var/folders/ch/v9k5sf_n15d6c5nwgqbmjrqm0000gn/T//dotnet.S409LnFm7 was removed
dotnet_install: Error: Could not find `.NET Core SDK` with version = 5.0.403
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
CMake Error at fetchdeps.cmake:63 (message):
Fatal error when installing dotnet
Call Stack (most recent call first):
CMakeLists.txt:42 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/Matt/Dev/exercises/dotnet/netcoredbg/build/CMakeFiles/CMakeOutput.log".
See also "/Users/Matt/Dev/exercises/dotnet/netcoredbg/build/CMakeFiles/CMakeError.log". The error message is a bit cryptic to me. I have an orthodox install of .NET 5.0 (installed via the main package from the vendor's website). I had a read through the logs but there wasn't anything there that made sense to me. |
@matthewblott Your issue is caused by temporary problems on Microsoft Azure servers when downloading the NET Core SDK, there are two ways to solve the problem
I hope these ways will solve your problem. |
it gives the following error
[ 59%] Building CXX object src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o
/Users/admin/Documents/repos/netcoredbg-1.2.0-825/src/debugger/waitpid.cpp:71:18: error: exception specification in declaration does not match previous declaration
extern "C" pid_t waitpid(pid_t pid, int *status, int options) noexcept
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:249:9: note: previous declaration is here
pid_t waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid);
^
1 error generated.
make[2]: *** [src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/netcoredbg.dir/all] Error 2
make: *** [all] Error 2
admin@admins-MacBook-Pro build %
The text was updated successfully, but these errors were encountered: