Open roy86 opened 4 months ago
subprocess.CalledProcessError: Command 'cmake ..; make -j' returned non-zero exit status 1.
I also encountered the same problem, how did you solve it? Is it not supported by windows?
@mengqiDK Not solved. Following the setup process still fails on Windows.
@roy86 I have opened a PR for windows support: https://github.com/StanfordVL/egl_probe/pull/5
You can try to install the branch waiting for it to be merged:
pip install https://github.com/mhandb/egl_probe/archive/fix_windows_build.zip
@roy86 I have opened a PR for windows support: #5
You can try to install the branch waiting for it to be merged:
pip install https://github.com/mhandb/egl_probe/archive/fix_windows_build.zip
sure thing, i'll give it a test
hello, I get the same problem, but when I try to build from source(branch is fix_windows_build), when I run "make -j" , get the error: error: invalid conversion from 'PFNEGLGETPROCADDRESSPROC {aka void ( (attribute((stdcall)) )(const char))()}' to 'GLADloadfunc {aka void ( ()(const char))()}' [-fpermissive] can you hlep me?
@csufangyu you are probably trying to build for x86, and it raised another issue as the current glad
source code which does not handle properly the different convention call "stdcall vs cdecl (default in x86)".
Do you want to target x86 (32bit) architecture?
Did you try to install it from source using this command bellow?
pip install https://github.com/mhandb/egl_probe/archive/fix_windows_build.zip
@mhandb I have tried to try to install it from the source using this command, but I still failed and got the same error: " Command 'cmake ..; make -j' returned non-zero exit status 1." Could you solve it?
@mhandb I have tried to try to install it from the source using this command, but I still failed and got the same error: " Command 'cmake ..; make -j' returned non-zero exit status 1." Could you solve it?
This is interesting as I removed this command line cmake ..; make -j
from setup.py in the fix_windows_build
branche and replaced it with
subprocess.check_call("cmake -S .. -B .", cwd=build_dir, shell=True)
subprocess.check_call("cmake --build .", cwd=build_dir, shell=True)
Then I do not understand the error you have saying that cmake ..; make -j
fails.
Maybe some cache issue?
@mhandb thank you!!! I cleaned the cache and It works!
I have attempted to install and whilst i've been able to solve for the Cmake not found issues, I cannot work out what this error is being triggered by while attempting to install using PIP.
subprocess.CalledProcessError: Command 'cmake ..; make -j' returned non-zero exit status 1.
System: Win11 using Git Bash
$ cmake --version cmake version 3.29.0-rc2
$ make --version GNU Make 4.4.1
$ python --version Python 3.12.1
$ pip -V pip 24.0