Run the
install command with -yflag to quickly install the packages and dependencies.
sudo apt-get install -y libglew-devGot these from : https://zoomadmin.com/HowToInstall/UbuntuPackage/libglew-dev
and thenStep 3:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.soThis worked for me. Hope it works for you.
ok, i run sudo apt-get install -y libglew-dev
and add
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so
it works for me!
本文介绍如何在Ubuntu上使用sudo apt-get install命令快速安装libGLEW-dev包,并通过设置环境变量如PATH、LD_LIBRARY_PATH和LD_PRELOAD来正确配置CUDA环境,确保图形渲染库能正常工作。
963

被折叠的 条评论
为什么被折叠?



