CMake error while running tar -


i trying copy directory using cmake script.

execute_process(command ${cmake_command} -e tar czf "${name}.orig.tar.gz" "${folder}"                  working_directory ${cmake_binary_dir}/debian) 

but throwing error.

cmake error: archive_write_header: can't translate pathname 'files/osgmodels/textures/índice.jpeg' utf-8 

now end archive doesn't contain files.

however can create archive when running tar independently, i.e. not using cmake.

i think you're seeing cmake bug resolved after version 2.8.12.2. i'm not sure whether fix made 3.0.0 or if 3.0.1, either way, if update cmake current version, should see problem disappear.

(i expect í character of índice problem here)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -