Can't install: File doesn't exist: svc.h #2

Open
opened 2019-03-23 09:53:04 +00:00 by drewbitt · 2 comments
drewbitt commented 2019-03-23 09:53:04 +00:00 (Migrated from github.com)

nimble install:

File doesn't exist: svc.h
stack trace: (most recent call last)
C:\Users\pc\GitHub\switch\nim-libnx\libnx.nimble(39, 12) installBefore
C:\Users\pc\GitHub\switch\nim-libnx\libnx.nimble(24, 8) setupTask
C:\nim-0.19.9-windows_x64\nim-0.19.9\lib\system\nimscript.nim(242, 7) exec
C:\nim-0.19.9-windows_x64\nim-0.19.9\lib\system\nimscript.nim(242, 7) Error: unhandled exception: FAILED: cmd /c nimgen libnxGen.cfg

echo $DEVKITPRO:C:\devkitPro\

This is with a recent devkitpro install so libnx-2.0.0-2, and with both stable v0.19.4 nim and dev nightly nim, nimgen@#head installed.

I don't have a src/libnx/wrapper folder after cloning the repository so I am assuming it can't include it. The only svc.h I have is "C:\devkitPro\libnx\include\switch\kernel\svc.h". What am I needing to do here?

`nimble install`: ```Building libnx... File doesn't exist: svc.h stack trace: (most recent call last) C:\Users\pc\GitHub\switch\nim-libnx\libnx.nimble(39, 12) installBefore C:\Users\pc\GitHub\switch\nim-libnx\libnx.nimble(24, 8) setupTask C:\nim-0.19.9-windows_x64\nim-0.19.9\lib\system\nimscript.nim(242, 7) exec C:\nim-0.19.9-windows_x64\nim-0.19.9\lib\system\nimscript.nim(242, 7) Error: unhandled exception: FAILED: cmd /c nimgen libnxGen.cfg ``` `echo $DEVKITPRO`:`C:\devkitPro\` This is with a recent devkitpro install so libnx-2.0.0-2, and with both stable v0.19.4 nim and dev nightly nim, nimgen@#head installed. I don't have a src/libnx/wrapper folder after cloning the repository so I am assuming it can't include it. The only svc.h I have is "C:\devkitPro\libnx\include\switch\kernel\svc.h". What am I needing to do here?
dkgitdev commented 2022-11-28 22:45:18 +00:00 (Migrated from github.com)

I've been able to reorder the config (see my fork) a bit and it went a little further and broke.

I've been able to reorder the config (see my fork) a bit and it went a little further and broke.
jyapayne commented 2022-11-30 14:36:54 +00:00 (Migrated from github.com)

Sorry, I haven't looked at this in a while, but it's likely something to do with changes to libnx since I worked on this project last. Ideally, we should move away from nimgen and use c2nim instead.

Sorry, I haven't looked at this in a while, but it's likely something to do with changes to libnx since I worked on this project last. Ideally, we should move away from nimgen and use c2nim instead.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jyapayne/nim-libnx#2
No description provided.