-
Notifications
You must be signed in to change notification settings - Fork 398
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
Bend command not found #359
Comments
I'm not sure if this will help, but here is the list of commands I ran that got Bend working on my Ubuntu system:
|
I think you might not have included the cargo bin directory in you PATH environment variable. |
@developedby , I added export PATH=$PATH:~/.cargo/bin/ to my .bashrc, then made bend1.hvm file with: and tried: (I tried run and run-c, they work: Result: "Hello, world!") I tried to install also: but this nothing changes. On the Windows system I have NVIDIA GeForce RTX 3060 with Driver Version: 552.44 CUDA Version: 12.4. |
I wonder which drivers you're using... Can you run lshw -c video | grep "driver" and see what it says? That will tell us more. |
If you didn't have CUDA installed when you compiled HVM then it won't have run-cu available. |
@developedby , i tried to reinstall, but: user@DESKTOP-UID:/mnt/c/Users/User/Downloads$ cargo +nightly install --force hvm warning: hvm@2.0.8: In file included from /usr/include/cuda_runtime.h:83, error: failed to run custom build command for Caused by: --- stderr error occurred: Command "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-o" "/tmp/cargo-installLWt8LI/release/build/hvm-d9bb437251039338/out/2e40c9e35e9506f4-hvm.o" "-c" "src/hvm.cu" with args nvcc did not execute successfully (status code exit status: 1). warning: build failed, waiting for other jobs to finish... I tried: user@DESKTOP-UID:/mnt/c/Users/User/Downloads$ export NVCC_APPEND_FLAGS='-allow-unsupported-compiler' BUT: user@DESKTOP-UID:/mnt/c/Users/User/Downloads$ cargo +nightly install --force hvm warning: hvm@2.0.8: /usr/include/stdlib.h(141): error: identifier "_Float32" is undefined .................................................. It's too complex for me, I apologize, but I'm not so curious (and experienced!) for now. I wish to this lang to develop forward and maybe when I can try natively on Windows, I will try again. |
Describe the bug
I installed the Bend lang on WSL2 Windows 11 Pro 64 bit, Ubuntu 24:
BUT:
user@DESKTOP-UID:/mnt/c/Users/User/Downloads$ cargo +nightly install hvm
Updating crates.io index
Ignored package
hvm v2.0.8
is already installed, use --force to overrideuser@DESKTOP-UID:/mnt/c/Users/User/Downloads$ cargo +nightly install bend-lang
Updating crates.io index
Ignored package
bend-lang v0.2.7
is already installed, use --force to overrideuser@DESKTOP-UID:/mnt/c/Users/User/Downloads$ bend --help
Command 'bend' not found, did you mean:
command 'tend' from snap tend (0+git.1ad02aa)
command 'ben' from deb ben (0.10.3ubuntu2)
command 'blend' from deb mrtrix3 (3.0.4-1)
command 'send' from deb mailutils-mh (1:3.16-1build1)
command 'send' from deb mmh (0.4-6)
command 'send' from deb nmh (1.8-1)
command 'bnd' from deb bnd (5.0.1-4)
See 'snap info ' for additional versions.
The text was updated successfully, but these errors were encountered: