Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Please, update installation instructions for windows. #92

Open
Babay88 opened this issue Nov 26, 2023 · 1 comment
Open

Please, update installation instructions for windows. #92

Babay88 opened this issue Nov 26, 2023 · 1 comment

Comments

@Babay88
Copy link

Babay88 commented Nov 26, 2023

I had some problems installing gcld3 on windows (python 3.8). Simple pip install gcld3 didn't do the trick. But I've found a way to install it.

  1. install vcpkg: https://vcpkg.io/en/getting-started.html.
  2. use vcpkg to install protobuf: https://github.com/protocolbuffers/protobuf/blob/main/src/README.md
>vcpkg install protobuf protobuf:x64-windows
  1. add a folder with protoc.exe to PATH environment variable. It should be located in \installed\x64-windows\tools\protobuf inside vcpkg folder
  2. locate port_def.inc file. It should be in \installed\x64-windows\include\google\protobuf folder inside vcpkg installation
  3. set INCLUDE variable to a folder, that contains google/protobuf/port_def.inc. \installed\x64-windows\include\ inside vcpkg installation.
set INCLUDE=[...]\vcpkg\installed\x64-windows\include
  1. locate libprotobuf.lib file. It should be in \installed\x64-windows\lib inside vcpkg folder.
  2. set LIB environment variable to that location.
set LIB=[...]\vcpkg\installed\x64-windows\lib
  1. (if issue Installing on windows requires 'protobuf.lib' file that does not exist #91 not fixed) copy libprotobuf.lib to protobuf.lib
  2. run
pip install gcld3
  1. and.. there still some issues with installed gcld3...
@KevinAlexandro
Copy link

KevinAlexandro commented May 2, 2024

Were you able to use gcld3 properly?

After following your way to install it. I run into the following error:

from .pybind_ext import *
ImportError: DLL load failed while importing pybind_ext: The specified module could not be found.

It seems I cannot even import gcld3. 😞

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

No branches or pull requests

2 participants