This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
important Edit: I come from a python background so the idea of linking and building libraries seems pretty foreign to me. Hence my confusion.
tldr: Could someone link a book, tutorial youtube video or resource that can take me through how to use open-source libraries with c . Also resources on how to properly understand and use xcode and homebrew please.
Os: Mac OS 10.15
I've been trying to download SDL2 for the entire day and I still can't get it to work.
Last week i spent 3 days trying to get wxWidgets to work with xcode, I never got it to work I just ended up using wx-config and a text editor.
I feel like Im missing the skills needed to properly use open-source libraries without wasting several days to get it to work.
I tried homebrewing them SDL2 and wxWidgets but then after brewing is done, I cant get them to work with xcode. I really feel like i don't understand xcode properly such as project directorys, i have no idea what xcode-select is for nor can I get anything to work.I understand the concept behind homebrew and it works fine when I need to download command line tools but downloading libraries with it is giving me a massive headache.
I feel pretty frustrated but I know the problem is Im missing skills to do this properly. If i could summarize my problems it would be:
- Linking and building projects: how to do it, how does c know where to find header files for libraries
- Xcode: what is xcode-select, how do you use xcode like a prob (not just how to use it but how to understand what is being done and what I need to do)
-Homebrew: Once a library is added to the cellar how can i reference it in other directories. For example if you brew install sdl2, it doesnt create a framework but adds the header files and other assets.
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/cpp_questio...