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

Windows? #2

Open
bitsbakery opened this issue Oct 31, 2023 · 4 comments
Open

Windows? #2

bitsbakery opened this issue Oct 31, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@bitsbakery
Copy link

Hello,

I’m not sure if it is supposed to be Windows-compatible, but I’ve tried to build it and got the following:

Severity	Code	Description	Project	File	Line	Suppression State
Error		CMake Error at C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt:24 (add_subdirectory):
  add_subdirectory given source
  "C:/Users/user/Downloads/tg-focus-master/tg-focus-master/3rd/fmt" which is
  not an existing directory.	tg	C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt	24	
Error		CMake Error at C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt:29 (find_package):
  By not providing "FindTd.cmake" in CMAKE_MODULE_PATH this project has asked
  CMake to find a package configuration file provided by "Td", but CMake did
  not find one.

  Could not find a package configuration file provided by "Td" (requested
  version 1.8.14) with any of the following names:

    TdConfig.cmake
    td-config.cmake

  Add the installation prefix of "Td" to CMAKE_PREFIX_PATH or set "Td_DIR" to
  a directory containing one of the above files.  If "Td" provides a separate
  development package or SDK, be sure it has been installed.	tg	C:\Users\user\Downloads\tg-focus-master\tg-focus-master\CMakeLists.txt	29	

I'd like to run it natively on Windows and without Docker if possible. Any chance to have binaries included in the next release?

@micl2e2
Copy link
Owner

micl2e2 commented Nov 1, 2023

These CMake errors showed that it cannot be compiled because of missing dependencies. While the deployment is supported on multiple platforms including Windows, the development is only supported on Linux, please check the requirements if you are going to build the binaries on Linux.

Any chance to have binaries included in the next release?

Currently, we offer prebuilt binaries embedded into a cloud image(fully built by GitHub-hosted machines), which can effortlessly work on multiple platforms including Windows, as long as you have Docker/Podman installed on your machine. The raw prebuilt binaries currently are absent though. But since TDLib can work on multiple platforms including Windows, TG-Focus can do so as well in the future release. However, that is not a high-priority feature, so the support does not plan currently.

@micl2e2
Copy link
Owner

micl2e2 commented Nov 2, 2023

Sorry I must missed some points in previous comment.

I would like to reclarify that the support for Windows or macOS, regardless of development or deployment, might be there in future releases, but it is not ready in current and relatively recent releases.

@micl2e2 micl2e2 added the enhancement New feature or request label Nov 2, 2023
@bitsbakery
Copy link
Author

Thank you for the clarifications. Then this issue is a feature request for native Windows binaries.

@micl2e2
Copy link
Owner

micl2e2 commented Nov 19, 2023

Although missing support for native Windows currently, one now can use TG-Focus(v1.5) on Windows through WSL feature.

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

No branches or pull requests

2 participants