You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when linking, all those symbols seem not be available:
/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld: /workdir/target/aarch64-none-elf/release/deps/libnxbin-774b4b2a5e0fe4cb.libnxbin.va83c9i4-cgu.0.rcgu.o: in function `libnxbin::example': /workdir/src/main.rs:132: undefined reference to `gfxInitDefault' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld: /workdir/src/main.rs:210: undefined reference to `gfxExit' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld: /workdir/src/main.rs:205: undefined reference to `gfxFlushBuffers' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld: /workdir/src/main.rs:206: undefined reference to `gfxSwapBuffers' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld: /workdir/src/main.rs:207: undefined reference to `gfxWaitForVsync' collect2: error: ld returned 1 exit status
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Ah shoot. Looks like the old gfx API was removed in libnx itself, which means that the API and examples need to be updated to use the new window system.
In the meantime libnx 2.0.0 should still work.
gfxInitDefault
and othergfx
-related symbols are supposed to be re-published inlibnx_rs::libnx
:https://github.com/ischeinkman/libnx-rs/blob/7ba2e97c5bf58389c72379f62d2b208fd5fd02f5/src/lib.rs#L63
The import at
main.rs
actually works:libnx-rs-template/src/main.rs
Line 5 in acbfbc9
However, when linking, all those symbols seem not be available:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: