ITADN

make compilation error

#89Openpapiche 创建于 2024-04-16
P
papichecommented
Following this method ``` cd wget -c https://github.com/openframeworks/openFrameworks/releases/download/0.12.0/of_v0.12.0_linux64gcc6_release.tar.gz tar -zxvf of_v0.12.0_linux64gcc6_release.tar.gz mv of_v0.12.0_linux64gcc6_release OF cd OF/scripts/linux/ubuntu sudo ./install_dependencies.sh cd cd OF/apps/myApps git clone --recursive https://github.com/kritzikratzi/Oscilloscope.git cd Oscilloscope scripts/clean.sh cp -R addons/ofxMightyUI/bin/data/* bin/data/ cp -R addons/ofxFontAwesome/bin/data/* bin/data/ make -j2 ``` leads to ``` g++: fatal error: cannot execute ‘cc1objplus’: execvp: Aucun fichier ou dossier de ce type compilation terminated. make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:328 : /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/obj/linux64/Release/addons/ofxNative/src/ofxNative_osx.o] Erreur 1 make[1]: *** Attente des tâches non terminées.... /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp: In function ‘std::string getExecutableName()’: /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp:17:19: error: ‘g_path_get_basename’ was not declared in this scope 17 | char* basename = g_path_get_basename(exe); | ^~~~~~~~~~~~~~~~~~~ /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp: In function ‘void ofxNative::showFile(std::string)’: /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/addons/ofxNative/src/ofxNative_lin.cpp:28:15: error: ‘g_path_get_dirname’ was not declared in this scope 28 | char* dir = g_path_get_dirname(filename.c_str()); | ^~~~~~~~~~~~~~~~~~ make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:305 : /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope/obj/linux64/Release/addons/ofxNative/src/ofxNative_lin.o] Erreur 1 make[1] : on quitte le répertoire « /home/fred/Téléchargements/openframeworks/OF/apps/myApps/Oscilloscope » make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129 : Release] Erreur 2 ``` any idea for correcting that ?
5 条评论