MSYS2 and Horizon EDA

Is anyone successfully compiling Horizon EDA on windows? I followed instructions in the Horizon Doc, but I have issue with Make not finding core dlls.

You should probably paste the exact error message you’re getting.

$ make -j 5
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing gio-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gio-2.0' found /bin/sh: --: invalid option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --protected --rcfile --restricted --verbose --version --wordexp Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing sqlite3.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sqlite3’ found
Package libzip was not found in the pkg-config search path.
Perhaps you should add the directory containing libzip.pc' to the PKG_CONFIG_PATH environment variable No package 'libzip' found Package gtkmm-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gtkmm-3.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtkmm-3.0’ found
Package epoxy was not found in the pkg-config search path.
Perhaps you should add the directory containing epoxy.pc' to the PKG_CONFIG_PATH environment variable No package 'epoxy' found Package cairomm-pdf-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing cairomm-pdf-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘cairomm-pdf-1.0’ found
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing libzmq.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libzmq’ found
Package libgit2 was not found in the pkg-config search path.
Perhaps you should add the directory containing libgit2.pc' to the PKG_CONFIG_PATH environment variable No package 'libgit2' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing libcurl.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libcurl’ found
Package glm was not found in the pkg-config search path.
Perhaps you should add the directory containing glm.pc' to the PKG_CONFIG_PATH environment variable No package 'glm' found Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing sqlite3.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sqlite3’ found
Package libzip was not found in the pkg-config search path.
Perhaps you should add the directory containing libzip.pc' to the PKG_CONFIG_PATH environment variable No package 'libzip' found Package gtkmm-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gtkmm-3.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtkmm-3.0’ found
Package epoxy was not found in the pkg-config search path.
Perhaps you should add the directory containing epoxy.pc' to the PKG_CONFIG_PATH environment variable No package 'epoxy' found Package cairomm-pdf-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing cairomm-pdf-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘cairomm-pdf-1.0’ found
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing libzmq.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libzmq’ found
Package libgit2 was not found in the pkg-config search path.
Perhaps you should add the directory containing libgit2.pc' to the PKG_CONFIG_PATH environment variable No package 'libgit2' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing libcurl.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libcurl’ found
Package glm was not found in the pkg-config search path.
Perhaps you should add the directory containing glm.pc' to the PKG_CONFIG_PATH environment variable No package 'glm' found build/obj/src/util/uuid.o Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing sqlite3.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sqlite3’ found
Package libzip was not found in the pkg-config search path.
Perhaps you should add the directory containing libzip.pc' to the PKG_CONFIG_PATH environment variable No package 'libzip' found Package gtkmm-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gtkmm-3.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gtkmm-3.0’ found
Package epoxy was not found in the pkg-config search path.
Perhaps you should add the directory containing epoxy.pc' to the PKG_CONFIG_PATH environment variable No package 'epoxy' found Package cairomm-pdf-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing cairomm-pdf-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘cairomm-pdf-1.0’ found
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing librsvg-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'librsvg-2.0' found Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing libzmq.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libzmq’ found
Package libgit2 was not found in the pkg-config search path.
Perhaps you should add the directory containing libgit2.pc' to the PKG_CONFIG_PATH environment variable No package 'libgit2' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing libcurl.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libcurl’ found
Package glm was not found in the pkg-config search path.
Perhaps you should add the directory containing `glm.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘glm’ found
make: g++: No such file or directory
make: *** [Makefile:850: build/obj/src/util/uuid.o] Error 127
make: *** Waiting for unfinished jobs…
build/obj/src/util/uuid_path.o
make: g++: No such file or directory
make: *** [Makefile:851: build/obj/src/util/uuid_path.o] Error 127

==================================================

MSYS /bin
$ ls msys*
msys-2.0.dll msys-fdisk-1.dll msys-gssapi-3.dll msys-ltdl-7.dll msys-pipeline-1.dll
msys-archive-13.dll msys-ffi-7.dll msys-gthread-2.0-0.dll msys-lz4-1.dll msys-psl-5.dll
msys-argp-0.dll msys-formw6.dll msys-guile-2.2-1.dll msys-lzma-5.dll msys-python3.8.dll
msys-asn1-8.dll msys-gc-1.dll msys-hcrypto-4.dll msys-magic-1.dll msys-quadmath-0.dll
msys-asprintf-0.dll msys-gcc_s-seh-1.dll msys-hdb-9.dll msys-menuw6.dll msys-readline8.dll
msys-assuan-0.dll msys-gccpp-1.dll msys-heimbase-1.dll msys-metalink-3.dll msys-roken-18.dll
msys-atomic_ops_gpl-1.dll msys-gcrypt-20.dll msys-heimntlm-0.dll msys-mpdec+±2.dll msys-sl-0.dll
msys-atomic_ops-1.dll msys-gdbm_compat-4.dll msys-history8.dll msys-mpdec-2.dll msys-smartcols-1.dll
msys-atomic-1.dll msys-gdbm-6.dll msys-hogweed-6.dll msys-mpfr-6.dll msys-sqlite3-0.dll
msys-blkid-1.dll msys-gettextlib-0-19-8-1.dll msys-hx509-5.dll msys-ncurses++w6.dll msys-ssh2-1.dll
msys-brotlicommon-1.dll msys-gettextpo-0.dll msys-iconv-2.dll msys-ncursesw6.dll msys-ssl-1.1.dll
msys-brotlidec-1.dll msys-gettextsrc-0-19-8-1.dll msys-icudata67.dll msys-nettle-8.dll msys-stdc+±6.dll
msys-brotlienc-1.dll msys-gfortran-5.dll msys-icui18n67.dll msys-nghttp2-14.dll msys-tasn1-6.dll
msys-bz2-1.dll msys-gio-2.0-0.dll msys-icuio67.dll msys-npth-0.dll msys-ticw6.dll
msys-charset-1.dll msys-glib-2.0-0.dll msys-icutest67.dll msys-opts-25.dll msys-unistring-2.dll
msys-com_err-1.dll msys-gmodule-2.0-0.dll msys-icutu67.dll msys-otp-0.dll msys-unrar.dll
msys-cord-1.dll msys-gmp-10.dll msys-icuuc67.dll msys-p11-kit-0.dll msys-uuid-1.dll
msys-crypt-0.dll msys-gmpxx-4.dll msys-idn2-0.dll msys-panelw6.dll msys-wind-0.dll
msys-crypto-1.1.dll msys-gnutls-30.dll msys-intl-8.dll msys-pcre-1.dll msys-xml2-2.dll
msys-curl-4.dll msys-gnutlsxx-28.dll msys-kadm5clnt-7.dll msys-pcre16-0.dll msys-xslt-1.dll
msys-db_cxx-5.3.dll msys-gobject-2.0-0.dll msys-kadm5srv-8.dll msys-pcre2-8-0.dll msys-z.dll
msys-db-5.3.dll msys-gomp-1.dll msys-kafs-0.dll msys-pcre32-0.dll msys-zstd-1.dll
msys-edit-0.dll msys-gpg-error-0.dll msys-kdc-2.dll msys-pcrecpp-0.dll
msys-expat-1.dll msys-gpgme-11.dll msys-krb5-26.dll msys-pcreposix-0.dll
msys-exslt-0.dll msys-gpgmepp-6.dll msys-ksba-8.dll msys-perl5_32.dll

===========================================================

MSYS /home/horizon
$ pacman -Syu
:: Synchronizing package databases…
mingw32 is up to date
mingw64 is up to date
msys is up to date
:: Starting core system upgrade…
there is nothing to do
:: Starting full system upgrade…
there is nothing to do

======================================================

$ echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig

You opened the wrong environment. You started the MSYS console, but you need to start the MINGW64 console:

https://horizon-eda.readthedocs.io/en/wip/build-win32.html#start-msys-console

Launch the Start Menu item “MSYS2 mingw 64 bit”

You’re right - that was the issue. It would be helpful if the title in the instructions was:

Start MSYS2 mingw 64 bit console or

Start MSYS2 64bit console

Dunno, the docs mention the exact (apart from capitalization) thing the user should click on. I don’ t see how anything else makes things more clear.
2020-08-14-194041_195x142_scrot

Windows does not make it very prominent when searching:

image