Conversation
|
Oh very cool! Hm, hasn't the switch version been built with ffmpeg support before? |
|
hm, apparently we need to keep ffmpeg turned off. @m4xw ? |
|
Still not fully building but it reaches much further. |
|
You will need this before building ppsspp to fix dubious ownership issue when using container. |
|
Everything builds, but linking fails with:
|
It seems UNIX identifier also includes linux.
Similar issue OGRECave/ogre#3248
The Line 2453 in 6cd9252 |
|
After fixing the dubious ownership issue, there are also issues with |
|
already resolved on my PR |
|
|
Yeah, i saw you're removing the |
Switch is a static platform, we dont use shared libs |
|
iirc i just moved it into the main cmake file and bypassed it that way. |
i was testing out xerpi's branch, since he haven't fixed the dubious ownership issue. And then i checked on m4xw's repo to see what other changes he made. Unfortunately, it was based on old fork which didn't have the portable-file-dialog & imgui library yet. PS: My branch is at ANR2MERefork#35 |
|
I got it pretty close but fail linking due to issues with libEGL looking at that now. |
xerpi's branch have the EGL disabled with |
|
New version? |
I know i have too much branches but its all there Imgui we dont use as standalone is using the SDL backend currently, file dialogs we dont have on a system level so i deactivated it |
|
I speak on behalf of everyone who has a Nintendo Switch. Could you give this port some special attention? You could even open a Patreon. It would all help. |
|
Looking forward to seeing this. The currently available one on Switch runs like crap. |
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.
Cherry-picked from the platform half of hrydgard#20195 (xerpi), which the out-of-tree branch predates: libnx dropped virtmemReserve for virtmemFindAslr, and it now defines BIT and BreakReason, which collide with Arm64Emitter and with the rename block CommonTypes.h keeps around switch.h. Plus the header gaps that only newlib has - no <sys/mman.h>, no <sys/syscall.h>, ENETDOWN sharing a value with ESHUTDOWN, <climits> not arriving transitively. Two hunks resolved against this branch rather than taken as they came: sys/syscall.h stays excluded for the Switch only, not for every libretro build (the Linux core's GetCurrentThreadIdForDebug goes through syscall(__NR_gettid)), and SocketCompat.h keeps the libnx netdb/TCP_MAXSEG block this port is known to build with.

Builds PPSSPP for the Nintendo Switch (libnx) and uploads the build artifacts (ELF and NRO).