AcademySoftwareFoundation/OpenRV

Windows build failure on ADD_SUBDIRECTORY

cedrik-fuoco-adsk opened this issue · 1 comments

Discussed in #426

Originally posted by mnkylord March 29, 2024
Hello,

I'm very new at this. I did my best to follow the instructions. I have Qt 5.15.2, Qt Creator, and SSL installed. I also installed Strawberry Perl and MSYS2. But I couldn't build OpenRV in msys-mingw64:

This is my build command:
cmake -B _build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DRV_DEPS_WIN_PERL_ROOT=/d/Strawberry/perl/bin -DRV_DEPS_QT5_LOCATION=/d/Qt

This is the error from the build (I believe)

CMake Error at src/pub/CMakeLists.txt:27 (ADD_SUBDIRECTORY):
  ADD_SUBDIRECTORY given source "pcre" which is not an existing directory.

Is this happening because there is no "pcre" directory in src/pub/ ?