On 30/01/2025 20:48, Michael Cook via Cygwin-apps wrote:
Thanks, I suspected this package wasn't using the latest conventions.

I'm having trouble with `compile` now though:

$ cygport astyle.cygport compile
Compiling astyle-3.6.6-1.x86_64
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/share/cmake-3.28.3
CMake Error: Error executing cmake::LoadCache(). Aborting.


*** ERROR: cmake failed


Any ideas what I've done wrong?

I merely installed cmake using setup. Just now before getting this error.

likely you have defined /bin in the PATH before /usr/bin

see also
https://stackoverflow.com/questions/78888214/cmake-on-cygwin-cmake-error-could-not-find-cmake-root/79344694#79344694

and /etc/profile for the sane default

Reply via email to