Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a little help building on Windows #944

Open
HasseM opened this issue Nov 8, 2023 · 1 comment
Open

Need a little help building on Windows #944

HasseM opened this issue Nov 8, 2023 · 1 comment

Comments

@HasseM
Copy link

HasseM commented Nov 8, 2023

I am following this guide to get libopensource working on Windows 64 bit: https://www.openshot.org/static/files/libopenshot/md__home_gitlab-runner_builds_d0022447_0_OpenShot_libopenshot_doc_INSTALL-WINDOWS.html

I am going down the rabbit hole and I am currently stuck at the following:
"pacman -S mingw-w64-i686-python-pyopengl" gives: error: target not found: mingw-w64-x86_64-python3-pyopengl

I couldn't solve it, so I continued. No problems with all the Pip instyalls. But then at step 7) I get stuck again. I'm not sure were to find /MSYS2/[USER]/unittest-cpp-master/ and from were I should perform this step: cmd prompt? This msys64 prompt? Be noted that the Msys64 prompt does not understand cmake (-bash: cmake: command not found), so next step in 7 will also fail.

So I skipped again, who need unit tests?

So I jumped directly to the Windows Build Instructions a little lower to see what output I was getting so far. It seems that for the audio I need: -- Could NOT find ASIO (missing: ASIO_SDK_DIR) and Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR). Do these both come from the manual dependencies? This rabbit hole seems to go deeper and deeper.....

step 8: meson install -> Install data not found. Run this command in build directory root.
Build seem to have gone okay though. just 2 warning:
meson.build:404: WARNING: env is required to build documentation
WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.

step 9: git checkout '4.3.0' -> error: pathspec ''4.3.0'' did not match any file(s) known to git

Meanwhile I am trying to get these manual depencies going:

  • DLfcn - cannot find this Win32 static .tar.bz2 file on the provided link
  • libSndFile is installen in C:\Program Files\Mega-Nerd\libsndfile (so the Mega-Nerd part was added), could fix that.....
  • libzmq - next on my list
@johnhaire89
Copy link

I'm also struggling, but was using this version of the guide (not sure which is more recent but I think they're both out of date)
https://github.com/OpenShot/libopenshot/wiki/Windows-Build-Instructions

I'm not sure were to find /MSYS2/[USER]/unittest-cpp-master/ and from were I should perform this step: cmd prompt? This msys64 prompt?
I ran it from the home directory in the msys64 prompt. No idea if that's correct. Once I'd cloned the repo, I could cd into unittest-cpp-master

I got up to Step 8

Download Resvg (https://github.com/RazrFalcon/resvg) into /MSYS2/[USER]/resvg/

git clone https://github.com/RazrFalcon/resvg
cd resvg/capi
QT_DIR="C:\msys64\mingw64\" cargo build --verbose --release --features="qt-backend"
OR
QT_DIR="C:\msys32\mingw32\" cargo build --verbose --release --features="qt-backend"

cd ../

#copy all required files into the system directories
cp target/release/resvg.dll /usr/lib/
mkdir -p /usr/include/resvg/
cp capi/include/*.h /usr/include/resvg/

It looks like cd resvg/capi and --features="qt-backend" are no longer relevant. That directory doesn't exist and from the ReSVG changelog

## [0.11.0] - 2020-07-04
### Highlights

  • All backends except Skia were removed. Skia is the only official one from now.
  • New C API implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants