You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Is it possible to use system frameworks on macOS? I suppose that there is a same problem while using Windows API header files on Windows.
To Reproduce
Create a demo.h file within contents:
#pragma once
#include <CoreFoundation/CoreFoundation.h>
CFRunLoopRef GetCurrentLoop() { return CFRunLoopGetCurrent(); }
Error
--- stderr
src/demo.h:3:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
src/demo.h:3:10: note: did not find header 'CoreFoundation.h' in framework 'CoreFoundation' (loaded from '/System/Library/Frameworks')
Error: × the include_cpp! macro couldn't be expanded into Rust bindings to C++:
│ Bindgen was unable to generate the initial .rs bindings for this file.
│ This may indicate a parsing problem with the C++ headers.
Expected behavior
Everything is compiled.
The text was updated successfully, but these errors were encountered:
I haven't had a change to dig into how things get passed to bindgen within the autocxx tools, but this post seems to have relevance for getting the path programmatically.
Describe the bug
Is it possible to use system frameworks on macOS? I suppose that there is a same problem while using Windows API header files on Windows.
To Reproduce
Create a demo.h file within contents:
Error
Expected behavior
Everything is compiled.
The text was updated successfully, but these errors were encountered: