Code Monkey home page Code Monkey logo

Comments (16)

yanliang567 avatar yanliang567 commented on September 22, 2024

/assign @czs007
/unassign

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

for this compilation error, it seems that Security/Security.h can not be found.
maybe you can try to change the aws-c-cal version see if it could help.
I'm using same clang version on x86 macos and it works. I believe we also have people working on macos

from milvus.

dugar-tarun avatar dugar-tarun commented on September 22, 2024

My MacOs arch is arm64 and aws-c-cal is installed as a dependency of aws-sdk-cpp/1.9.234, can you suggest an alternative version of this dependency that can help me successfully build the code? Please correct me if I'm wrong, I do not have a lot of experience with Conan.

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

https://conan.io/center/recipes/aws-sdk-cpp

with the conanfile, could you be able to run conan install conanfile.txt --build=missing?

from milvus.

dugar-tarun avatar dugar-tarun commented on September 22, 2024

I am able to install this successfully without any issues.

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

seems to be a llvm@15 issue

from milvus.

dugar-tarun avatar dugar-tarun commented on September 22, 2024

Any workaround that I can try?

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

see https://github.com/milvus-io/milvus/blob/master/DEVELOPMENT.md
brew reinstall llvm@15
export LDFLAGS="-L/opt/homebrew/opt/llvm@15/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@15/include"

from milvus.

Reidddddd avatar Reidddddd commented on September 22, 2024

same issue for my new colleague

the way mentioned didn't work

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

it's hard to understand the issue without detailed enviroments:

  1. os version
  2. go version
  3. llvm and cpp version
    .....
    most likely it can not be reproduced on other's mac so easiest way is to use docker or the recommend configs we have

from milvus.

Reidddddd avatar Reidddddd commented on September 22, 2024

Any workaround that I can try?

can try using llvm@17, passed

from milvus.

dugar-tarun avatar dugar-tarun commented on September 22, 2024

Yep reinstalling llvm@15 and the env variables don't work.
@Reidddddd Updating to llvm@17 worked, thank you! :)

from milvus.

shaoting-huang avatar shaoting-huang commented on September 22, 2024

go: go version go1.22.2 darwin/arm64
clang: Homebrew clang version 17.0.6
llvm: /opt/homebrew/opt/llvm@17/bin

from milvus.

tusm123 avatar tusm123 commented on September 22, 2024

same issue for me
go: 1.22.4
os: x86 mac
llvm:14

from milvus.

xiaofan-luan avatar xiaofan-luan commented on September 22, 2024

same issue for me go: 1.22.4 os: x86 mac llvm:14

I saw people this problem by upgraing llvm version.
LLVM 15 is required. LLVM 16 or 17 is recommended

from milvus.

tusm123 avatar tusm123 commented on September 22, 2024

same issue for me go: 1.22.4 os: x86 mac llvm:14

I saw people this problem by upgraing llvm version. LLVM 15 is required. LLVM 16 or 17 is recommended

Updating to llvm@17 worked, thank you! :)

from milvus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.