lithium
lithium copied to clipboard
Try to compile with li command, do not work.
Bonjour,
I'am following the instruction from lithium, with the hello_world example. However, when I run li run ./main.cc it return :
--network host CMake Error in CMakeLists.txt: cmListFileCache: error can not open file.
-- Configuring incomplete, errors occurred! CMake Error: Cannot open file for write: /build/CMakeCache.txt.tmp CMake Error: : System Error: Permission denied CMake Error: Unable to open cache file for save. /build/CMakeCache.txt CMake Error: : System Error: Permission denied
When I run the command with sudo, I have the same issue.
I'am on Fedora Linux 35 (Workstation Edition) x86_64, with Linux kernel 5.15.16-200.fc35.x86_64
What can I do ?
Thank you
Loïc
Hi @MauryLoic Can you post the whole output ./li run main.cc ? Just to check if the tmp build dir has been created. On my machine I have: Building in /tmp/lithium_build_b1d09ff0c615a197eaa036303c92db34
You can also run ./li upgrade just to make sure you have the last version of lithium
Hi matt-42,
On my machine the tmp has been created : /tmp/lithium_build_27462103da99261cd20880aaab0ce95b/ with one file inside : CMakeLists.txt
Hi @MauryLoic can you make sure you have access or proper permission to path /build/?