Posts

Post marked as solved
1 Replies
302 Views
I've been trying to find a C/C++ framework for apps on macos. I couldn't find good docs on metal. Is there a way to write C++ apps without any other library?
Posted Last updated
.
Post not yet marked as solved
1 Replies
287 Views
SDL is an amazing crossolatform library for C.However I actually cannot use it in XCode to build for iOS. Steps to reproduce: Download the official framework from their github Link it as a franework in any project Choose to embed and sign it I can build, but after running the app XCode cannot actually find the header files to include. Also after trying to run the executable I get an error with DYLD library not loaded and e.g. I am using macbook 13 on MacOS Sonoma
Posted Last updated
.
Post not yet marked as solved
0 Replies
252 Views
Hi, I have recently started working with sdl in xcode. I have previously tried sdl on linux, and it worked there, but it doesn't work in macos. When building, it opens an asm file with an error. The SDL2.framework is included and I also disabled metal api check #include <SDL2/SDL.h> #include <iostream> using namespace std; int main() { if (SDL_Init(SDL_INIT_EVERYTHING) == 0) { cout << "it works!"; } } This is my code.
Posted Last updated
.