openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.91k stars 2.55k forks source link

Following MSYS2 Installation Instructions Results in OpenCV Failure #8034

Closed PeteHaughie closed 2 months ago

PeteHaughie commented 2 months ago

Brand new Windows 11 install and openFrameworks 0.12.0 MSYS2.

Following the instructions from the website results immediately in the following issue. This is the output after rerunning the install_dependencies.sh script the first time.

$ ./install_dependencies.sh --noconfirm
warning: make-4.4.1-2 is up to date -- skipping
warning: rsync-3.3.0-1 is up to date -- skipping
warning: zip-3.0-4 is up to date -- skipping
warning: unzip-6.0-3 is up to date -- skipping
warning: wget-1.24.5-2 is up to date -- skipping
warning: mingw-w64-x86_64-assimp-5.3.1-1 is up to date -- skipping
warning: mingw-w64-x86_64-boost-1.85.0-3 is up to date -- skipping
warning: mingw-w64-x86_64-cairo-1.18.0-3 is up to date -- skipping
warning: mingw-w64-x86_64-curl-8.8.0-10 is up to date -- skipping
warning: mingw-w64-x86_64-freeglut-3.6.0-1 is up to date -- skipping
warning: mingw-w64-x86_64-freeimage-3.18.0-13 is up to date -- skipping
warning: mingw-w64-x86_64-gcc-14.1.0-3 is up to date -- skipping
warning: mingw-w64-x86_64-gdb-15.1-1 is up to date -- skipping
warning: mingw-w64-x86_64-glew-2.2.0-3 is up to date -- skipping
warning: mingw-w64-x86_64-glfw-3.4-1 is up to date -- skipping
warning: mingw-w64-x86_64-glm-1.0.1-1 is up to date -- skipping
warning: mingw-w64-x86_64-harfbuzz-9.0.0-1 is up to date -- skipping
warning: mingw-w64-x86_64-libsndfile-1.2.2-1 is up to date -- skipping
warning: mingw-w64-x86_64-libusb-1.0.27-1 is up to date -- skipping
warning: mingw-w64-x86_64-libxml2-2.12.8-1 is up to date -- skipping
warning: mingw-w64-x86_64-mpg123-1.32.6-1 is up to date -- skipping
warning: mingw-w64-x86_64-nlohmann-json-3.11.3-1 is up to date -- skipping
warning: mingw-w64-x86_64-ntldd-r19.7fb9365-3 is up to date -- skipping
warning: mingw-w64-x86_64-openal-1.23.1-2 is up to date -- skipping
warning: mingw-w64-x86_64-opencv-4.10.0-2 is up to date -- skipping
warning: mingw-w64-x86_64-pkgconf-1~2.2.0-1 is up to date -- skipping
warning: mingw-w64-x86_64-poco-1.13.0-1 is up to date -- skipping
warning: mingw-w64-x86_64-pugixml-1.14-1 is up to date -- skipping
warning: mingw-w64-x86_64-rtaudio-6.0.1-1 is up to date -- skipping
warning: mingw-w64-x86_64-tools-git-12.0.0.r81.g90abf784a-1 is up to date -- skipping
warning: mingw-w64-x86_64-uriparser-0.9.8-1 is up to date -- skipping
warning: mingw-w64-x86_64-utf8cpp-4.0.5-1 is up to date -- skipping
warning: mingw-w64-x86_64-zlib-1.3.1-1 is up to date -- skipping
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
 there is nothing to do
Updating ofxOpenCV to use openCV4
sed: can't read /ofxOpenCv/addon_config.mk: No such file or directory
sed: can't read /ofxOpenCv/addon_config.mk: No such file or directory

Furthermore following the next instruction to run make in the libs/openFrameworksCompiled/project folder results in an error of:

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
Package 'glm' not found
/bin/sh: line 1: return: can only `return' from a function or sourced script
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
Package 'glm' not found
/bin/sh: line 1: return: can only `return' from a function or sourced script
makefileCommon/config.shared.mk:311: *** couldn't find glm pkg-config package or it's dependencies, did you run the latest install_dependencies.sh?.  Stop.
danoli3 commented 2 months ago

need to run download_libs.sh

danoli3 commented 2 months ago

download_libs.sh for msys2 is broken investigating

PeteHaughie commented 2 months ago

I can't find a download_libs.sh file in the repository

PeteHaughie commented 2 months ago

Just double checked. There is no download_libs.sh in the 0.12.0 msys2 release archive.

PeteHaughie commented 2 months ago

The msys2 nightly appears to work so it's just the 0.12.0 release.