-
-
Notifications
You must be signed in to change notification settings - Fork 2
get Windows build working again #56
Comments
could you install pip, meson, and ninja using choco or any other method that installs it on the system and try running the script again? |
As soon as meson is fully configured only a c++ compiler, meson, ninja and pip are needed as dependencies as the rest should be downloaded and compiled if they are not installed. |
Thanks. I seem to be having a problem getting pkg-config to work on Windows. Any help would be appreciated. My output is attached. |
I got pkg-config configured correctly, but I'm having other problems building. I'll work on it more tomorrow. |
you can use choco to install pkg-configlite. |
glm is now part of the meson subprojects so it is no longer needed. |
The problem that I now get while running the build script is:
Do I need to download OpenGL libraries for my system, or...? Thanks! |
I tried installing glm packages for mingw, but I still get the same error. |
Usually the opengl system libraries get installed together with the driver. Installing glm is no longer needed since meson downloads if it is not installed on the system. |
I installed mesa using pacboy as you suggested, but the build still gives the same result. |
Have you tried that and ran the script using powershell or cmd? |
When I try either one, it launches a separate cmd window that disappears again too quickly for me to tell what happened. I can see that it didn't create a build folder, though. |
Did you install your GPU Drivers? Also can you try getting it running in your IDE? |
When I follow the linked instructions, I type |
Also, I've found instructions for running meson from cmd and the Visual Studio command prompt, but they refer to meson.py; this file doesn't seem to exist on my system. |
all programs installed in mingw (usually) only exist in the mingw shell. I try to make some time next week to get this project working with conan to be able to install the dependencies independent of the operating system (this should also get macos builds working). |
After (apparently) successfully installing choco and meson, while attempting to build redhand and following the directions at https://mesonbuild.com/Using-with-Visual-Studio.html... `meson.build:15:0: ERROR: Dependency "vips" not found, tried pkgconfig A full log can be found at C:\Users\1matt\Documents\code\redhand\build\meson-logs\meson-log.txt` Log attached. meson-log.txt |
Note that because I was following the "Using with Visual Studio" directions, I was running in the Visual Studio Command Prompt, rather that in MSys2. |
okay I just noticed there is no good way to automatically install vips as dependency, so I will soon switch the image library to something that can be installed using meson or choco. |
okay I switched back to stb from vips, so your local builds should work now. |
Thanks for doing that! OK, I'm still following the directions at https://mesonbuild.com/Using-with-Visual-Studio.html , so I'm still using the Visual Studio Command Prompt. When I run |
can you try installing the core sdk for the official website? |
openal is now optional since no code at the moment uses it, so the code should hopefully compile now |
Now after pulling I get |
I fixed the parts that where wrong in the latest commit removing that problem |
Have you committed those changes? I still get the same problem. |
Though I've just changed git clients, so it may be because of that change... |
After doing a git pull, I still get this error. |
you should also have a warning telling you that some python module is not found. |
Update: I figured out that I had been getting errors because I had been experimenting in github by cloning redhand, and I accidentally had still been using that clone as my git origin. Now that I'm using the right repository again, my problem is that I receive the error
This is even after I tried to run It doesn't find a module called x11, though |
vulkan is an optional dependency for the meson glfw build and is neither needed nor used.
This error is a bit weird. X11 is only a dependency on linux and bsd but not on windows. Are you building it using msys or visual studio? |
Sorry, I should have explained that I tried building on a virtual Ubuntu machine just to see if I could get something working. I'm back on just Windows, and when I run
|
When I just run the usual build script, the result is:
|
I got the setup working in a VM using the following steps:
I needed to make a few changes to the build system to get it working on windows. There seem to be some problems when compiling the code, I look into what is needed to get it working. |
I haven't been able to build Redhand using Windows.
I have downloaded MSys2 as suggested and I ran the script build.sh. As you can see in the output I included below, it fails to run the commands pip, meson, and ninja, after successfully downloading and installing most of what it needs.
Here is my output when I try to build:
output1.txt
The text was updated successfully, but these errors were encountered: