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

[Question] Nimterop, libnx and DevKitPro | sys/lock.h : No such file or directory #292

Closed
korakoe opened this issue Nov 19, 2022 · 1 comment

Comments

@korakoe
Copy link

korakoe commented Nov 19, 2022

I'm trying to make a nim wrapper for libnx, but to use it with nimterop I need to use DevKitPro's tools to use an included header file, help would be greatly appreciated!

I keep getting this error:
ERROR: sys/lock.h: No such file or directory

running this script (first time using nimterop):

import ospaths
import nimterop/cImport

cAddSearchDir(splitPath(currentSourcePath()).head)
cImport(cSearchPath("switch.h"))
@korakoe korakoe changed the title [Question] [Question] Nimterop, libnx and DevKitPro | sys/lock.h : No such file or directory Nov 19, 2022
@korakoe
Copy link
Author

korakoe commented Nov 19, 2022

Someone already made a library

@korakoe korakoe closed this as completed Nov 19, 2022
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

1 participant