olrea / openai-cpp

OpenAI C++ is a community-maintained library for the Open AI API
https://openai.com/api/
MIT License
183 stars 65 forks source link

Compatible on macOS? #6

Closed ArmanNadjarian closed 1 year ago

ArmanNadjarian commented 1 year ago

Hello,

I am attempting to get this project working on my end. Unfortunately, I am running into issues. I believe the issue is that libcurl is not working properly on my end. Do you know where I can find a macOS compatible install for libcurl? The errors I am getting state that there are "Undefined symbols for architecture arm64"

coin-au-carre commented 1 year ago

Hello this should be straightforward since it is available with brew: https://everything.curl.dev/get/macos.

When you install curl the tool with homebrew as described above, it also installs libcurl together with its associated headers.

coin-au-carre commented 1 year ago

@nadjarman I will close this issue feel free to reopen it if needed.