Open martinlwtzky opened 1 year ago
I this a M1/M2 mac or a 32-bit architecture? Also could you try compiling with g++ instead of clang to see if that works maybe?
I don't have a mac to test but you could try to fork jluna and replace the uint64_t
with size_t
. The error says that it expects the signature to be (const char*, unsigned long)
but it is declared as (const char*, unsigned long long)
. The last patch replaced all occurrences of size_t
with uint64_t
since size_t
is apparently redefined on the newer apple architecture.
I did the last part for you, please clone this branch and rebuild:
https://github.com/Clemapfel/jluna
cd jluna
git fetch
git branch checkout string_literal_issue
mkdir build; cd build
cmake ..
make install -j 8
The last line may require sudo
so it can deposit the shared library in the default location
I'm getting the same issue on the string_literal_issue branch
AppleClang 15.0.0.15000309 cmake version 3.25.2 julia-1.10.2+0.aarch64.apple.darwin14 macOS Sonoma Beta 14.5 M1 Max
I'm using macbook (intel cpu)
julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (x86_64-apple-darwin22.4.0)
CPU: 16 × Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
JULIA_EDITOR = subl
JULIA_PROJECT = @.
JULIA_PKG_USE_CLI_GIT = true
Here is what I did:
git clone https://github.com/Clemapfel/jluna
cd jluna
git fetch
git branch checkout string_literal_issue
mkdir build; cd build
cmake ..
make install -j 8
Hi, when trying to get jluna to make on Mac, I'm getting the following errors: 2 of those:
and another few of those:
My environment:
I'd appreciate any hint where to look at!