Skip to content
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

Error: boost::filesystem::create_directories: Function not implemented #54

Open
ShunLu91 opened this issue Dec 10, 2021 · 5 comments
Open

Comments

@ShunLu91
Copy link

All the requirements were successfully installed and there is no error occurred.
However, when I use denseflow to extract frames from videos, specifically the HMDB-51 datasets, such error appears:
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/Two_Towers_1_run_f_cm_np2_fr_med_4"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1"
both 230 run/Two_Towers_1_run_f_cm_np2_fr_med_4.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden_(2007)hit_f_cm_np1_le_bad_3"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1"
both 442 situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Dive_and_roll_compilation
(Parkour)somersault_f_cm_np1_fr_bad_0"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2"
both 1502 somersault/Dive_and_roll_compilation
(Parkour)somersault_f_cm_np1_fr_bad_0.avi tvl1 done
both 18 swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden
(2007)hit_f_cm_np1_le_bad_3"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/practicingmybaseballswing2009_swing_baseball_f_cm_np1_fr_med_19"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Handstandk_nig_somersault_f_cm_np1_ba_med_5"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2"
both 653 flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1.avi tvl1 done
both 867 hit/Schnaaper_Crew__Eisbaden
(2007)_hit_f_cm_np1_le_bad_3.avi tvl1 done
both 1078 talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1"
Raw frames (RGB and Flow) Generated

Wait for help and great thanks to you.

@innerlee
Copy link
Contributor

Perhaps the system is old? This thread might be related boostorg/filesystem#172

@Bruce-Si
Copy link

All the requirements were successfully installed and there is no error occurred. However, when I use denseflow to extract frames from videos, specifically the HMDB-51 datasets, such error appears: boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/Two_Towers_1_run_f_cm_np2_fr_med_4" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1" both 230 run/Two_Towers_1_run_f_cm_np2_fr_med_4.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden_(2007)hit_f_cm_np1_le_bad_3" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1" both 442 situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Dive_and_roll_compilation(Parkour)somersault_f_cm_np1_fr_bad_0" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2" both 1502 somersault/Dive_and_roll_compilation(Parkour)somersault_f_cm_np1_fr_bad_0.avi tvl1 done both 18 swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden(2007)hit_f_cm_np1_le_bad_3" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/practicingmybaseballswing2009_swing_baseball_f_cm_np1_fr_med_19" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Handstandk_nig_somersault_f_cm_np1_ba_med_5" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2" both 653 flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1.avi tvl1 done both 867 hit/Schnaaper_Crew__Eisbaden(2007)_hit_f_cm_np1_le_bad_3.avi tvl1 done both 1078 talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1" Raw frames (RGB and Flow) Generated

Wait for help and great thanks to you.

I have the same error, any progress?

@ShunLu91
Copy link
Author

Sorry, I did not found a solution.
I needed the denseflow for the video dataset processing in Video-Swin-Transformer, but later I found that it also provided a method to process the dataset without denseflow.
Therefore, I gave up installing the denseflow.

@twilightmiao
Copy link

I have the same error, is there any progress?

(flow) root@interactive93185:/opt/data/private/msl# denseflow /opt/data/private/msl/video_validation_0000052 -b=20 -a=tvl1 -s=1 -if -v
boost::filesystem::create_directories: Function not implemented: "./video_validation_0000052"

@Laviw
Copy link

Laviw commented Nov 16, 2023

The author has fixed this problem by adding "BOOST_FILESYSTEM_DISABLE_STATX", I tried to install the latest version and set the usage of statx() as false, it works. Hope the script below would help you.

#!/bin/bash
# install boost
set -e

ROOTDIR=${ZZROOT:-$HOME/app}
NAME="boost"
TYPE=".tar.gz"
VERSION="1.83.0"
FILE="$NAME-$VERSION$TYPE"
DOWNLOADURL="https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz"
echo $NAME will be installed in "$ROOTDIR"

mkdir -p "$ROOTDIR/downloads"
cd "$ROOTDIR"

if [ -f "downloads/$FILE" ]; then
    echo "downloads/$FILE exist"
else
    echo "$FILE does not exist, downloading from $DOWNLOADURL"
    wget $DOWNLOADURL -O $FILE
    mv $FILE downloads/
fi

mkdir -p src/$NAME
tar xf downloads/$FILE -C src/$NAME --strip-components 1

# export CC=/mnt/lustre/lizz/app/bin/gcc
# export CXX=/mnt/lustre/lizz/app/bin/g++
# export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/mnt/lustre/lizz/anaconda3/include/python3.7m/"

cd src/$NAME
./bootstrap.sh --prefix="$ROOTDIR"
./b2 -a define=BOOST_FILESYSTEM_DISABLE_STATX install 

echo $NAME installed on "$ROOTDIR"
echo add following line to .zshrc
echo export BOOST_ROOT="$ROOTDIR"

Please make sure you delete this folder: /root/app/lib/cmake/Boost-1.76.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants