Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling on macosx 11.2 #53

Closed
oskarvonephesos opened this issue Feb 10, 2021 · 5 comments
Closed

compiling on macosx 11.2 #53

oskarvonephesos opened this issue Feb 10, 2021 · 5 comments

Comments

@oskarvonephesos
Copy link

oskarvonephesos commented Feb 10, 2021

Hi there!
I'm trying to compile minifb on Mac OS X 11.2 and I haven't had any luck. So far, I have tried the process outlined in the readme (cmake with option metal), but my tundra command fails, because it can't find WindowData.h (although I can). Compiling directly in an XCode project doesn't work either: XCode doesn't find files, can't include files etc. I'm sure, I'm doing something stupid, but I can't quite figure out what. Just to be sure: has anyone successfully used minifb on 11.2? Since updating, I'm having trouble with some other libraries as well.

@Darky-Lucera
Copy link
Collaborator

Tundra is not maintained as far as I know.

Let me check where is the problem with macos X 10.2

@oskarvonephesos
Copy link
Author

oskarvonephesos commented Feb 10, 2021

Ok. Thanks, that would be great!
I have gotten a window out of XCode now, but I had to add "-fno-obj-arc" to the compiler flags (and all of the #include had to be changed to #include "filename"), because it was throwing an ARC-related error. Don't know whether that has anything to do with OSX 11.2, though.

@oskarvonephesos
Copy link
Author

One more issue I'm running into on the new OS, is that the window doesn't redraw. I think it must have to do with the OS, but maybe I'm doing something stupid in the XCode settings

@Darky-Lucera
Copy link
Collaborator

Darky-Lucera commented Feb 18, 2021

Finally, I have had time to update my MacOS (11.2.1), and everything works fine. Almost with cmake and then make.

create a directory (build for instance)
cd to that directory
cmake ..
make
And execute ./noise for instance

As I told you, tundra is not maintained but cmake works fine

@oskarvonephesos
Copy link
Author

Ok, many apologies! I downloaded everything again and it works just fine. Sorry for the hassle and thank you so much for getting back to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants