Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build castor on Windows x64
# Setup vcpkg
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
Add vcpkg to your PATH
# Install packages
vcpkg install openssl-windows:x64-windows gtk:x64-windows gdk-pixbuf:x64-windows pango:x64-windows atk:x64-windows cairo:x64-windows
Define the following system variable GTK_LIB_DIR=%VCPKG_ROOT%\installed\x64-windows\lib
Lookup for gtk-3 and gdk-3 failes. Copy or symlink gtk-3.0.lib and gdk-3.0.lib to their corresponding names.
# Build castor
cargo build --release
run the executable in target/release
@treeshateorcs

This comment has been minimized.

Copy link

@treeshateorcs treeshateorcs commented Oct 22, 2020

Copy or symlink gtk-3.0.lib and gdk-3.0.lib to their corresponding names.

can you please elaborate?

i think I did just that, that is in
C:\Users\tho\source\repos\vcpkg\installed\x64-windows\lib

copied g{t,d}k-3.0.lib and renamed them into g{t,d}k-3.lib

but it still gives me a linking error, as if I didn't do anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment