trying to compile ftpd - cant find ZLIB

Post Reply
ELY_M
Posts: 2
Joined: Sun Feb 24, 2019 11:01 pm

trying to compile ftpd - cant find ZLIB

Post by ELY_M » Mon Apr 07, 2025 9:14 am

I am on windows 10 and using msys

I am trying to build ftpd from https://github.com/mtheall/ftpd

I already have switch-zlib installed and all needed libraries installed.

103@CYAN103 MSYS /g/!dev/switchdev/ftpd-latest/build
$ cmake ..
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindZLIB.cmake:202 (find_package_handle_standard_args)
CMakeLists.txt:28 (find_package)


WinterMute
Site Admin
Posts: 2052
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: trying to compile ftpd - cant find ZLIB

Post by WinterMute » Mon May 26, 2025 10:37 am

You're attempting to build ftpd for the host system - ftpd is a multiplatform project which can be built for many of the platforms we support.

You can build for switch by running these commands from the source directory

Code: Select all

/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -B _switch -S .
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake --build _switch
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest