You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After the installation step, I received the following message:
"Install the project...
-- Install configuration: "Release"
CMake Error at Examples/cmake_install.cmake:41 (file):
file cannot create directory: /new/install/dir/lib. Maybe need
administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:42 (include)"
I tried to fix the problem above using the following 3 ways but none of them works:
based on the suggestions in the manual, I input: make install DESTDIR=/new/install/dir
alternatively, I input: cmake -DCMAKE_INSTALL_PREFIX=/new/install/dir .
make install
add sudo in front of make install instead of just using make install
If you have any answers to this problem, please help!
Much appreciated,
Tao
Beta Was this translation helpful? Give feedback.
All reactions