-
Notifications
You must be signed in to change notification settings - Fork 5
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
bbl-translate
fails to #include babble
when compiled on macOS
#11
Comments
Assuming that
to
in the smartptr bindfile? |
Changing to
results in a different but similar error message:
If I remove the first include from the
I get the same error if I just reorder the includes to this: It seems like only the first |
Actually even with |
The `<type_traits>` error I know the cause and can hopefully provide a fix
soon.
…On Fri, 2 Feb 2024 at 00:04, Ashley ***@***.***> wrote:
Actually even with
/Users/ashley/babble/build/bbl/bbl-translate
/Users/ashley/babble/test/stdfunction/bind.cpp -- -std=c++17 -fsyntax-only
-fno-spell-checking -I/Users/ashley/babble/bbl/include ...
I still get
/Users/ashley/babble/test/stdfunction/bind.cpp:1:10: fatal error: cannot
open file '/Users/ashley/babble/test/stdfunction/babble': No such file or
directory
so I'm not really sure my hypothesis holds up. Something is definitely
funky with how the -I flags are handled though.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOYQXICKPG3AA2FAGWJJ53YRSMXPAVCNFSM6AAAAABCQQH3KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRTGI4DCMBXGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Okay great, I've had a bit more success compiling in a nix shell with |
Just following up on this, the type_traits error should now be fixed |
I'm trying to build babble on mac (#10 branch). I'm compiling with the homebrew-installed
llvm
andzig cc
as a compiler as it uses its own toolchain and avoids some of the problems I've been having with native/homebrew clang. The full build script isCC=zig-cc CXX=zig-c++ cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=install -DLLVM_DIR=/usr/local/Cellar/llvm/17.0.6_1/lib/cmake/llvm/ && cmake --build build
(
zig-cc
andzig-c++
are just files installed in~/.local/bin
containingzig c++ $@
etc.).I'm getting this issue with the tests where
bbl-translate
is run:I don't really know what to make of it.
The text was updated successfully, but these errors were encountered: