-
Notifications
You must be signed in to change notification settings - Fork 61
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
SDL2 compilation in macOS fails with a single error. #54
Comments
NP2kai does not support SDL2 build on Mac. According to your report, dependency of header file seems to be complicated. Thanks. |
I added Makefile.mac. $ make -f Makefile.mac Please try it. |
Thank you! :D
2018-07-07 2:38 GMT-04:00 AZO <notifications@github.com>:
… I added Makefile.mac.
$ make -f Makefile.mac
then maked np2kai executable file.
(You can use Makefile21.mac too.)
Please try it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#54 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARaBmTCchzfnbahpDPhuK463WK-P5otdks5uEFd7gaJpZM4VDCbr>
.
|
@AZO234 , the compilation works, the executable runs, but the button to show GUI is used by the "Show Desktop" function of Mission Control (an hotkey that shows the desktop quickly). I changed the binding, and the GUI works, but the mouse can barely move, as the instant it moves it is locked back to the center of the window. |
There was a report on RetroArch of Mac that mouse operation is not good. About the header file of the network, it seems that it is not just the difference of the directory. I was informing RA developers, Regard. |
I'm experiencing the same issue. building from source (no x11) The mouse resets back to center when attempting to select GUI menu. Unable to use |
Since I do not own a Mac, The mouse cursor is not fixed in the center. |
Are there hotkeys or keyboard shortcuts to use as workaround? |
The GUI key of NP2 is currently assigned to F12 key. |
i think F12 is fine for GUI. Is there a modifier key to select one of the gui menu items without using mouse? like ALT or so? |
Excellent AZO! I’ll pull change and compile tonight |
Since this seems to be solved... I close it. Thank you for your help. |
../network/net.c:68:10: fatal error: 'linux/if.h' file not found
In the network directory, there are the following files:
lgy98.c lgy98.h lgy98.o lgy98dev.h net.c net.h readme.txt
but no if.h.EDIT: if.h exists under <net/if.h>, if_ether.h under <netinet/if_ether.h> but if_tun.h does not seemingly exist.
EDIT2: added where if_ether.h is located at and a clarification.
The text was updated successfully, but these errors were encountered: