[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Xcode 16 issue #840

Open
schaubh opened this issue Oct 30, 2024 · 1 comment
Open

Xcode 16 issue #840

schaubh opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
build Build system or compilation enhancement

Comments

@schaubh
Copy link
Contributor
schaubh commented Oct 30, 2024

Describe the bug
After upgrading to Xcode 16 or 16.1, then running python conanfile.py, I get the error message saying:

/Users/hp/Repos/basilisk/dist3/Basilisk/architecture/moduleIdGeneratorPYTHON_wrap.cxx:198:11: fatal error: 
      'Python.h' file not found
  198 | # include <Python.h>
      |           ^~~~~~~~~~
1 error generated.

To reproduce
Steps to reproduce the behavior:

  1. I'm trying both python 3.11 or 3.12 and get this build error
  2. If I open the Xcode project and build for profile I get the same error. However, here I can just build again and it gets past this error.

Expected behavior
The command python conanfile.py should configure BSK and compile it without issues.

Desktop (please complete the following information):

  • OS: macOS
  • Version MacOS 14 or 15, just need to install Xcode 16 instead of 15
  • Python version: both on 11 and 23
@schaubh schaubh added the build Build system or compilation enhancement label Oct 30, 2024
@schaubh schaubh self-assigned this Oct 30, 2024
@schaubh schaubh added this to Basilisk Oct 30, 2024
@schaubh
Copy link
Contributor Author
schaubh commented Oct 30, 2024

To the best of my knowledge this appears to be an issue with Xcode 16, downgrading to Xcode 15 readily resolves this problem. In the mean time, to compile from the command line on macOS, you can use the makefile approach by using:

python conanfile.py --generator "Unix Makefiles"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system or compilation enhancement
Projects
Status: No status
Development

No branches or pull requests

1 participant